diff options
Diffstat (limited to 'resources/ui/new_contact.ui')
-rw-r--r-- | resources/ui/new_contact.ui | 131 |
1 files changed, 131 insertions, 0 deletions
diff --git a/resources/ui/new_contact.ui b/resources/ui/new_contact.ui new file mode 100644 index 0000000..8788a26 --- /dev/null +++ b/resources/ui/new_contact.ui | |||
@@ -0,0 +1,131 @@ | |||
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 | <object class="GtkDialog" id="new_contact_dialog"> | ||
26 | <property name="can-focus">False</property> | ||
27 | <property name="modal">True</property> | ||
28 | <property name="window-position">center-on-parent</property> | ||
29 | <property name="type-hint">dialog</property> | ||
30 | <child internal-child="vbox"> | ||
31 | <object class="GtkBox"> | ||
32 | <property name="can-focus">False</property> | ||
33 | <property name="orientation">vertical</property> | ||
34 | <property name="spacing">2</property> | ||
35 | <child internal-child="action_area"> | ||
36 | <object class="GtkButtonBox"> | ||
37 | <property name="can-focus">False</property> | ||
38 | <property name="layout-style">end</property> | ||
39 | <child> | ||
40 | <object class="GtkButton" id="cancel_button"> | ||
41 | <property name="label" translatable="yes">Cancel</property> | ||
42 | <property name="visible">True</property> | ||
43 | <property name="can-focus">True</property> | ||
44 | <property name="receives-default">True</property> | ||
45 | </object> | ||
46 | <packing> | ||
47 | <property name="expand">True</property> | ||
48 | <property name="fill">True</property> | ||
49 | <property name="position">0</property> | ||
50 | </packing> | ||
51 | </child> | ||
52 | <child> | ||
53 | <object class="GtkButton" id="confirm_button"> | ||
54 | <property name="label" translatable="yes">Accept</property> | ||
55 | <property name="visible">True</property> | ||
56 | <property name="can-focus">True</property> | ||
57 | <property name="receives-default">True</property> | ||
58 | </object> | ||
59 | <packing> | ||
60 | <property name="expand">True</property> | ||
61 | <property name="fill">True</property> | ||
62 | <property name="position">1</property> | ||
63 | </packing> | ||
64 | </child> | ||
65 | </object> | ||
66 | <packing> | ||
67 | <property name="expand">False</property> | ||
68 | <property name="fill">False</property> | ||
69 | <property name="position">0</property> | ||
70 | </packing> | ||
71 | </child> | ||
72 | <child> | ||
73 | <object class="GtkBox"> | ||
74 | <property name="visible">True</property> | ||
75 | <property name="can-focus">False</property> | ||
76 | <property name="halign">center</property> | ||
77 | <property name="margin-start">8</property> | ||
78 | <property name="margin-end">8</property> | ||
79 | <property name="margin-top">8</property> | ||
80 | <property name="margin-bottom">8</property> | ||
81 | <property name="orientation">vertical</property> | ||
82 | <property name="spacing">4</property> | ||
83 | <child> | ||
84 | <object class="GtkDrawingArea" id="id_drawing_area"> | ||
85 | <property name="height-request">250</property> | ||
86 | <property name="visible">True</property> | ||
87 | <property name="can-focus">False</property> | ||
88 | </object> | ||
89 | <packing> | ||
90 | <property name="expand">True</property> | ||
91 | <property name="fill">True</property> | ||
92 | <property name="position">0</property> | ||
93 | </packing> | ||
94 | </child> | ||
95 | <child> | ||
96 | <object class="GtkLabel"> | ||
97 | <property name="visible">True</property> | ||
98 | <property name="can-focus">False</property> | ||
99 | <property name="label" translatable="yes">ID:</property> | ||
100 | <property name="xalign">0</property> | ||
101 | </object> | ||
102 | <packing> | ||
103 | <property name="expand">False</property> | ||
104 | <property name="fill">True</property> | ||
105 | <property name="position">1</property> | ||
106 | </packing> | ||
107 | </child> | ||
108 | <child> | ||
109 | <object class="GtkEntry" id="id_entry"> | ||
110 | <property name="width-request">250</property> | ||
111 | <property name="visible">True</property> | ||
112 | <property name="can-focus">True</property> | ||
113 | <property name="editable">False</property> | ||
114 | </object> | ||
115 | <packing> | ||
116 | <property name="expand">False</property> | ||
117 | <property name="fill">True</property> | ||
118 | <property name="position">2</property> | ||
119 | </packing> | ||
120 | </child> | ||
121 | </object> | ||
122 | <packing> | ||
123 | <property name="expand">False</property> | ||
124 | <property name="fill">True</property> | ||
125 | <property name="position">1</property> | ||
126 | </packing> | ||
127 | </child> | ||
128 | </object> | ||
129 | </child> | ||
130 | </object> | ||
131 | </interface> | ||