| 1 <?xml version="1.0" encoding="UTF-8"?> |
|
| 2 <!-- Generated with glade 3.38.2 |
|
| 3 |
|
| 4 Pidgin - Internet Messenger |
|
| 5 Copyright (C) Pidgin Developers <devel@pidgin.im> |
|
| 6 |
|
| 7 This program is free software; you can redistribute it and/or |
|
| 8 modify it under the terms of the GNU General Public License |
|
| 9 as published by the Free Software Foundation; either version 2 |
|
| 10 of the License, or (at your option) any later version. |
|
| 11 |
|
| 12 This program is distributed in the hope that it will be useful, |
|
| 13 but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
| 14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
| 15 GNU General Public License for more details. |
|
| 16 |
|
| 17 You should have received a copy of the GNU Lesser General Public |
|
| 18 License along with this library; if not, see <https://www.gnu.org/licenses/>. |
|
| 19 |
|
| 20 --> |
|
| 21 <interface> |
|
| 22 <requires lib="gtk" version="4.0"/> |
|
| 23 <!-- interface-license-type gplv2 --> |
|
| 24 <!-- interface-name Pidgin --> |
|
| 25 <!-- interface-description Internet Messenger --> |
|
| 26 <!-- interface-copyright Pidgin Developers <devel@pidgin.im> --> |
|
| 27 <template class="PidginStatusManager" parent="GtkDialog"> |
|
| 28 <property name="title" translatable="1">Saved Statuses</property> |
|
| 29 <property name="default-width">550</property> |
|
| 30 <property name="default-height">250</property> |
|
| 31 <signal name="response" handler="pidgin_status_manager_response_cb" swapped="no"/> |
|
| 32 <child internal-child="content_area"> |
|
| 33 <object class="GtkScrolledWindow"> |
|
| 34 <property name="vexpand">1</property> |
|
| 35 <property name="focusable">1</property> |
|
| 36 <child> |
|
| 37 <object class="GtkColumnView" id="columnview"> |
|
| 38 <property name="focusable">1</property> |
|
| 39 <property name="model"> |
|
| 40 <object class="GtkSingleSelection" id="selection"> |
|
| 41 <property name="model"> |
|
| 42 <object class="GtkSortListModel"> |
|
| 43 <property name="model"> |
|
| 44 <object class="GListStore" id="model"> |
|
| 45 <property name="item-type">GObject</property> |
|
| 46 </object> |
|
| 47 </property> |
|
| 48 <binding name="sorter"> |
|
| 49 <lookup name="sorter">columnview</lookup> |
|
| 50 </binding> |
|
| 51 </object> |
|
| 52 </property> |
|
| 53 <signal name="notify::selected" handler="pidgin_status_manager_selection_changed_cb" swapped="no"/> |
|
| 54 </object> |
|
| 55 </property> |
|
| 56 <property name="vexpand">1</property> |
|
| 57 <signal name="activate" handler="pidgin_status_manager_row_activated_cb" swapped="no"/> |
|
| 58 <child> |
|
| 59 <object class="GtkColumnViewColumn"> |
|
| 60 <property name="resizable">1</property> |
|
| 61 <property name="title" translatable="1">Title</property> |
|
| 62 <property name="factory"> |
|
| 63 <object class="GtkBuilderListItemFactory"> |
|
| 64 <property name="bytes"> |
|
| 65 <![CDATA[ |
|
| 66 <?xml version="1.0" encoding="UTF-8"?> |
|
| 67 <interface> |
|
| 68 <template class="GtkListItem"> |
|
| 69 <property name="child"> |
|
| 70 <object class="GtkLabel"> |
|
| 71 <property name="ellipsize">end</property> |
|
| 72 <property name="xalign">0</property> |
|
| 73 <binding name="label"> |
|
| 74 <closure type="gchararray" function="pidgin_status_manager_lookup_text_data_cb"> |
|
| 75 <lookup name="item">GtkListItem</lookup> |
|
| 76 <constant type="gchararray">title</constant> |
|
| 77 </closure> |
|
| 78 </binding> |
|
| 79 </object> |
|
| 80 </property> |
|
| 81 </template> |
|
| 82 </interface> |
|
| 83 ]]> |
|
| 84 </property> |
|
| 85 </object> |
|
| 86 </property> |
|
| 87 <property name="sorter"> |
|
| 88 <object class="GtkStringSorter"> |
|
| 89 <property name="expression"> |
|
| 90 <closure type="gchararray" function="pidgin_status_manager_sort_data_cb"> |
|
| 91 <constant type="gchararray">title</constant> |
|
| 92 </closure> |
|
| 93 </property> |
|
| 94 </object> |
|
| 95 </property> |
|
| 96 </object> |
|
| 97 </child> |
|
| 98 <child> |
|
| 99 <object class="GtkColumnViewColumn"> |
|
| 100 <property name="resizable">1</property> |
|
| 101 <property name="title" translatable="1">Type</property> |
|
| 102 <property name="factory"> |
|
| 103 <object class="GtkBuilderListItemFactory"> |
|
| 104 <property name="bytes"> |
|
| 105 <![CDATA[ |
|
| 106 <?xml version="1.0" encoding="UTF-8"?> |
|
| 107 <interface> |
|
| 108 <template class="GtkListItem"> |
|
| 109 <property name="child"> |
|
| 110 <object class="PidginStatusDisplay"> |
|
| 111 <binding name="primitive"> |
|
| 112 <closure type="PurpleStatusPrimitive" function="pidgin_status_manager_lookup_primitive_cb"> |
|
| 113 <lookup name="item">GtkListItem</lookup> |
|
| 114 </closure> |
|
| 115 </binding> |
|
| 116 </object> |
|
| 117 </property> |
|
| 118 </template> |
|
| 119 </interface> |
|
| 120 ]]> |
|
| 121 </property> |
|
| 122 </object> |
|
| 123 </property> |
|
| 124 <property name="sorter"> |
|
| 125 <object class="GtkStringSorter"> |
|
| 126 <property name="expression"> |
|
| 127 <closure type="gchararray" function="pidgin_status_manager_sort_data_cb"> |
|
| 128 <constant type="gchararray">type</constant> |
|
| 129 </closure> |
|
| 130 </property> |
|
| 131 </object> |
|
| 132 </property> |
|
| 133 </object> |
|
| 134 </child> |
|
| 135 <child> |
|
| 136 <object class="GtkColumnViewColumn"> |
|
| 137 <property name="expand">1</property> |
|
| 138 <property name="resizable">1</property> |
|
| 139 <property name="title" translatable="1">Message</property> |
|
| 140 <property name="factory"> |
|
| 141 <object class="GtkBuilderListItemFactory"> |
|
| 142 <property name="bytes"> |
|
| 143 <![CDATA[ |
|
| 144 <?xml version="1.0" encoding="UTF-8"?> |
|
| 145 <interface> |
|
| 146 <template class="GtkListItem"> |
|
| 147 <property name="child"> |
|
| 148 <object class="GtkLabel"> |
|
| 149 <property name="xalign">0</property> |
|
| 150 <property name="ellipsize">end</property> |
|
| 151 <binding name="label"> |
|
| 152 <closure type="gchararray" function="pidgin_status_manager_lookup_text_data_cb"> |
|
| 153 <lookup name="item">GtkListItem</lookup> |
|
| 154 <constant type="gchararray">message</constant> |
|
| 155 </closure> |
|
| 156 </binding> |
|
| 157 </object> |
|
| 158 </property> |
|
| 159 </template> |
|
| 160 </interface> |
|
| 161 ]]> |
|
| 162 </property> |
|
| 163 </object> |
|
| 164 </property> |
|
| 165 <property name="sorter"> |
|
| 166 <object class="GtkStringSorter"> |
|
| 167 <property name="expression"> |
|
| 168 <closure type="gchararray" function="pidgin_status_manager_sort_data_cb"> |
|
| 169 <constant type="gchararray">message</constant> |
|
| 170 </closure> |
|
| 171 </property> |
|
| 172 </object> |
|
| 173 </property> |
|
| 174 </object> |
|
| 175 </child> |
|
| 176 </object> |
|
| 177 </child> |
|
| 178 </object> |
|
| 179 </child> |
|
| 180 <child type="action"> |
|
| 181 <object class="GtkButton" id="use_button"> |
|
| 182 <property name="label" translatable="1">_Use</property> |
|
| 183 <property name="sensitive">0</property> |
|
| 184 <property name="focusable">1</property> |
|
| 185 <property name="receives-default">1</property> |
|
| 186 <property name="use-underline">1</property> |
|
| 187 </object> |
|
| 188 </child> |
|
| 189 <child type="action"> |
|
| 190 <object class="GtkButton" id="button1"> |
|
| 191 <property name="label" translatable="1">_Add</property> |
|
| 192 <property name="focusable">1</property> |
|
| 193 <property name="receives-default">1</property> |
|
| 194 <property name="use-underline">1</property> |
|
| 195 </object> |
|
| 196 </child> |
|
| 197 <child type="action"> |
|
| 198 <object class="GtkButton" id="modify_button"> |
|
| 199 <property name="label" translatable="1">_Modify</property> |
|
| 200 <property name="sensitive">0</property> |
|
| 201 <property name="focusable">1</property> |
|
| 202 <property name="receives-default">1</property> |
|
| 203 <property name="use-underline">1</property> |
|
| 204 </object> |
|
| 205 </child> |
|
| 206 <child type="action"> |
|
| 207 <object class="GtkButton" id="remove_button"> |
|
| 208 <property name="label" translatable="1">_Remove</property> |
|
| 209 <property name="sensitive">0</property> |
|
| 210 <property name="focusable">1</property> |
|
| 211 <property name="receives-default">1</property> |
|
| 212 <property name="use-underline">1</property> |
|
| 213 </object> |
|
| 214 </child> |
|
| 215 <child type="action"> |
|
| 216 <object class="GtkButton" id="button2"> |
|
| 217 <property name="label" translatable="1">_Close</property> |
|
| 218 <property name="focusable">1</property> |
|
| 219 <property name="receives-default">1</property> |
|
| 220 <property name="use-underline">1</property> |
|
| 221 </object> |
|
| 222 </child> |
|
| 223 <action-widgets> |
|
| 224 <action-widget response="0">use_button</action-widget> |
|
| 225 <action-widget response="1">button1</action-widget> |
|
| 226 <action-widget response="2">modify_button</action-widget> |
|
| 227 <action-widget response="3">remove_button</action-widget> |
|
| 228 <action-widget response="close">button2</action-widget> |
|
| 229 </action-widgets> |
|
| 230 </template> |
|
| 231 </interface> |
|