aboutsummaryrefslogtreecommitdiff
path: root/resources
diff options
context:
space:
mode:
Diffstat (limited to 'resources')
-rw-r--r--resources/ui.gresource.xml5
-rw-r--r--resources/ui/account_entry.ui (renamed from resources/ui/profile_entry.ui)2
-rw-r--r--resources/ui/accounts.ui107
-rw-r--r--resources/ui/messenger.ui2
-rw-r--r--resources/ui/new_account.ui (renamed from resources/ui/new_profile.ui)8
5 files changed, 116 insertions, 8 deletions
diff --git a/resources/ui.gresource.xml b/resources/ui.gresource.xml
index 96b1f1a..e0942e5 100644
--- a/resources/ui.gresource.xml
+++ b/resources/ui.gresource.xml
@@ -15,10 +15,11 @@
15 <file compressed="true">ui/new_contact.ui</file> 15 <file compressed="true">ui/new_contact.ui</file>
16 <file compressed="true">ui/new_group.ui</file> 16 <file compressed="true">ui/new_group.ui</file>
17 <file compressed="true">ui/new_platform.ui</file> 17 <file compressed="true">ui/new_platform.ui</file>
18 <file compressed="true">ui/new_profile.ui</file> 18 <file compressed="true">ui/new_account.ui</file>
19 <file compressed="true">ui/picker.ui</file> 19 <file compressed="true">ui/picker.ui</file>
20 <file compressed="true">ui/profile_entry.ui</file> 20 <file compressed="true">ui/account_entry.ui</file>
21 <file compressed="true">ui/send_file.ui</file> 21 <file compressed="true">ui/send_file.ui</file>
22 <file compressed="true">ui/settings.ui</file> 22 <file compressed="true">ui/settings.ui</file>
23 <file compressed="true">ui/accounts.ui</file>
23 </gresource> 24 </gresource>
24</gresources> 25</gresources>
diff --git a/resources/ui/profile_entry.ui b/resources/ui/account_entry.ui
index 0545f55..827ae26 100644
--- a/resources/ui/profile_entry.ui
+++ b/resources/ui/account_entry.ui
@@ -56,7 +56,7 @@ Author: Tobias Frisch
56 </packing> 56 </packing>
57 </child> 57 </child>
58 <style> 58 <style>
59 <class name="profile-entry"/> 59 <class name="account-entry"/>
60 </style> 60 </style>
61 </object> 61 </object>
62</interface> 62</interface>
diff --git a/resources/ui/accounts.ui b/resources/ui/accounts.ui
new file mode 100644
index 0000000..d4ffb4e
--- /dev/null
+++ b/resources/ui/accounts.ui
@@ -0,0 +1,107 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<!-- Generated with glade 3.38.2 -->
3<interface>
4 <requires lib="gtk+" version="3.24"/>
5 <object class="GtkDialog" id="accounts_dialog">
6 <property name="can-focus">False</property>
7 <property name="type-hint">dialog</property>
8 <child internal-child="vbox">
9 <object class="GtkBox">
10 <property name="can-focus">False</property>
11 <property name="orientation">vertical</property>
12 <property name="spacing">2</property>
13 <child internal-child="action_area">
14 <object class="GtkButtonBox">
15 <property name="can-focus">False</property>
16 <property name="layout-style">end</property>
17 <child>
18 <object class="GtkButton" id="close_button">
19 <property name="label" translatable="yes">Close</property>
20 <property name="visible">True</property>
21 <property name="can-focus">True</property>
22 <property name="receives-default">True</property>
23 </object>
24 <packing>
25 <property name="expand">True</property>
26 <property name="fill">True</property>
27 <property name="position">0</property>
28 </packing>
29 </child>
30 </object>
31 <packing>
32 <property name="expand">False</property>
33 <property name="fill">False</property>
34 <property name="position">0</property>
35 </packing>
36 </child>
37 <child>
38 <object class="GtkScrolledWindow">
39 <property name="visible">True</property>
40 <property name="can-focus">True</property>
41 <property name="shadow-type">in</property>
42 <child>
43 <object class="GtkViewport">
44 <property name="visible">True</property>
45 <property name="can-focus">False</property>
46 <child>
47 <object class="GtkListBox" id="accounts_listbox">
48 <property name="visible">True</property>
49 <property name="can-focus">False</property>
50 <child>
51 <object class="GtkListBoxRow">
52 <property name="visible">True</property>
53 <property name="can-focus">True</property>
54 <property name="selectable">False</property>
55 <child>
56 <object class="GtkBox">
57 <property name="visible">True</property>
58 <property name="can-focus">False</property>
59 <child>
60 <object class="GtkImage">
61 <property name="width-request">36</property>
62 <property name="height-request">36</property>
63 <property name="visible">True</property>
64 <property name="can-focus">False</property>
65 <property name="icon-name">list-add-symbolic</property>
66 <property name="icon_size">3</property>
67 </object>
68 <packing>
69 <property name="expand">False</property>
70 <property name="fill">True</property>
71 <property name="position">0</property>
72 </packing>
73 </child>
74 <child>
75 <object class="GtkLabel">
76 <property name="visible">True</property>
77 <property name="can-focus">False</property>
78 <property name="label" translatable="yes">Add Account</property>
79 </object>
80 <packing>
81 <property name="expand">False</property>
82 <property name="fill">True</property>
83 <property name="position">1</property>
84 </packing>
85 </child>
86 <style>
87 <class name="account-entry"/>
88 </style>
89 </object>
90 </child>
91 </object>
92 </child>
93 </object>
94 </child>
95 </object>
96 </child>
97 </object>
98 <packing>
99 <property name="expand">True</property>
100 <property name="fill">True</property>
101 <property name="position">1</property>
102 </packing>
103 </child>
104 </object>
105 </child>
106 </object>
107</interface>
diff --git a/resources/ui/messenger.ui b/resources/ui/messenger.ui
index 3d0ca2d..9076e67 100644
--- a/resources/ui/messenger.ui
+++ b/resources/ui/messenger.ui
@@ -373,7 +373,7 @@ Author: Tobias Frisch
373 </packing> 373 </packing>
374 </child> 374 </child>
375 <style> 375 <style>
376 <class name="profile-entry"/> 376 <class name="account-entry"/>
377 </style> 377 </style>
378 </object> 378 </object>
379 </child> 379 </child>
diff --git a/resources/ui/new_profile.ui b/resources/ui/new_account.ui
index 3cc568a..46d46f7 100644
--- a/resources/ui/new_profile.ui
+++ b/resources/ui/new_account.ui
@@ -23,7 +23,7 @@ Author: Tobias Frisch
23<interface> 23<interface>
24 <requires lib="gtk+" version="3.24"/> 24 <requires lib="gtk+" version="3.24"/>
25 <requires lib="libhandy" version="1.2"/> 25 <requires lib="libhandy" version="1.2"/>
26 <object class="GtkDialog" id="new_profile_dialog"> 26 <object class="GtkDialog" id="new_account_dialog">
27 <property name="can-focus">False</property> 27 <property name="can-focus">False</property>
28 <property name="modal">True</property> 28 <property name="modal">True</property>
29 <property name="window-position">center-on-parent</property> 29 <property name="window-position">center-on-parent</property>
@@ -79,7 +79,7 @@ Author: Tobias Frisch
79 <property name="orientation">vertical</property> 79 <property name="orientation">vertical</property>
80 <property name="spacing">4</property> 80 <property name="spacing">4</property>
81 <child> 81 <child>
82 <object class="HdyAvatar" id="profile_avatar"> 82 <object class="HdyAvatar" id="account_avatar">
83 <property name="visible">True</property> 83 <property name="visible">True</property>
84 <property name="can-focus">False</property> 84 <property name="can-focus">False</property>
85 <property name="halign">center</property> 85 <property name="halign">center</property>
@@ -108,7 +108,7 @@ Author: Tobias Frisch
108 </packing> 108 </packing>
109 </child> 109 </child>
110 <child> 110 <child>
111 <object class="GtkEntry" id="profile_entry"> 111 <object class="GtkEntry" id="account_entry">
112 <property name="width-request">250</property> 112 <property name="width-request">250</property>
113 <property name="visible">True</property> 113 <property name="visible">True</property>
114 <property name="can-focus">True</property> 114 <property name="can-focus">True</property>
@@ -120,7 +120,7 @@ Author: Tobias Frisch
120 </packing> 120 </packing>
121 </child> 121 </child>
122 <child> 122 <child>
123 <object class="GtkFileChooserButton" id="profile_avatar_file"> 123 <object class="GtkFileChooserButton" id="account_avatar_file">
124 <property name="visible">True</property> 124 <property name="visible">True</property>
125 <property name="can-focus">False</property> 125 <property name="can-focus">False</property>
126 <property name="title" translatable="yes"/> 126 <property name="title" translatable="yes"/>