diff options
author | TheJackiMonster <thejackimonster@gmail.com> | 2022-02-14 17:24:05 +0100 |
---|---|---|
committer | TheJackiMonster <thejackimonster@gmail.com> | 2022-02-14 17:24:05 +0100 |
commit | 1de05a83d54cb363199c2767e56267533cc11f0d (patch) | |
tree | 40fb3f115bf66d761d9ddde2bb5e4413642475d9 /resources/ui/new_account.ui | |
parent | 88224d5f616f4daaf28d8034765c3acd8ac87af2 (diff) | |
download | messenger-gtk-1de05a83d54cb363199c2767e56267533cc11f0d.tar.gz messenger-gtk-1de05a83d54cb363199c2767e56267533cc11f0d.zip |
Added dialog to pick account
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
Diffstat (limited to 'resources/ui/new_account.ui')
-rw-r--r-- | resources/ui/new_account.ui | 144 |
1 files changed, 144 insertions, 0 deletions
diff --git a/resources/ui/new_account.ui b/resources/ui/new_account.ui new file mode 100644 index 0000000..46d46f7 --- /dev/null +++ b/resources/ui/new_account.ui | |||
@@ -0,0 +1,144 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <!-- Generated with glade 3.38.2 | ||
3 | |||
4 | Copyright (C) 2021 GNUnet e.V. | ||
5 | |||
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 | ||
8 | by the Free Software Foundation, either version 3 of the License, | ||
9 | or (at your option) any later version. | ||
10 | |||
11 | GNUnet is distributed in the hope that it will be useful, but | ||
12 | WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
14 | Affero General Public License for more details. | ||
15 | |||
16 | You should have received a copy of the GNU Affero General Public License | ||
17 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
18 | |||
19 | SPDX-License-Identifier: AGPL3.0-or-later | ||
20 | Author: Tobias Frisch | ||
21 | |||
22 | --> | ||
23 | <interface> | ||
24 | <requires lib="gtk+" version="3.24"/> | ||
25 | <requires lib="libhandy" version="1.2"/> | ||
26 | <object class="GtkDialog" id="new_account_dialog"> | ||
27 | <property name="can-focus">False</property> | ||
28 | <property name="modal">True</property> | ||
29 | <property name="window-position">center-on-parent</property> | ||
30 | <property name="type-hint">dialog</property> | ||
31 | <child internal-child="vbox"> | ||
32 | <object class="GtkBox"> | ||
33 | <property name="can-focus">False</property> | ||
34 | <property name="orientation">vertical</property> | ||
35 | <property name="spacing">2</property> | ||
36 | <child internal-child="action_area"> | ||
37 | <object class="GtkButtonBox"> | ||
38 | <property name="can-focus">False</property> | ||
39 | <property name="layout-style">end</property> | ||
40 | <child> | ||
41 | <object class="GtkButton" id="cancel_button"> | ||
42 | <property name="label" translatable="yes">Cancel</property> | ||
43 | <property name="visible">True</property> | ||
44 | <property name="can-focus">True</property> | ||
45 | <property name="receives-default">True</property> | ||
46 | </object> | ||
47 | <packing> | ||
48 | <property name="expand">True</property> | ||
49 | <property name="fill">True</property> | ||
50 | <property name="position">0</property> | ||
51 | </packing> | ||
52 | </child> | ||
53 | <child> | ||
54 | <object class="GtkButton" id="confirm_button"> | ||
55 | <property name="label" translatable="yes">Confirm</property> | ||
56 | <property name="visible">True</property> | ||
57 | <property name="can-focus">True</property> | ||
58 | <property name="receives-default">True</property> | ||
59 | </object> | ||
60 | <packing> | ||
61 | <property name="expand">True</property> | ||
62 | <property name="fill">True</property> | ||
63 | <property name="position">3</property> | ||
64 | </packing> | ||
65 | </child> | ||
66 | </object> | ||
67 | <packing> | ||
68 | <property name="expand">False</property> | ||
69 | <property name="fill">False</property> | ||
70 | <property name="position">0</property> | ||
71 | </packing> | ||
72 | </child> | ||
73 | <child> | ||
74 | <object class="GtkBox"> | ||
75 | <property name="visible">True</property> | ||
76 | <property name="can-focus">False</property> | ||
77 | <property name="halign">center</property> | ||
78 | <property name="border-width">8</property> | ||
79 | <property name="orientation">vertical</property> | ||
80 | <property name="spacing">4</property> | ||
81 | <child> | ||
82 | <object class="HdyAvatar" id="account_avatar"> | ||
83 | <property name="visible">True</property> | ||
84 | <property name="can-focus">False</property> | ||
85 | <property name="halign">center</property> | ||
86 | <property name="margin-top">8</property> | ||
87 | <property name="margin-bottom">8</property> | ||
88 | <property name="icon-name">avatar-default-symbolic</property> | ||
89 | <property name="size">128</property> | ||
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"> | ||
99 | <property name="visible">True</property> | ||
100 | <property name="can-focus">False</property> | ||
101 | <property name="label" translatable="yes">Name:</property> | ||
102 | <property name="xalign">0</property> | ||
103 | </object> | ||
104 | <packing> | ||
105 | <property name="expand">False</property> | ||
106 | <property name="fill">True</property> | ||
107 | <property name="position">1</property> | ||
108 | </packing> | ||
109 | </child> | ||
110 | <child> | ||
111 | <object class="GtkEntry" id="account_entry"> | ||
112 | <property name="width-request">250</property> | ||
113 | <property name="visible">True</property> | ||
114 | <property name="can-focus">True</property> | ||
115 | </object> | ||
116 | <packing> | ||
117 | <property name="expand">False</property> | ||
118 | <property name="fill">True</property> | ||
119 | <property name="position">2</property> | ||
120 | </packing> | ||
121 | </child> | ||
122 | <child> | ||
123 | <object class="GtkFileChooserButton" id="account_avatar_file"> | ||
124 | <property name="visible">True</property> | ||
125 | <property name="can-focus">False</property> | ||
126 | <property name="title" translatable="yes"/> | ||
127 | </object> | ||
128 | <packing> | ||
129 | <property name="expand">False</property> | ||
130 | <property name="fill">True</property> | ||
131 | <property name="position">3</property> | ||
132 | </packing> | ||
133 | </child> | ||
134 | </object> | ||
135 | <packing> | ||
136 | <property name="expand">False</property> | ||
137 | <property name="fill">True</property> | ||
138 | <property name="position">1</property> | ||
139 | </packing> | ||
140 | </child> | ||
141 | </object> | ||
142 | </child> | ||
143 | </object> | ||
144 | </interface> | ||