summaryrefslogtreecommitdiffstats
path: root/panels/sound/cc-device-combo-box.ui
blob: e54f292f0c6d67c8537c5e179452d8301b29e410 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <!-- interface-requires gtk+ 3.0 -->
  <template class="CcDeviceComboBox" parent="GtkComboBox">
    <property name="model">device_model</property>
    <child>
      <object class="GtkCellRendererPixbuf">
        <property name="xpad">6</property>
      </object>
      <attributes>
        <attribute name="icon-name">1</attribute>
      </attributes>
    </child>
    <child>
      <object class="GtkCellRendererText">
        <property name="ellipsize">end</property>
      </object>
      <attributes>
        <attribute name="text">0</attribute>
      </attributes>
    </child>
  </template>
  <object class="GtkListStore" id="device_model">
    <columns>
      <!-- column-name title -->
      <column type="gchararray"/>
      <!-- column-name icon -->
      <column type="gchararray"/>
      <!-- column-name id -->
      <column type="guint"/>
    </columns>
  </object>
</interface>