| 22 <requires lib="gtk" version="4.0"/> |
22 <requires lib="gtk" version="4.0"/> |
| 23 <!-- interface-license-type gplv2 --> |
23 <!-- interface-license-type gplv2 --> |
| 24 <!-- interface-name Pidgin --> |
24 <!-- interface-name Pidgin --> |
| 25 <!-- interface-description Internet Messenger --> |
25 <!-- interface-description Internet Messenger --> |
| 26 <!-- interface-copyright Pidgin Developers <devel@pidgin.im> --> |
26 <!-- interface-copyright Pidgin Developers <devel@pidgin.im> --> |
| 27 <template class="PidginStatusPrimitiveChooser" parent="GtkComboBox"> |
27 <template class="PidginStatusPrimitiveChooser" parent="AdwBin"> |
| 28 <property name="id-column">0</property> |
28 <property name="child"> |
| 29 <child> |
29 <object class="GtkDropDown" id="chooser"> |
| 30 <object class="GtkCellRendererPixbuf"/> |
30 <property name="factory"> |
| 31 <attributes> |
31 <object class="GtkBuilderListItemFactory"> |
| 32 <attribute name="icon-name">1</attribute> |
32 <property name="bytes"> |
| 33 </attributes> |
33 <![CDATA[ |
| 34 </child> |
34 <?xml version="1.0" encoding="UTF-8"?> |
| 35 <child> |
35 <interface> |
| 36 <object class="GtkCellRendererText"/> |
36 <template class="GtkListItem"> |
| 37 <attributes> |
37 <property name="child"> |
| 38 <attribute name="markup">2</attribute> |
38 <object class="GtkBox"> |
| 39 </attributes> |
39 <property name="orientation">horizontal</property> |
| 40 </child> |
40 <property name="spacing">6</property> |
| |
41 <child> |
| |
42 <object class="GtkImage"> |
| |
43 <binding name="icon-name"> |
| |
44 <closure type="gchararray" function="pidgin_status_primitive_chooser_icon_name_cb"> |
| |
45 <lookup name="item">GtkListItem</lookup> |
| |
46 </closure> |
| |
47 </binding> |
| |
48 </object> |
| |
49 </child> |
| |
50 <child> |
| |
51 <object class="GtkLabel"> |
| |
52 <property name="xalign">0</property> |
| |
53 <binding name="label"> |
| |
54 <closure type="gchararray" function="pidgin_status_primitive_chooser_label_cb"> |
| |
55 <lookup name="item">GtkListItem</lookup> |
| |
56 </closure> |
| |
57 </binding> |
| |
58 </object> |
| |
59 </child> |
| |
60 </object> |
| |
61 </property> |
| 41 </template> |
62 </template> |
| 42 </interface> |
63 </interface> |
| |
64 ]]> |
| |
65 </property> |
| |
66 </object> |
| |
67 </property> |
| |
68 <property name="model"> |
| |
69 <object class="GtkStringList"> |
| |
70 <items> |
| |
71 <item>offline</item> |
| |
72 <item>available</item> |
| |
73 <item>unavailable</item> |
| |
74 <item>invisible</item> |
| |
75 <item>away</item> |
| |
76 <item>extended-away</item> |
| |
77 </items> |
| |
78 </object> |
| |
79 </property> |
| |
80 </object> |
| |
81 </property> |
| |
82 </template> |
| |
83 </interface> |