| |
1 <?xml version="1.0" encoding="UTF-8"?> |
| |
2 <!-- |
| |
3 Pidgin - Internet Messenger |
| |
4 Copyright (C) Pidgin Developers <devel@pidgin.im> |
| |
5 |
| |
6 This program is free software; you can redistribute it and/or |
| |
7 modify it under the terms of the GNU General Public License |
| |
8 as published by the Free Software Foundation; either version 2 |
| |
9 of the License, or (at your option) any later version. |
| |
10 |
| |
11 This program is distributed in the hope that it will be useful, |
| |
12 but WITHOUT ANY WARRANTY; without even the implied warranty of |
| |
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| |
14 GNU General Public License for more details. |
| |
15 |
| |
16 You should have received a copy of the GNU General Public License |
| |
17 along with this program; if not, see <https://www.gnu.org/licenses/>. |
| |
18 --> |
| |
19 <interface> |
| |
20 <requires lib="gtk" version="4.0"/> |
| |
21 <!-- interface-license-type gplv2 --> |
| |
22 <!-- interface-name Pidgin --> |
| |
23 <!-- interface-description Internet Messenger --> |
| |
24 <!-- interface-copyright Pidgin Developers <devel@pidgin.im> --> |
| |
25 <template class="PidginAccountRow" parent="AdwComboRow"> |
| |
26 <property name="title" translatable="1">Account</property> |
| |
27 <property name="factory"> |
| |
28 <object class="GtkBuilderListItemFactory"> |
| |
29 <property name="bytes"> |
| |
30 <![CDATA[ |
| |
31 <?xml version="1.0" encoding="UTF-8"?> |
| |
32 <interface> |
| |
33 <template class="GtkListItem"> |
| |
34 <property name="child"> |
| |
35 <object class="PidginAccountDisplay"> |
| |
36 <binding name="account"> |
| |
37 <lookup name="item">GtkListItem</lookup> |
| |
38 </binding> |
| |
39 </object> |
| |
40 </property> |
| |
41 </template> |
| |
42 </interface> |
| |
43 ]]> |
| |
44 </property> |
| |
45 </object> |
| |
46 </property> |
| |
47 <property name="model"> |
| |
48 <object class="GtkFilterListModel" id="filter"/> |
| |
49 </property> |
| |
50 <signal name="notify::selected" handler="pidgin_account_row_changed_cb"/> |
| |
51 </template> |
| |
52 </interface> |