diff options
Diffstat (limited to 'resources/ui/chat.ui')
-rw-r--r-- | resources/ui/chat.ui | 234 |
1 files changed, 158 insertions, 76 deletions
diff --git a/resources/ui/chat.ui b/resources/ui/chat.ui index d928dff..b99c28e 100644 --- a/resources/ui/chat.ui +++ b/resources/ui/chat.ui | |||
@@ -1,7 +1,7 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | <!-- Generated with glade 3.38.2 | 2 | <!-- Generated with glade 3.38.2 |
3 | 3 | ||
4 | Copyright (C) 2021 GNUnet e.V. | 4 | Copyright (C) 2021‑‑2022 GNUnet e.V. |
5 | 5 | ||
6 | GNUnet is free software: you can redistribute it and/or modify it | 6 | GNUnet is free software: you can redistribute it and/or modify it |
7 | under the terms of the GNU Affero General Public License as published | 7 | under the terms of the GNU Affero General Public License as published |
@@ -40,48 +40,156 @@ Author: Tobias Frisch | |||
40 | <property name="can-focus">False</property> | 40 | <property name="can-focus">False</property> |
41 | <property name="orientation">vertical</property> | 41 | <property name="orientation">vertical</property> |
42 | <child> | 42 | <child> |
43 | <object class="GtkBox"> | 43 | <object class="GtkStack" id="chat_title_stack"> |
44 | <property name="visible">True</property> | 44 | <property name="visible">True</property> |
45 | <property name="can-focus">False</property> | 45 | <property name="can-focus">False</property> |
46 | <property name="border-width">8</property> | 46 | <property name="transition-type">slide-down</property> |
47 | <property name="spacing">8</property> | ||
48 | <child> | 47 | <child> |
49 | <object class="GtkButton" id="back_button"> | 48 | <object class="GtkBox" id="title_box"> |
50 | <property name="visible">True</property> | 49 | <property name="visible">True</property> |
51 | <property name="can-focus">True</property> | 50 | <property name="can-focus">False</property> |
52 | <property name="receives-default">True</property> | 51 | <property name="border-width">8</property> |
53 | <property name="relief">none</property> | 52 | <property name="spacing">8</property> |
54 | <child> | 53 | <child> |
55 | <object class="GtkImage"> | 54 | <object class="GtkButton" id="back_button"> |
55 | <property name="visible">True</property> | ||
56 | <property name="can-focus">True</property> | ||
57 | <property name="receives-default">True</property> | ||
58 | <property name="relief">none</property> | ||
59 | <child> | ||
60 | <object class="GtkImage"> | ||
61 | <property name="visible">True</property> | ||
62 | <property name="can-focus">False</property> | ||
63 | <property name="icon-name">go-previous-symbolic</property> | ||
64 | </object> | ||
65 | </child> | ||
66 | </object> | ||
67 | <packing> | ||
68 | <property name="expand">False</property> | ||
69 | <property name="fill">True</property> | ||
70 | <property name="position">0</property> | ||
71 | </packing> | ||
72 | </child> | ||
73 | <child> | ||
74 | <object class="GtkBox"> | ||
56 | <property name="visible">True</property> | 75 | <property name="visible">True</property> |
57 | <property name="can-focus">False</property> | 76 | <property name="can-focus">False</property> |
58 | <property name="icon-name">go-previous-symbolic</property> | 77 | <property name="margin-start">4</property> |
78 | <property name="margin-end">4</property> | ||
79 | <property name="orientation">vertical</property> | ||
80 | <child> | ||
81 | <object class="GtkLabel" id="chat_title"> | ||
82 | <property name="visible">True</property> | ||
83 | <property name="can-focus">False</property> | ||
84 | <property name="ellipsize">end</property> | ||
85 | <property name="single-line-mode">True</property> | ||
86 | <property name="xalign">0</property> | ||
87 | <attributes> | ||
88 | <attribute name="weight" value="bold"/> | ||
89 | </attributes> | ||
90 | </object> | ||
91 | <packing> | ||
92 | <property name="expand">False</property> | ||
93 | <property name="fill">True</property> | ||
94 | <property name="position">0</property> | ||
95 | </packing> | ||
96 | </child> | ||
97 | <child> | ||
98 | <object class="GtkLabel" id="chat_subtitle"> | ||
99 | <property name="visible">True</property> | ||
100 | <property name="can-focus">False</property> | ||
101 | <property name="ellipsize">end</property> | ||
102 | <property name="single-line-mode">True</property> | ||
103 | <property name="xalign">0</property> | ||
104 | <attributes> | ||
105 | <attribute name="weight" value="light"/> | ||
106 | </attributes> | ||
107 | <style> | ||
108 | <class name="header-subtitle"/> | ||
109 | </style> | ||
110 | </object> | ||
111 | <packing> | ||
112 | <property name="expand">False</property> | ||
113 | <property name="fill">True</property> | ||
114 | <property name="position">1</property> | ||
115 | </packing> | ||
116 | </child> | ||
59 | </object> | 117 | </object> |
118 | <packing> | ||
119 | <property name="expand">True</property> | ||
120 | <property name="fill">True</property> | ||
121 | <property name="position">1</property> | ||
122 | </packing> | ||
60 | </child> | 123 | </child> |
124 | <child> | ||
125 | <object class="GtkButton" id="chat_details_button"> | ||
126 | <property name="visible">True</property> | ||
127 | <property name="can-focus">True</property> | ||
128 | <property name="receives-default">True</property> | ||
129 | <property name="relief">none</property> | ||
130 | <child> | ||
131 | <object class="GtkImage"> | ||
132 | <property name="visible">True</property> | ||
133 | <property name="can-focus">False</property> | ||
134 | <property name="icon-name">view-more-symbolic</property> | ||
135 | </object> | ||
136 | </child> | ||
137 | </object> | ||
138 | <packing> | ||
139 | <property name="expand">False</property> | ||
140 | <property name="fill">True</property> | ||
141 | <property name="pack-type">end</property> | ||
142 | <property name="position">1</property> | ||
143 | </packing> | ||
144 | </child> | ||
145 | <child> | ||
146 | <object class="GtkButton" id="chat_load_button"> | ||
147 | <property name="can-focus">True</property> | ||
148 | <property name="receives-default">True</property> | ||
149 | <property name="relief">none</property> | ||
150 | <child> | ||
151 | <object class="GtkSpinner"> | ||
152 | <property name="visible">True</property> | ||
153 | <property name="can-focus">False</property> | ||
154 | <property name="active">True</property> | ||
155 | </object> | ||
156 | </child> | ||
157 | </object> | ||
158 | <packing> | ||
159 | <property name="expand">False</property> | ||
160 | <property name="fill">True</property> | ||
161 | <property name="pack-type">end</property> | ||
162 | <property name="position">3</property> | ||
163 | </packing> | ||
164 | </child> | ||
165 | <style> | ||
166 | <class name="header-box"/> | ||
167 | </style> | ||
61 | </object> | 168 | </object> |
62 | <packing> | 169 | <packing> |
63 | <property name="expand">False</property> | 170 | <property name="name">page0</property> |
64 | <property name="fill">True</property> | 171 | <property name="title" translatable="yes">page0</property> |
65 | <property name="position">0</property> | ||
66 | </packing> | 172 | </packing> |
67 | </child> | 173 | </child> |
68 | <child> | 174 | <child> |
69 | <object class="GtkBox"> | 175 | <object class="GtkBox" id="selection_box"> |
70 | <property name="visible">True</property> | 176 | <property name="visible">True</property> |
71 | <property name="can-focus">False</property> | 177 | <property name="can-focus">False</property> |
72 | <property name="margin-start">4</property> | 178 | <property name="border-width">8</property> |
73 | <property name="margin-end">4</property> | 179 | <property name="spacing">8</property> |
74 | <property name="orientation">vertical</property> | ||
75 | <child> | 180 | <child> |
76 | <object class="GtkLabel" id="chat_title"> | 181 | <object class="GtkButton" id="selection_close_button"> |
77 | <property name="visible">True</property> | 182 | <property name="visible">True</property> |
78 | <property name="can-focus">False</property> | 183 | <property name="can-focus">True</property> |
79 | <property name="ellipsize">end</property> | 184 | <property name="receives-default">True</property> |
80 | <property name="single-line-mode">True</property> | 185 | <property name="relief">none</property> |
81 | <property name="xalign">0</property> | 186 | <child> |
82 | <attributes> | 187 | <object class="GtkImage"> |
83 | <attribute name="weight" value="bold"/> | 188 | <property name="visible">True</property> |
84 | </attributes> | 189 | <property name="can-focus">False</property> |
190 | <property name="icon-name">window-close-symbolic</property> | ||
191 | </object> | ||
192 | </child> | ||
85 | </object> | 193 | </object> |
86 | <packing> | 194 | <packing> |
87 | <property name="expand">False</property> | 195 | <property name="expand">False</property> |
@@ -90,18 +198,12 @@ Author: Tobias Frisch | |||
90 | </packing> | 198 | </packing> |
91 | </child> | 199 | </child> |
92 | <child> | 200 | <child> |
93 | <object class="GtkLabel" id="chat_subtitle"> | 201 | <object class="GtkLabel" id="selection_count_label"> |
94 | <property name="visible">True</property> | 202 | <property name="visible">True</property> |
95 | <property name="can-focus">False</property> | 203 | <property name="can-focus">False</property> |
96 | <property name="ellipsize">end</property> | ||
97 | <property name="single-line-mode">True</property> | ||
98 | <property name="xalign">0</property> | ||
99 | <attributes> | 204 | <attributes> |
100 | <attribute name="weight" value="light"/> | 205 | <attribute name="weight" value="semibold"/> |
101 | </attributes> | 206 | </attributes> |
102 | <style> | ||
103 | <class name="header-subtitle"/> | ||
104 | </style> | ||
105 | </object> | 207 | </object> |
106 | <packing> | 208 | <packing> |
107 | <property name="expand">False</property> | 209 | <property name="expand">False</property> |
@@ -109,57 +211,37 @@ Author: Tobias Frisch | |||
109 | <property name="position">1</property> | 211 | <property name="position">1</property> |
110 | </packing> | 212 | </packing> |
111 | </child> | 213 | </child> |
112 | </object> | ||
113 | <packing> | ||
114 | <property name="expand">True</property> | ||
115 | <property name="fill">True</property> | ||
116 | <property name="position">1</property> | ||
117 | </packing> | ||
118 | </child> | ||
119 | <child> | ||
120 | <object class="GtkButton" id="chat_details_button"> | ||
121 | <property name="visible">True</property> | ||
122 | <property name="can-focus">True</property> | ||
123 | <property name="receives-default">True</property> | ||
124 | <property name="relief">none</property> | ||
125 | <child> | 214 | <child> |
126 | <object class="GtkImage"> | 215 | <object class="GtkButton" id="selection_delete_button"> |
127 | <property name="visible">True</property> | 216 | <property name="visible">True</property> |
128 | <property name="can-focus">False</property> | 217 | <property name="can-focus">True</property> |
129 | <property name="icon-name">view-more-symbolic</property> | 218 | <property name="receives-default">True</property> |
219 | <property name="relief">none</property> | ||
220 | <child> | ||
221 | <object class="GtkImage"> | ||
222 | <property name="visible">True</property> | ||
223 | <property name="can-focus">False</property> | ||
224 | <property name="icon-name">user-trash-symbolic</property> | ||
225 | </object> | ||
226 | </child> | ||
130 | </object> | 227 | </object> |
228 | <packing> | ||
229 | <property name="expand">False</property> | ||
230 | <property name="fill">True</property> | ||
231 | <property name="pack-type">end</property> | ||
232 | <property name="position">2</property> | ||
233 | </packing> | ||
131 | </child> | 234 | </child> |
235 | <style> | ||
236 | <class name="header-box"/> | ||
237 | </style> | ||
132 | </object> | 238 | </object> |
133 | <packing> | 239 | <packing> |
134 | <property name="expand">False</property> | 240 | <property name="name">page1</property> |
135 | <property name="fill">True</property> | 241 | <property name="title" translatable="yes">page1</property> |
136 | <property name="pack-type">end</property> | ||
137 | <property name="position">1</property> | 242 | <property name="position">1</property> |
138 | </packing> | 243 | </packing> |
139 | </child> | 244 | </child> |
140 | <child> | ||
141 | <object class="GtkButton" id="chat_load_button"> | ||
142 | <property name="can-focus">True</property> | ||
143 | <property name="receives-default">True</property> | ||
144 | <property name="relief">none</property> | ||
145 | <child> | ||
146 | <object class="GtkSpinner"> | ||
147 | <property name="visible">True</property> | ||
148 | <property name="can-focus">False</property> | ||
149 | <property name="active">True</property> | ||
150 | </object> | ||
151 | </child> | ||
152 | </object> | ||
153 | <packing> | ||
154 | <property name="expand">False</property> | ||
155 | <property name="fill">True</property> | ||
156 | <property name="pack-type">end</property> | ||
157 | <property name="position">3</property> | ||
158 | </packing> | ||
159 | </child> | ||
160 | <style> | ||
161 | <class name=".header-box"/> | ||
162 | </style> | ||
163 | </object> | 245 | </object> |
164 | <packing> | 246 | <packing> |
165 | <property name="expand">False</property> | 247 | <property name="expand">False</property> |
@@ -179,7 +261,7 @@ Author: Tobias Frisch | |||
179 | <object class="GtkListBox" id="messages_listbox"> | 261 | <object class="GtkListBox" id="messages_listbox"> |
180 | <property name="visible">True</property> | 262 | <property name="visible">True</property> |
181 | <property name="can-focus">False</property> | 263 | <property name="can-focus">False</property> |
182 | <property name="selection-mode">none</property> | 264 | <property name="selection-mode">multiple</property> |
183 | <property name="activate-on-single-click">False</property> | 265 | <property name="activate-on-single-click">False</property> |
184 | </object> | 266 | </object> |
185 | </child> | 267 | </child> |