diff options
Diffstat (limited to 'resources/ui/messenger.ui')
-rw-r--r-- | resources/ui/messenger.ui | 139 |
1 files changed, 85 insertions, 54 deletions
diff --git a/resources/ui/messenger.ui b/resources/ui/messenger.ui index 3c60f2e..f301650 100644 --- a/resources/ui/messenger.ui +++ b/resources/ui/messenger.ui | |||
@@ -50,13 +50,10 @@ Author: Tobias Frisch | |||
50 | <property name="can-focus">False</property> | 50 | <property name="can-focus">False</property> |
51 | <property name="orientation">vertical</property> | 51 | <property name="orientation">vertical</property> |
52 | <child> | 52 | <child> |
53 | <object class="GtkBox" id="chats-header-box"> | 53 | <object class="GtkBox"> |
54 | <property name="visible">True</property> | 54 | <property name="visible">True</property> |
55 | <property name="can-focus">False</property> | 55 | <property name="can-focus">False</property> |
56 | <property name="margin-start">8</property> | 56 | <property name="border-width">8</property> |
57 | <property name="margin-end">8</property> | ||
58 | <property name="margin-top">8</property> | ||
59 | <property name="margin-bottom">8</property> | ||
60 | <property name="spacing">8</property> | 57 | <property name="spacing">8</property> |
61 | <child> | 58 | <child> |
62 | <object class="GtkButton" id="user_details_button"> | 59 | <object class="GtkButton" id="user_details_button"> |
@@ -93,6 +90,9 @@ Author: Tobias Frisch | |||
93 | <property name="position">1</property> | 90 | <property name="position">1</property> |
94 | </packing> | 91 | </packing> |
95 | </child> | 92 | </child> |
93 | <style> | ||
94 | <class name="header-box"/> | ||
95 | </style> | ||
96 | </object> | 96 | </object> |
97 | <packing> | 97 | <packing> |
98 | <property name="expand">False</property> | 98 | <property name="expand">False</property> |
@@ -146,10 +146,7 @@ Author: Tobias Frisch | |||
146 | <object class="GtkBox"> | 146 | <object class="GtkBox"> |
147 | <property name="visible">True</property> | 147 | <property name="visible">True</property> |
148 | <property name="can-focus">False</property> | 148 | <property name="can-focus">False</property> |
149 | <property name="margin-start">16</property> | 149 | <property name="border-width">16</property> |
150 | <property name="margin-end">16</property> | ||
151 | <property name="margin-top">16</property> | ||
152 | <property name="margin-bottom">16</property> | ||
153 | <property name="orientation">vertical</property> | 150 | <property name="orientation">vertical</property> |
154 | <property name="spacing">16</property> | 151 | <property name="spacing">16</property> |
155 | <child> | 152 | <child> |
@@ -166,11 +163,44 @@ Author: Tobias Frisch | |||
166 | </packing> | 163 | </packing> |
167 | </child> | 164 | </child> |
168 | <child> | 165 | <child> |
169 | <object class="GtkLabel" id="profile_label"> | 166 | <object class="GtkBox"> |
170 | <property name="visible">True</property> | 167 | <property name="visible">True</property> |
171 | <property name="can-focus">False</property> | 168 | <property name="can-focus">False</property> |
172 | <property name="label" translatable="yes">Profile name</property> | 169 | <property name="orientation">vertical</property> |
173 | <property name="xalign">0</property> | 170 | <property name="spacing">2</property> |
171 | <child> | ||
172 | <object class="GtkLabel" id="profile_label"> | ||
173 | <property name="visible">True</property> | ||
174 | <property name="can-focus">False</property> | ||
175 | <property name="ellipsize">end</property> | ||
176 | <property name="xalign">0</property> | ||
177 | <attributes> | ||
178 | <attribute name="weight" value="bold"/> | ||
179 | </attributes> | ||
180 | </object> | ||
181 | <packing> | ||
182 | <property name="expand">False</property> | ||
183 | <property name="fill">True</property> | ||
184 | <property name="position">0</property> | ||
185 | </packing> | ||
186 | </child> | ||
187 | <child> | ||
188 | <object class="GtkLabel" id="profile_key_label"> | ||
189 | <property name="visible">True</property> | ||
190 | <property name="can-focus">False</property> | ||
191 | <property name="ellipsize">end</property> | ||
192 | <property name="max-width-chars">30</property> | ||
193 | <property name="xalign">0</property> | ||
194 | <style> | ||
195 | <class name="profile-key"/> | ||
196 | </style> | ||
197 | </object> | ||
198 | <packing> | ||
199 | <property name="expand">False</property> | ||
200 | <property name="fill">True</property> | ||
201 | <property name="position">1</property> | ||
202 | </packing> | ||
203 | </child> | ||
174 | </object> | 204 | </object> |
175 | <packing> | 205 | <packing> |
176 | <property name="expand">False</property> | 206 | <property name="expand">False</property> |
@@ -189,10 +219,7 @@ Author: Tobias Frisch | |||
189 | <object class="GtkBox"> | 219 | <object class="GtkBox"> |
190 | <property name="visible">True</property> | 220 | <property name="visible">True</property> |
191 | <property name="can-focus">False</property> | 221 | <property name="can-focus">False</property> |
192 | <property name="margin-start">8</property> | 222 | <property name="border-width">8</property> |
193 | <property name="margin-end">8</property> | ||
194 | <property name="margin-top">8</property> | ||
195 | <property name="margin-bottom">8</property> | ||
196 | <property name="orientation">vertical</property> | 223 | <property name="orientation">vertical</property> |
197 | <property name="spacing">8</property> | 224 | <property name="spacing">8</property> |
198 | <property name="homogeneous">True</property> | 225 | <property name="homogeneous">True</property> |
@@ -306,21 +333,24 @@ Author: Tobias Frisch | |||
306 | <object class="GtkListBox" id="accounts_listbox"> | 333 | <object class="GtkListBox" id="accounts_listbox"> |
307 | <property name="visible">True</property> | 334 | <property name="visible">True</property> |
308 | <property name="can-focus">False</property> | 335 | <property name="can-focus">False</property> |
309 | <property name="selection-mode">none</property> | ||
310 | <child> | 336 | <child> |
311 | <object class="GtkListBoxRow"> | 337 | <object class="GtkListBoxRow"> |
312 | <property name="visible">True</property> | 338 | <property name="visible">True</property> |
313 | <property name="can-focus">True</property> | 339 | <property name="can-focus">True</property> |
340 | <property name="selectable">False</property> | ||
314 | <child> | 341 | <child> |
315 | <object class="GtkBox"> | 342 | <object class="GtkBox"> |
316 | <property name="visible">True</property> | 343 | <property name="visible">True</property> |
317 | <property name="can-focus">False</property> | 344 | <property name="can-focus">False</property> |
318 | <property name="spacing">8</property> | 345 | <property name="spacing">8</property> |
319 | <child> | 346 | <child> |
320 | <object class="HdyAvatar"> | 347 | <object class="GtkImage"> |
348 | <property name="width-request">36</property> | ||
349 | <property name="height-request">36</property> | ||
321 | <property name="visible">True</property> | 350 | <property name="visible">True</property> |
322 | <property name="can-focus">False</property> | 351 | <property name="can-focus">False</property> |
323 | <property name="size">36</property> | 352 | <property name="icon-name">list-add-symbolic</property> |
353 | <property name="icon_size">3</property> | ||
324 | </object> | 354 | </object> |
325 | <packing> | 355 | <packing> |
326 | <property name="expand">False</property> | 356 | <property name="expand">False</property> |
@@ -332,14 +362,10 @@ Author: Tobias Frisch | |||
332 | <object class="GtkLabel"> | 362 | <object class="GtkLabel"> |
333 | <property name="visible">True</property> | 363 | <property name="visible">True</property> |
334 | <property name="can-focus">False</property> | 364 | <property name="can-focus">False</property> |
335 | <property name="label" translatable="yes">Name</property> | 365 | <property name="label" translatable="yes">Add Account</property> |
336 | <property name="wrap">True</property> | ||
337 | <property name="wrap-mode">word-char</property> | ||
338 | <property name="ellipsize">end</property> | ||
339 | <property name="xalign">0</property> | ||
340 | </object> | 366 | </object> |
341 | <packing> | 367 | <packing> |
342 | <property name="expand">True</property> | 368 | <property name="expand">False</property> |
343 | <property name="fill">True</property> | 369 | <property name="fill">True</property> |
344 | <property name="position">1</property> | 370 | <property name="position">1</property> |
345 | </packing> | 371 | </packing> |
@@ -380,10 +406,7 @@ Author: Tobias Frisch | |||
380 | <object class="GtkBox"> | 406 | <object class="GtkBox"> |
381 | <property name="visible">True</property> | 407 | <property name="visible">True</property> |
382 | <property name="can-focus">False</property> | 408 | <property name="can-focus">False</property> |
383 | <property name="margin-start">4</property> | 409 | <property name="border-width">4</property> |
384 | <property name="margin-end">4</property> | ||
385 | <property name="margin-top">4</property> | ||
386 | <property name="margin-bottom">4</property> | ||
387 | <property name="spacing">16</property> | 410 | <property name="spacing">16</property> |
388 | <child> | 411 | <child> |
389 | <object class="GtkImage"> | 412 | <object class="GtkImage"> |
@@ -431,10 +454,7 @@ Author: Tobias Frisch | |||
431 | <object class="GtkBox"> | 454 | <object class="GtkBox"> |
432 | <property name="visible">True</property> | 455 | <property name="visible">True</property> |
433 | <property name="can-focus">False</property> | 456 | <property name="can-focus">False</property> |
434 | <property name="margin-start">4</property> | 457 | <property name="border-width">4</property> |
435 | <property name="margin-end">4</property> | ||
436 | <property name="margin-top">4</property> | ||
437 | <property name="margin-bottom">4</property> | ||
438 | <property name="spacing">16</property> | 458 | <property name="spacing">16</property> |
439 | <child> | 459 | <child> |
440 | <object class="GtkImage"> | 460 | <object class="GtkImage"> |
@@ -482,10 +502,7 @@ Author: Tobias Frisch | |||
482 | <object class="GtkBox"> | 502 | <object class="GtkBox"> |
483 | <property name="visible">True</property> | 503 | <property name="visible">True</property> |
484 | <property name="can-focus">False</property> | 504 | <property name="can-focus">False</property> |
485 | <property name="margin-start">4</property> | 505 | <property name="border-width">4</property> |
486 | <property name="margin-end">4</property> | ||
487 | <property name="margin-top">4</property> | ||
488 | <property name="margin-bottom">4</property> | ||
489 | <property name="spacing">16</property> | 506 | <property name="spacing">16</property> |
490 | <child> | 507 | <child> |
491 | <object class="GtkImage"> | 508 | <object class="GtkImage"> |
@@ -533,10 +550,7 @@ Author: Tobias Frisch | |||
533 | <object class="GtkBox"> | 550 | <object class="GtkBox"> |
534 | <property name="visible">True</property> | 551 | <property name="visible">True</property> |
535 | <property name="can-focus">False</property> | 552 | <property name="can-focus">False</property> |
536 | <property name="margin-start">4</property> | 553 | <property name="border-width">4</property> |
537 | <property name="margin-end">4</property> | ||
538 | <property name="margin-top">4</property> | ||
539 | <property name="margin-bottom">4</property> | ||
540 | <property name="spacing">16</property> | 554 | <property name="spacing">16</property> |
541 | <child> | 555 | <child> |
542 | <object class="GtkImage"> | 556 | <object class="GtkImage"> |
@@ -584,10 +598,7 @@ Author: Tobias Frisch | |||
584 | <object class="GtkBox"> | 598 | <object class="GtkBox"> |
585 | <property name="visible">True</property> | 599 | <property name="visible">True</property> |
586 | <property name="can-focus">False</property> | 600 | <property name="can-focus">False</property> |
587 | <property name="margin-start">4</property> | 601 | <property name="border-width">4</property> |
588 | <property name="margin-end">4</property> | ||
589 | <property name="margin-top">4</property> | ||
590 | <property name="margin-bottom">4</property> | ||
591 | <property name="spacing">16</property> | 602 | <property name="spacing">16</property> |
592 | <child> | 603 | <child> |
593 | <object class="GtkImage"> | 604 | <object class="GtkImage"> |
@@ -635,10 +646,7 @@ Author: Tobias Frisch | |||
635 | <object class="GtkBox"> | 646 | <object class="GtkBox"> |
636 | <property name="visible">True</property> | 647 | <property name="visible">True</property> |
637 | <property name="can-focus">False</property> | 648 | <property name="can-focus">False</property> |
638 | <property name="margin-start">16</property> | 649 | <property name="border-width">16</property> |
639 | <property name="margin-end">16</property> | ||
640 | <property name="margin-top">16</property> | ||
641 | <property name="margin-bottom">16</property> | ||
642 | <property name="orientation">vertical</property> | 650 | <property name="orientation">vertical</property> |
643 | <child> | 651 | <child> |
644 | <object class="GtkLabel"> | 652 | <object class="GtkLabel"> |
@@ -721,7 +729,33 @@ Author: Tobias Frisch | |||
721 | <property name="visible">True</property> | 729 | <property name="visible">True</property> |
722 | <property name="can-focus">False</property> | 730 | <property name="can-focus">False</property> |
723 | <child> | 731 | <child> |
724 | <placeholder/> | 732 | <object class="GtkBox"> |
733 | <property name="visible">True</property> | ||
734 | <property name="can-focus">False</property> | ||
735 | <property name="orientation">vertical</property> | ||
736 | <child> | ||
737 | <object class="GtkLabel"> | ||
738 | <property name="visible">True</property> | ||
739 | <property name="can-focus">False</property> | ||
740 | <property name="halign">center</property> | ||
741 | <property name="valign">center</property> | ||
742 | <property name="label" translatable="yes">Select a chat to start messaging...</property> | ||
743 | <style> | ||
744 | <class name="message-box"/> | ||
745 | <class name="status"/> | ||
746 | </style> | ||
747 | </object> | ||
748 | <packing> | ||
749 | <property name="expand">True</property> | ||
750 | <property name="fill">True</property> | ||
751 | <property name="position">0</property> | ||
752 | </packing> | ||
753 | </child> | ||
754 | </object> | ||
755 | <packing> | ||
756 | <property name="name">page0</property> | ||
757 | <property name="title" translatable="yes">page0</property> | ||
758 | </packing> | ||
725 | </child> | 759 | </child> |
726 | </object> | 760 | </object> |
727 | </child> | 761 | </child> |
@@ -741,10 +775,7 @@ Author: Tobias Frisch | |||
741 | <property name="width-request">250</property> | 775 | <property name="width-request">250</property> |
742 | <property name="visible">True</property> | 776 | <property name="visible">True</property> |
743 | <property name="can-focus">False</property> | 777 | <property name="can-focus">False</property> |
744 | <property name="margin-start">8</property> | 778 | <property name="border-width">8</property> |
745 | <property name="margin-end">8</property> | ||
746 | <property name="margin-top">8</property> | ||
747 | <property name="margin-bottom">8</property> | ||
748 | <child> | 779 | <child> |
749 | <object class="GtkStack"> | 780 | <object class="GtkStack"> |
750 | <property name="visible">True</property> | 781 | <property name="visible">True</property> |