pidgin/resources/contactlistitem.ui

Mon, 30 Jun 2025 14:22:13 -0500

author
Gary Kramlich <grim@reaperworld.com>
date
Mon, 30 Jun 2025 14:22:13 -0500
changeset 43269
1523eab3b5a0
parent 42516
9ac4a8394577
permissions
-rw-r--r--

Update the flatpak to gnome 48 and to the matching birb version

The birb version was missed here when it was updated.

Testing Done:
Built the flatpak with the instructions in the readme.

Reviewed at https://reviews.imfreedom.org/r/4038/

42516
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
2 <!--
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
3 Pidgin - Internet Messenger
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
4 Copyright (C) Pidgin Developers <devel@pidgin.im>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
5
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
6 This program is free software; you can redistribute it and/or
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
7 modify it under the terms of the GNU General Public License
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
8 as published by the Free Software Foundation; either version 2
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
9 of the License, or (at your option) any later version.
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
10
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
11 This program is distributed in the hope that it will be useful,
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
14 GNU General Public License for more details.
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
15
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
16 You should have received a copy of the GNU General Public License
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
17 along with this library; if not, see <https://www.gnu.org/licenses/>.
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
18 -->
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
19 <interface>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
20 <template class="GtkListItem">
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
21 <property name="child">
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
22 <object class="GtkBox">
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
23 <property name="orientation">horizontal</property>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
24 <property name="spacing">6</property>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
25 <child>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
26 <object class="GtkGestureClick">
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
27 <property name="button">3</property>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
28 <signal name="released" handler="pidgin_contact_list_context_cb"/>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
29 </object>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
30 </child>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
31 <child>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
32 <!-- switch to a PidginAvatar when that can take a PurpleAvatar -->
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
33 <object class="GtkImage" id="avatar">
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
34 <property name="icon-size">large</property>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
35 <binding name="paintable">
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
36 <closure type="GdkTexture" function="pidgin_contact_list_avatar_cb">
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
37 <lookup name="item">GtkListItem</lookup>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
38 </closure>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
39 </binding>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
40 </object>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
41 </child>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
42 <child>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
43 <object class="GtkBox">
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
44 <property name="hexpand">1</property>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
45 <property name="orientation">vertical</property>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
46 <property name="vexpand">1</property>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
47 <property name="valign">center</property>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
48 <child>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
49 <object class="GtkBox">
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
50 <property name="orientation">horizontal</property>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
51 <child>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
52 <object class="GtkLabel">
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
53 <property name="xalign">0</property>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
54 <property name="use-markup">1</property>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
55 <binding name="label">
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
56 <lookup name="name-for-display" type="PurplePerson">
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
57 <lookup name="item">GtkListItem</lookup>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
58 </lookup>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
59 </binding>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
60 </object>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
61 </child>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
62 <child>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
63 <object class="GtkLabel">
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
64 <property name="xalign">0</property>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
65 <binding name="label">
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
66 <closure type="gchararray" function="pidgin_contact_list_get_primitive_as_string">
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
67 <lookup name="presence" type="PurpleContactInfo">
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
68 <lookup name="priority-contact-info" type="PurplePerson">
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
69 <lookup name="item">GtkListItem</lookup>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
70 </lookup>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
71 </lookup>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
72 </closure>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
73 </binding>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
74 </object>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
75 </child>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
76 </object>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
77 </child>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
78 <child>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
79 <object class="GtkLabel" id="status_message">
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
80 <style>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
81 <class name="dim-label"/>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
82 </style>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
83 <property name="xalign">0</property>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
84 <property name="ellipsize">end</property>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
85 <binding name="label">
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
86 <lookup name="message" type="PurplePresence">
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
87 <lookup name="presence" type="PurpleContactInfo">
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
88 <lookup name="priority-contact-info" type="PurplePerson">
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
89 <lookup name="item">GtkListItem</lookup>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
90 </lookup>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
91 </lookup>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
92 </lookup>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
93 </binding>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
94 <binding name="visible">
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
95 <closure type="gboolean" function="pidgin_contact_list_message_visible_cb">
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
96 <lookup name="message" type="PurplePresence">
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
97 <lookup name="presence" type="PurpleContactInfo">
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
98 <lookup name="priority-contact-info" type="PurplePerson">
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
99 <lookup name="item">GtkListItem</lookup>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
100 </lookup>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
101 </lookup>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
102 </lookup>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
103 </closure>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
104 </binding>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
105 </object>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
106 </child>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
107 </object>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
108 </child>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
109 </object>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
110 </property>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
111 </template>
9ac4a8394577 Move the contact list item to its own ui file
Gary Kramlich <grim@reaperworld.com>
parents:
diff changeset
112 </interface>

mercurial