Fri, 13 Jan 2023 00:55:50 -0600
Create a new PidginContactList widget that shows the PurplePersons that PurpleContactManager is tracking
This has a few caveats with it.
First of all, we're using closures just to make stuff work for now since we can't bind properties. A side effect of that, is that the list won't update when the property changes on the Person/Contact. That will be fixed later as we clean up a bunch of stuff like porting PidginAvatar to PurpleAvatar.
For the text, I skipped the status messages and idle times for now because they won't update as their not bound properties and will require cleaning up the status API to make that work at all.
Person/Contact don't have a `name-for-display` property, so right now that's implemented as a closure as well.
I also skipped search and sorting for now, to keep the review size small.
Regardless, this looks pretty snazzy if I do say so!
Testing Done:
Ran the program and verified stuff was working.
Reviewed at https://reviews.imfreedom.org/r/2146/
|
40577
953d563429b8
Create a new PidginConversationWindow widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
1 | <?xml version="1.0" encoding="UTF-8"?> |
|
41527
4dff8cd4e9ea
Convert PidginConversationWindow to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41476
diff
changeset
|
2 | <!-- |
|
40577
953d563429b8
Create a new PidginConversationWindow widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
3 | Pidgin - Internet Messenger |
|
953d563429b8
Create a new PidginConversationWindow widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
4 | Copyright (C) Pidgin Developers <devel@pidgin.im> |
|
953d563429b8
Create a new PidginConversationWindow widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
5 | |
|
953d563429b8
Create a new PidginConversationWindow widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
6 | This program is free software; you can redistribute it and/or |
|
953d563429b8
Create a new PidginConversationWindow widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
7 | modify it under the terms of the GNU General Public License |
|
953d563429b8
Create a new PidginConversationWindow widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
8 | as published by the Free Software Foundation; either version 2 |
|
953d563429b8
Create a new PidginConversationWindow widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
9 | of the License, or (at your option) any later version. |
|
953d563429b8
Create a new PidginConversationWindow widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
10 | |
|
953d563429b8
Create a new PidginConversationWindow widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
11 | This program is distributed in the hope that it will be useful, |
|
953d563429b8
Create a new PidginConversationWindow widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
12 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
953d563429b8
Create a new PidginConversationWindow widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
953d563429b8
Create a new PidginConversationWindow widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
14 | GNU General Public License for more details. |
|
953d563429b8
Create a new PidginConversationWindow widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
15 | |
|
953d563429b8
Create a new PidginConversationWindow widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
16 | You should have received a copy of the GNU General Public License |
|
41527
4dff8cd4e9ea
Convert PidginConversationWindow to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41476
diff
changeset
|
17 | along with this library; if not, see <https://www.gnu.org/licenses/>. |
|
40577
953d563429b8
Create a new PidginConversationWindow widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
18 | --> |
|
953d563429b8
Create a new PidginConversationWindow widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
19 | <interface> |
|
41527
4dff8cd4e9ea
Convert PidginConversationWindow to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41476
diff
changeset
|
20 | <requires lib="gtk" version="4.0"/> |
|
41557
479fdb903b82
Convert the conversations status page to adwaita
Gary Kramlich <grim@reaperworld.com>
parents:
41527
diff
changeset
|
21 | <requires lib="Adw" version="1.0"/> |
|
41223
e75da8f45164
Add the status box to the conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
41184
diff
changeset
|
22 | <requires lib="pidgin" version="3.0"/> |
|
40577
953d563429b8
Create a new PidginConversationWindow widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
23 | <!-- interface-license-type gplv2 --> |
|
953d563429b8
Create a new PidginConversationWindow widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
24 | <!-- interface-name Pidgin --> |
|
953d563429b8
Create a new PidginConversationWindow widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
25 | <!-- interface-description Internet Messenger --> |
|
953d563429b8
Create a new PidginConversationWindow widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
26 | <!-- interface-copyright Pidgin Developers <devel@pidgin.im> --> |
|
41184
05b5c210352b
Move conversation management from gtkconv.c to PidginConversationWindow.
Gary Kramlich <grim@reaperworld.com>
parents:
40824
diff
changeset
|
27 | <object class="GtkTreeStore" id="model"> |
|
05b5c210352b
Move conversation management from gtkconv.c to PidginConversationWindow.
Gary Kramlich <grim@reaperworld.com>
parents:
40824
diff
changeset
|
28 | <columns> |
|
05b5c210352b
Move conversation management from gtkconv.c to PidginConversationWindow.
Gary Kramlich <grim@reaperworld.com>
parents:
40824
diff
changeset
|
29 | <!-- column-name conversation --> |
|
05b5c210352b
Move conversation management from gtkconv.c to PidginConversationWindow.
Gary Kramlich <grim@reaperworld.com>
parents:
40824
diff
changeset
|
30 | <column type="GObject"/> |
|
41441
e114ed471a1e
Implement the UI for the new Notifications API.
Gary Kramlich <grim@reaperworld.com>
parents:
41223
diff
changeset
|
31 | <!-- column-name name --> |
|
e114ed471a1e
Implement the UI for the new Notifications API.
Gary Kramlich <grim@reaperworld.com>
parents:
41223
diff
changeset
|
32 | <column type="gchararray"/> |
|
41184
05b5c210352b
Move conversation management from gtkconv.c to PidginConversationWindow.
Gary Kramlich <grim@reaperworld.com>
parents:
40824
diff
changeset
|
33 | <!-- column-name icon --> |
|
05b5c210352b
Move conversation management from gtkconv.c to PidginConversationWindow.
Gary Kramlich <grim@reaperworld.com>
parents:
40824
diff
changeset
|
34 | <column type="GdkPixbuf"/> |
|
05b5c210352b
Move conversation management from gtkconv.c to PidginConversationWindow.
Gary Kramlich <grim@reaperworld.com>
parents:
40824
diff
changeset
|
35 | <!-- column-name markup --> |
|
05b5c210352b
Move conversation management from gtkconv.c to PidginConversationWindow.
Gary Kramlich <grim@reaperworld.com>
parents:
40824
diff
changeset
|
36 | <column type="gchararray"/> |
|
05b5c210352b
Move conversation management from gtkconv.c to PidginConversationWindow.
Gary Kramlich <grim@reaperworld.com>
parents:
40824
diff
changeset
|
37 | </columns> |
|
05b5c210352b
Move conversation management from gtkconv.c to PidginConversationWindow.
Gary Kramlich <grim@reaperworld.com>
parents:
40824
diff
changeset
|
38 | </object> |
|
41696
35f8ce475b21
Rename PidginConversationWindow to PidginDisplayWindow as it holds more than conversations now
Gary Kramlich <grim@reaperworld.com>
parents:
41635
diff
changeset
|
39 | <template class="PidginDisplayWindow" parent="GtkApplicationWindow"> |
|
41582
4ee4a8ddc190
Explicitly set show-menubar so our menubars are shown
Gary Kramlich <grim@reaperworld.com>
parents:
41571
diff
changeset
|
40 | <property name="show-menubar">1</property> |
| 41635 | 41 | <property name="default-height">450</property> |
| 42 | <property name="default-width">950</property> | |
|
41527
4dff8cd4e9ea
Convert PidginConversationWindow to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41476
diff
changeset
|
43 | <child> |
|
4dff8cd4e9ea
Convert PidginConversationWindow to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41476
diff
changeset
|
44 | <object class="GtkEventControllerKey"> |
|
41571
49f620ec5902
Port conversations to GTK4
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41557
diff
changeset
|
45 | <property name="propagation-phase">capture</property> |
|
41696
35f8ce475b21
Rename PidginConversationWindow to PidginDisplayWindow as it holds more than conversations now
Gary Kramlich <grim@reaperworld.com>
parents:
41635
diff
changeset
|
46 | <signal name="key-pressed" handler="pidgin_display_window_key_pressed_cb"/> |
|
41527
4dff8cd4e9ea
Convert PidginConversationWindow to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41476
diff
changeset
|
47 | </object> |
|
4dff8cd4e9ea
Convert PidginConversationWindow to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41476
diff
changeset
|
48 | </child> |
|
40577
953d563429b8
Create a new PidginConversationWindow widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
49 | <child> |
|
953d563429b8
Create a new PidginConversationWindow widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
50 | <object class="GtkBox" id="vbox"> |
|
953d563429b8
Create a new PidginConversationWindow widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
51 | <property name="orientation">vertical</property> |
|
953d563429b8
Create a new PidginConversationWindow widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
52 | <child> |
|
41184
05b5c210352b
Move conversation management from gtkconv.c to PidginConversationWindow.
Gary Kramlich <grim@reaperworld.com>
parents:
40824
diff
changeset
|
53 | <object class="GtkPaned" id="paned"> |
|
41527
4dff8cd4e9ea
Convert PidginConversationWindow to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41476
diff
changeset
|
54 | <property name="vexpand">1</property> |
|
4dff8cd4e9ea
Convert PidginConversationWindow to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41476
diff
changeset
|
55 | <property name="focusable">1</property> |
| 41635 | 56 | <property name="position">220</property> |
|
41184
05b5c210352b
Move conversation management from gtkconv.c to PidginConversationWindow.
Gary Kramlich <grim@reaperworld.com>
parents:
40824
diff
changeset
|
57 | <child> |
|
41223
e75da8f45164
Add the status box to the conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
41184
diff
changeset
|
58 | <object class="GtkBox"> |
|
41527
4dff8cd4e9ea
Convert PidginConversationWindow to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41476
diff
changeset
|
59 | <property name="margin-top">6</property> |
|
4dff8cd4e9ea
Convert PidginConversationWindow to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41476
diff
changeset
|
60 | <property name="margin-start">6</property> |
|
4dff8cd4e9ea
Convert PidginConversationWindow to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41476
diff
changeset
|
61 | <property name="margin-end">6</property> |
|
4dff8cd4e9ea
Convert PidginConversationWindow to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41476
diff
changeset
|
62 | <property name="margin-bottom">6</property> |
|
41223
e75da8f45164
Add the status box to the conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
41184
diff
changeset
|
63 | <property name="orientation">vertical</property> |
|
e75da8f45164
Add the status box to the conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
41184
diff
changeset
|
64 | <property name="spacing">6</property> |
|
41184
05b5c210352b
Move conversation management from gtkconv.c to PidginConversationWindow.
Gary Kramlich <grim@reaperworld.com>
parents:
40824
diff
changeset
|
65 | <child> |
|
41571
49f620ec5902
Port conversations to GTK4
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41557
diff
changeset
|
66 | <object class="PidginStatusBox"/> |
|
41223
e75da8f45164
Add the status box to the conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
41184
diff
changeset
|
67 | </child> |
|
e75da8f45164
Add the status box to the conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
41184
diff
changeset
|
68 | <child> |
|
e75da8f45164
Add the status box to the conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
41184
diff
changeset
|
69 | <object class="GtkScrolledWindow"> |
|
41527
4dff8cd4e9ea
Convert PidginConversationWindow to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41476
diff
changeset
|
70 | <property name="vexpand">1</property> |
|
4dff8cd4e9ea
Convert PidginConversationWindow to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41476
diff
changeset
|
71 | <property name="focusable">1</property> |
|
4dff8cd4e9ea
Convert PidginConversationWindow to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41476
diff
changeset
|
72 | <property name="propagate-natural-width">1</property> |
|
4dff8cd4e9ea
Convert PidginConversationWindow to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41476
diff
changeset
|
73 | <property name="child"> |
|
41223
e75da8f45164
Add the status box to the conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
41184
diff
changeset
|
74 | <object class="GtkTreeView" id="view"> |
|
41527
4dff8cd4e9ea
Convert PidginConversationWindow to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41476
diff
changeset
|
75 | <property name="focusable">1</property> |
|
41223
e75da8f45164
Add the status box to the conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
41184
diff
changeset
|
76 | <property name="model">model</property> |
|
41571
49f620ec5902
Port conversations to GTK4
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41557
diff
changeset
|
77 | <property name="headers-visible">0</property> |
|
41441
e114ed471a1e
Implement the UI for the new Notifications API.
Gary Kramlich <grim@reaperworld.com>
parents:
41223
diff
changeset
|
78 | <property name="search-column">3</property> |
|
41223
e75da8f45164
Add the status box to the conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
41184
diff
changeset
|
79 | <child internal-child="selection"> |
|
41476
1a53026013e4
Show conversations by default in the conversation window and set the select mode to browse
Gary Kramlich <grim@reaperworld.com>
parents:
41443
diff
changeset
|
80 | <object class="GtkTreeSelection" id="selection"> |
|
1a53026013e4
Show conversations by default in the conversation window and set the select mode to browse
Gary Kramlich <grim@reaperworld.com>
parents:
41443
diff
changeset
|
81 | <property name="mode">browse</property> |
|
41696
35f8ce475b21
Rename PidginConversationWindow to PidginDisplayWindow as it holds more than conversations now
Gary Kramlich <grim@reaperworld.com>
parents:
41635
diff
changeset
|
82 | <signal name="changed" handler="pidgin_display_window_selection_changed" object="PidginDisplayWindow" swapped="no"/> |
|
41223
e75da8f45164
Add the status box to the conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
41184
diff
changeset
|
83 | </object> |
|
41184
05b5c210352b
Move conversation management from gtkconv.c to PidginConversationWindow.
Gary Kramlich <grim@reaperworld.com>
parents:
40824
diff
changeset
|
84 | </child> |
|
05b5c210352b
Move conversation management from gtkconv.c to PidginConversationWindow.
Gary Kramlich <grim@reaperworld.com>
parents:
40824
diff
changeset
|
85 | <child> |
|
41223
e75da8f45164
Add the status box to the conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
41184
diff
changeset
|
86 | <object class="GtkTreeViewColumn" id="markup"> |
|
e75da8f45164
Add the status box to the conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
41184
diff
changeset
|
87 | <child> |
|
e75da8f45164
Add the status box to the conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
41184
diff
changeset
|
88 | <object class="GtkCellRendererPixbuf" id="icon"/> |
|
e75da8f45164
Add the status box to the conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
41184
diff
changeset
|
89 | <attributes> |
|
41441
e114ed471a1e
Implement the UI for the new Notifications API.
Gary Kramlich <grim@reaperworld.com>
parents:
41223
diff
changeset
|
90 | <attribute name="pixbuf">2</attribute> |
|
41223
e75da8f45164
Add the status box to the conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
41184
diff
changeset
|
91 | </attributes> |
|
e75da8f45164
Add the status box to the conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
41184
diff
changeset
|
92 | </child> |
|
e75da8f45164
Add the status box to the conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
41184
diff
changeset
|
93 | <child> |
|
e75da8f45164
Add the status box to the conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
41184
diff
changeset
|
94 | <object class="GtkCellRendererText" id="name"/> |
|
e75da8f45164
Add the status box to the conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
41184
diff
changeset
|
95 | <attributes> |
|
41441
e114ed471a1e
Implement the UI for the new Notifications API.
Gary Kramlich <grim@reaperworld.com>
parents:
41223
diff
changeset
|
96 | <attribute name="markup">3</attribute> |
|
41223
e75da8f45164
Add the status box to the conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
41184
diff
changeset
|
97 | </attributes> |
|
e75da8f45164
Add the status box to the conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
41184
diff
changeset
|
98 | </child> |
|
e75da8f45164
Add the status box to the conversation window
Gary Kramlich <grim@reaperworld.com>
parents:
41184
diff
changeset
|
99 | </object> |
|
41184
05b5c210352b
Move conversation management from gtkconv.c to PidginConversationWindow.
Gary Kramlich <grim@reaperworld.com>
parents:
40824
diff
changeset
|
100 | </child> |
|
05b5c210352b
Move conversation management from gtkconv.c to PidginConversationWindow.
Gary Kramlich <grim@reaperworld.com>
parents:
40824
diff
changeset
|
101 | </object> |
|
41527
4dff8cd4e9ea
Convert PidginConversationWindow to GTK4
Gary Kramlich <grim@reaperworld.com>
parents:
41476
diff
changeset
|
102 | </property> |
|
41184
05b5c210352b
Move conversation management from gtkconv.c to PidginConversationWindow.
Gary Kramlich <grim@reaperworld.com>
parents:
40824
diff
changeset
|
103 | </object> |
|
05b5c210352b
Move conversation management from gtkconv.c to PidginConversationWindow.
Gary Kramlich <grim@reaperworld.com>
parents:
40824
diff
changeset
|
104 | </child> |
|
05b5c210352b
Move conversation management from gtkconv.c to PidginConversationWindow.
Gary Kramlich <grim@reaperworld.com>
parents:
40824
diff
changeset
|
105 | </object> |
|
05b5c210352b
Move conversation management from gtkconv.c to PidginConversationWindow.
Gary Kramlich <grim@reaperworld.com>
parents:
40824
diff
changeset
|
106 | </child> |
|
05b5c210352b
Move conversation management from gtkconv.c to PidginConversationWindow.
Gary Kramlich <grim@reaperworld.com>
parents:
40824
diff
changeset
|
107 | <child> |
|
41701
43f994f7f9f2
Replace GtkStack in PidginDisplayWindow with AdwViewStack
Gary Kramlich <grim@reaperworld.com>
parents:
41696
diff
changeset
|
108 | <object class="AdwViewStack" id="stack"> |
|
41184
05b5c210352b
Move conversation management from gtkconv.c to PidginConversationWindow.
Gary Kramlich <grim@reaperworld.com>
parents:
40824
diff
changeset
|
109 | <child> |
|
41701
43f994f7f9f2
Replace GtkStack in PidginDisplayWindow with AdwViewStack
Gary Kramlich <grim@reaperworld.com>
parents:
41696
diff
changeset
|
110 | <object class="AdwViewStackPage"> |
|
41849
413cde086275
Add a placeholder to PidginDisplayWindow for the ContactList
Gary Kramlich <grim@reaperworld.com>
parents:
41702
diff
changeset
|
111 | <property name="name">__contacts__</property> |
|
413cde086275
Add a placeholder to PidginDisplayWindow for the ContactList
Gary Kramlich <grim@reaperworld.com>
parents:
41702
diff
changeset
|
112 | <property name="child"> |
|
42011
bb38b9441073
Create a new PidginContactList widget that shows the PurplePersons that PurpleContactManager is tracking
Gary Kramlich <grim@reaperworld.com>
parents:
41849
diff
changeset
|
113 | <object class="PidginContactList" id="contact_list"> |
|
41849
413cde086275
Add a placeholder to PidginDisplayWindow for the ContactList
Gary Kramlich <grim@reaperworld.com>
parents:
41702
diff
changeset
|
114 | </object> |
|
413cde086275
Add a placeholder to PidginDisplayWindow for the ContactList
Gary Kramlich <grim@reaperworld.com>
parents:
41702
diff
changeset
|
115 | </property> |
|
413cde086275
Add a placeholder to PidginDisplayWindow for the ContactList
Gary Kramlich <grim@reaperworld.com>
parents:
41702
diff
changeset
|
116 | </object> |
|
413cde086275
Add a placeholder to PidginDisplayWindow for the ContactList
Gary Kramlich <grim@reaperworld.com>
parents:
41702
diff
changeset
|
117 | </child> |
|
413cde086275
Add a placeholder to PidginDisplayWindow for the ContactList
Gary Kramlich <grim@reaperworld.com>
parents:
41702
diff
changeset
|
118 | |
|
413cde086275
Add a placeholder to PidginDisplayWindow for the ContactList
Gary Kramlich <grim@reaperworld.com>
parents:
41702
diff
changeset
|
119 | <child> |
|
413cde086275
Add a placeholder to PidginDisplayWindow for the ContactList
Gary Kramlich <grim@reaperworld.com>
parents:
41702
diff
changeset
|
120 | <object class="AdwViewStackPage"> |
|
41571
49f620ec5902
Port conversations to GTK4
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41557
diff
changeset
|
121 | <property name="name">__notifications__</property> |
|
49f620ec5902
Port conversations to GTK4
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41557
diff
changeset
|
122 | <property name="child"> |
|
41606
41e499623fc0
Add a scrolled window around the notification list
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41582
diff
changeset
|
123 | <object class="GtkScrolledWindow"> |
|
41e499623fc0
Add a scrolled window around the notification list
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41582
diff
changeset
|
124 | <child> |
|
41e499623fc0
Add a scrolled window around the notification list
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41582
diff
changeset
|
125 | <object class="PidginNotificationList" id="notification_list"> |
|
41e499623fc0
Add a scrolled window around the notification list
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41582
diff
changeset
|
126 | <property name="orientation">vertical</property> |
|
41e499623fc0
Add a scrolled window around the notification list
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41582
diff
changeset
|
127 | </object> |
|
41e499623fc0
Add a scrolled window around the notification list
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41582
diff
changeset
|
128 | </child> |
|
41571
49f620ec5902
Port conversations to GTK4
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41557
diff
changeset
|
129 | </object> |
|
49f620ec5902
Port conversations to GTK4
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41557
diff
changeset
|
130 | </property> |
|
41441
e114ed471a1e
Implement the UI for the new Notifications API.
Gary Kramlich <grim@reaperworld.com>
parents:
41223
diff
changeset
|
131 | </object> |
|
41443
60cec3b7ad30
Use a HdyStatusPage as a place holder for conversations
Gary Kramlich <grim@reaperworld.com>
parents:
41441
diff
changeset
|
132 | </child> |
|
60cec3b7ad30
Use a HdyStatusPage as a place holder for conversations
Gary Kramlich <grim@reaperworld.com>
parents:
41441
diff
changeset
|
133 | <child> |
|
41701
43f994f7f9f2
Replace GtkStack in PidginDisplayWindow with AdwViewStack
Gary Kramlich <grim@reaperworld.com>
parents:
41696
diff
changeset
|
134 | <object class="AdwViewStackPage"> |
|
41571
49f620ec5902
Port conversations to GTK4
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41557
diff
changeset
|
135 | <property name="name">__conversations__</property> |
|
49f620ec5902
Port conversations to GTK4
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41557
diff
changeset
|
136 | <property name="child"> |
|
49f620ec5902
Port conversations to GTK4
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41557
diff
changeset
|
137 | <object class="AdwStatusPage"> |
|
49f620ec5902
Port conversations to GTK4
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41557
diff
changeset
|
138 | <property name="icon-name">mail-send-symbolic</property> |
|
49f620ec5902
Port conversations to GTK4
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41557
diff
changeset
|
139 | <property name="title" translatable="1">Conversations</property> |
|
49f620ec5902
Port conversations to GTK4
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41557
diff
changeset
|
140 | <property name="description" translatable="1">When you send a message to a friend or join a chat it will show up here!</property> |
|
49f620ec5902
Port conversations to GTK4
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41557
diff
changeset
|
141 | </object> |
|
49f620ec5902
Port conversations to GTK4
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41557
diff
changeset
|
142 | </property> |
|
41443
60cec3b7ad30
Use a HdyStatusPage as a place holder for conversations
Gary Kramlich <grim@reaperworld.com>
parents:
41441
diff
changeset
|
143 | </object> |
|
41441
e114ed471a1e
Implement the UI for the new Notifications API.
Gary Kramlich <grim@reaperworld.com>
parents:
41223
diff
changeset
|
144 | </child> |
|
41184
05b5c210352b
Move conversation management from gtkconv.c to PidginConversationWindow.
Gary Kramlich <grim@reaperworld.com>
parents:
40824
diff
changeset
|
145 | </object> |
|
05b5c210352b
Move conversation management from gtkconv.c to PidginConversationWindow.
Gary Kramlich <grim@reaperworld.com>
parents:
40824
diff
changeset
|
146 | </child> |
|
05b5c210352b
Move conversation management from gtkconv.c to PidginConversationWindow.
Gary Kramlich <grim@reaperworld.com>
parents:
40824
diff
changeset
|
147 | </object> |
|
40577
953d563429b8
Create a new PidginConversationWindow widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
148 | </child> |
|
953d563429b8
Create a new PidginConversationWindow widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
149 | </object> |
|
953d563429b8
Create a new PidginConversationWindow widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
150 | </child> |
|
953d563429b8
Create a new PidginConversationWindow widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
151 | </template> |
|
953d563429b8
Create a new PidginConversationWindow widget
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
152 | </interface> |