aboutsummaryrefslogtreecommitdiff
path: root/contrib/gnunet_gns_gtk_main_window.glade
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/gnunet_gns_gtk_main_window.glade')
-rw-r--r--contrib/gnunet_gns_gtk_main_window.glade361
1 files changed, 361 insertions, 0 deletions
diff --git a/contrib/gnunet_gns_gtk_main_window.glade b/contrib/gnunet_gns_gtk_main_window.glade
new file mode 100644
index 00000000..2910a399
--- /dev/null
+++ b/contrib/gnunet_gns_gtk_main_window.glade
@@ -0,0 +1,361 @@
1<?xml version="1.0"?>
2<interface>
3 <requires lib="gtk+" version="2.16"/>
4 <!-- interface-naming-policy project-wide -->
5 <object class="GtkTreeStore" id="GNUNET_GNS_GTK_treestore">
6 <columns>
7 <!-- column-name name -->
8 <column type="gchararray"/>
9 <!-- column-name is_public -->
10 <column type="gboolean"/>
11 <!-- column-name record_type -->
12 <column type="guint"/>
13 <!-- column-name record_type_as_string -->
14 <column type="gchararray"/>
15 <!-- column-name expiration_time -->
16 <column type="guint64"/>
17 <!-- column-name expiration_time_is_relative -->
18 <column type="gboolean"/>
19 <!-- column-name expiration_time_as_string -->
20 <column type="gchararray"/>
21 <!-- column-name value_as_string -->
22 <column type="gchararray"/>
23 <!-- column-name value_color -->
24 <column type="gchararray"/>
25 </columns>
26 </object>
27 <object class="GtkListStore" id="GNUNET_GNS_GTK_type_liststore">
28 <columns>
29 <!-- column-name type -->
30 <column type="guint"/>
31 <!-- column-name typename -->
32 <column type="gchararray"/>
33 </columns>
34 <data>
35 <row>
36 <col id="0">1</col>
37 <col id="1" translatable="yes">A</col>
38 </row>
39 <row>
40 <col id="0">2</col>
41 <col id="1" translatable="yes">NS</col>
42 </row>
43 <row>
44 <col id="0">5</col>
45 <col id="1" translatable="yes">CNAME</col>
46 </row>
47 <row>
48 <col id="0">6</col>
49 <col id="1" translatable="yes">SOA</col>
50 </row>
51 <row>
52 <col id="0">12</col>
53 <col id="1" translatable="yes">PTR</col>
54 </row>
55 <row>
56 <col id="0">15</col>
57 <col id="1" translatable="yes">MX</col>
58 </row>
59 <row>
60 <col id="0">16</col>
61 <col id="1" translatable="yes">TXT</col>
62 </row>
63 <row>
64 <col id="0">28</col>
65 <col id="1" translatable="yes">AAAA</col>
66 </row>
67 <row>
68 <col id="0">65536</col>
69 <col id="1" translatable="yes">PKEY</col>
70 </row>
71 <row>
72 <col id="0">65537</col>
73 <col id="1" translatable="yes">PSEU</col>
74 </row>
75 </data>
76 </object>
77 <object class="GtkWindow" id="GNUNET_GNS_GTK_main_window">
78 <child>
79 <object class="GtkVBox" id="GNUNET_GNS_GTK_main_vbox">
80 <property name="visible">True</property>
81 <property name="orientation">vertical</property>
82 <child>
83 <object class="GtkMenuBar" id="GNUNET_GNS_GTK_menubar">
84 <property name="visible">True</property>
85 <child>
86 <object class="GtkMenuItem" id="GNUNET_GNS_GTK_file_menuitem">
87 <property name="visible">True</property>
88 <property name="label" translatable="yes">_File</property>
89 <property name="use_underline">True</property>
90 <child type="submenu">
91 <object class="GtkMenu" id="menu1">
92 <property name="visible">True</property>
93 <child>
94 <object class="GtkImageMenuItem" id="GNUNET_GNS_GTK_new_imagemenuitem">
95 <property name="label">gtk-new</property>
96 <property name="visible">True</property>
97 <property name="use_underline">True</property>
98 <property name="use_stock">True</property>
99 <signal name="activate" handler="GNUNET_GNS_GTK_new_imagemenuitem_activate_cb"/>
100 </object>
101 </child>
102 <child>
103 <object class="GtkImageMenuItem" id="GNUNET_GNS_GTK_open_imagemenuitem">
104 <property name="label">gtk-open</property>
105 <property name="visible">True</property>
106 <property name="use_underline">True</property>
107 <property name="use_stock">True</property>
108 <signal name="activate" handler="GNUNET_GNS_GTK_open_imagemenuitem_activate_cb"/>
109 </object>
110 </child>
111 <child>
112 <object class="GtkSeparatorMenuItem" id="separatormenuitem1">
113 <property name="visible">True</property>
114 </object>
115 </child>
116 <child>
117 <object class="GtkImageMenuItem" id="GNUNET_GNS_GTK_quit_imagemenuitem">
118 <property name="label">gtk-quit</property>
119 <property name="visible">True</property>
120 <property name="use_underline">True</property>
121 <property name="use_stock">True</property>
122 <signal name="activate" handler="GNUNET_GNS_GTK_quit_imagemenuitem_activate_cb"/>
123 </object>
124 </child>
125 </object>
126 </child>
127 </object>
128 </child>
129 <child>
130 <object class="GtkMenuItem" id="GNUNET_GNS_GTK_options_menuitem">
131 <property name="visible">True</property>
132 <property name="label" translatable="yes">_Options</property>
133 <property name="use_underline">True</property>
134 <child type="submenu">
135 <object class="GtkMenu" id="menu2">
136 <property name="visible">True</property>
137 <child>
138 <object class="GtkCheckMenuItem" id="GNUNET_GNS_GTK_autoshort_imagemenuitem">
139 <property name="visible">True</property>
140 <property name="label" translatable="yes">Automatically shorten names</property>
141 <property name="use_underline">True</property>
142 <signal name="toggled" handler="GNUNET_GNS_GTK_autoshort_imagemenuitem_toggled_cb"/>
143 </object>
144 </child>
145 </object>
146 </child>
147 </object>
148 </child>
149 <child>
150 <object class="GtkMenuItem" id="GNUNET_GNS_GTK_help_menuitem">
151 <property name="visible">True</property>
152 <property name="label" translatable="yes">_Help</property>
153 <property name="use_underline">True</property>
154 <child type="submenu">
155 <object class="GtkMenu" id="menu3">
156 <property name="visible">True</property>
157 <child>
158 <object class="GtkImageMenuItem" id="GNUNET_GNS_GTK_about_imagemenuitem">
159 <property name="label">gtk-about</property>
160 <property name="visible">True</property>
161 <property name="use_underline">True</property>
162 <property name="use_stock">True</property>
163 <signal name="activate" handler="GNUNET_GNS_GTK_about_imagemenuitem_activate_cb"/>
164 </object>
165 </child>
166 </object>
167 </child>
168 </object>
169 </child>
170 </object>
171 <packing>
172 <property name="expand">False</property>
173 <property name="position">0</property>
174 </packing>
175 </child>
176 <child>
177 <object class="GtkFrame" id="GNUNET_GNS_GTK_main_frame">
178 <property name="visible">True</property>
179 <property name="label_xalign">0</property>
180 <property name="shadow_type">none</property>
181 <child>
182 <object class="GtkAlignment" id="GNUNET_GNS_GTK_main_alignment">
183 <property name="visible">True</property>
184 <property name="left_padding">12</property>
185 <child>
186 <object class="GtkHBox" id="GNUNET_GNS_GTK_pseu_hbox">
187 <property name="visible">True</property>
188 <child>
189 <object class="GtkLabel" id="GNUNET_GNS_GTK_pseu_label">
190 <property name="visible">True</property>
191 <property name="label" translatable="yes">Preferred zone name (PSEU):</property>
192 </object>
193 <packing>
194 <property name="expand">False</property>
195 <property name="fill">False</property>
196 <property name="padding">5</property>
197 <property name="position">0</property>
198 </packing>
199 </child>
200 <child>
201 <object class="GtkEntry" id="GNUNET_GNS_GTK_pseu_entry">
202 <property name="visible">True</property>
203 <property name="can_focus">True</property>
204 <property name="tooltip_text" translatable="yes">Enter the preferred name for this zone here. The value will be stored in the PSEU record for your public key. This is the GNS equivalent of your domain name. You should try to pick a name that is globally unique.</property>
205 <property name="max_length">63</property>
206 <property name="invisible_char">&#x25CF;</property>
207 <signal name="changed" handler="GNUNET_GNS_GTK_pseu_entry_changed_cb"/>
208 </object>
209 <packing>
210 <property name="padding">5</property>
211 <property name="position">1</property>
212 </packing>
213 </child>
214 <child>
215 <object class="GtkButton" id="GNUNET_GNS_GTK_public_key_copy_button">
216 <property name="label">gtk-copy</property>
217 <property name="visible">True</property>
218 <property name="can_focus">True</property>
219 <property name="receives_default">True</property>
220 <property name="tooltip_text" translatable="yes">Copy the public key of this zone to the clipboard.</property>
221 <property name="use_stock">True</property>
222 <signal name="clicked" handler="GNUNET_GNS_GTK_public_key_copy_button_clicked_cb"/>
223 </object>
224 <packing>
225 <property name="expand">False</property>
226 <property name="fill">False</property>
227 <property name="padding">20</property>
228 <property name="position">2</property>
229 </packing>
230 </child>
231 </object>
232 </child>
233 </object>
234 </child>
235 <child type="label">
236 <object class="GtkLabel" id="GNUNET_GNS_GTK_zone_label">
237 <property name="visible">True</property>
238 <property name="label" translatable="yes">&lt;b&gt;SET TO PUBLIC KEY OF THE ZONE&lt;/b&gt;</property>
239 <property name="use_markup">True</property>
240 </object>
241 </child>
242 </object>
243 <packing>
244 <property name="expand">False</property>
245 <property name="fill">False</property>
246 <property name="padding">5</property>
247 <property name="position">1</property>
248 </packing>
249 </child>
250 <child>
251 <object class="GtkScrolledWindow" id="GNUNET_GNS_GTK_main_scrolledwindow">
252 <property name="visible">True</property>
253 <property name="can_focus">True</property>
254 <property name="hscrollbar_policy">automatic</property>
255 <property name="vscrollbar_policy">automatic</property>
256 <child>
257 <object class="GtkTreeView" id="GNUNET_GNS_GTK_main_treeview">
258 <property name="visible">True</property>
259 <property name="can_focus">True</property>
260 <property name="model">GNUNET_GNS_GTK_treestore</property>
261 <signal name="popup_menu" handler="GNUNET_GNS_GTK_main_treeview_popup_menu_cb"/>
262 <child>
263 <object class="GtkTreeViewColumn" id="GNUNET_GNS_GTK_name_treeviewcolumn">
264 <property name="title">Name</property>
265 <property name="clickable">True</property>
266 <property name="reorderable">True</property>
267 <property name="sort_indicator">True</property>
268 <property name="sort_column_id">0</property>
269 <child>
270 <object class="GtkCellRendererText" id="GNUNET_GNS_GTK_name_cellrenderertext">
271 <property name="editable">True</property>
272 <signal name="edited" handler="GNUNET_GNS_GTK_name_cellrenderertext_edited_cb"/>
273 </object>
274 <attributes>
275 <attribute name="text">0</attribute>
276 </attributes>
277 </child>
278 </object>
279 </child>
280 <child>
281 <object class="GtkTreeViewColumn" id="GNUNET_GNS_GTK_ispublic_treeviewcolumn">
282 <property name="sizing">fixed</property>
283 <property name="fixed_width">50</property>
284 <property name="title">Public</property>
285 <property name="clickable">True</property>
286 <child>
287 <object class="GtkCellRendererToggle" id="GNUNET_GNS_GTK_ispublic_cellrenderertoggle">
288 <signal name="toggled" handler="GNUNET_GNS_GTK_ispublic_cellrenderertoggle_toggled_cb"/>
289 </object>
290 <attributes>
291 <attribute name="active">1</attribute>
292 </attributes>
293 </child>
294 </object>
295 </child>
296 <child>
297 <object class="GtkTreeViewColumn" id="GNUNET_GNS_GTK_type_treeviewcolumn">
298 <property name="sizing">fixed</property>
299 <property name="fixed_width">59</property>
300 <property name="title">Type</property>
301 <property name="clickable">True</property>
302 <property name="reorderable">True</property>
303 <property name="sort_indicator">True</property>
304 <property name="sort_column_id">3</property>
305 <child>
306 <object class="GtkCellRendererCombo" id="GNUNET_GNS_GTK_type_cellrenderercombo">
307 <property name="editable">True</property>
308 <property name="model">GNUNET_GNS_GTK_type_liststore</property>
309 <signal name="changed" handler="GNUNET_GNS_GTK_type_cellrenderercombo_changed_cb"/>
310 </object>
311 <attributes>
312 <attribute name="text-column">3</attribute>
313 </attributes>
314 </child>
315 </object>
316 </child>
317 <child>
318 <object class="GtkTreeViewColumn" id="GNUNET_GNS_GTK_expiration_treeviewcolumn">
319 <property name="title">Expiration</property>
320 <property name="reorderable">True</property>
321 <property name="sort_indicator">True</property>
322 <property name="sort_column_id">4</property>
323 <child>
324 <object class="GtkCellRendererText" id="GNUNET_GNS_GTK_expiration_cellrenderertext">
325 <property name="editable">True</property>
326 <signal name="edited" handler="GNUNET_GNS_GTK_expiration_cellrenderertext_edited_cb"/>
327 </object>
328 <attributes>
329 <attribute name="text">6</attribute>
330 </attributes>
331 </child>
332 </object>
333 </child>
334 <child>
335 <object class="GtkTreeViewColumn" id="GNUNET_GNS_GTK_value_treeviewcolumn">
336 <property name="sizing">autosize</property>
337 <property name="title">Value</property>
338 <property name="expand">True</property>
339 <property name="sort_column_id">7</property>
340 <child>
341 <object class="GtkCellRendererText" id="GNUNET_GNS_GTK_value_cellrenderertext">
342 <signal name="edited" handler="GNUNET_GNS_GTK_value_cellrenderertext_edited_cb"/>
343 </object>
344 <attributes>
345 <attribute name="background">8</attribute>
346 <attribute name="text">7</attribute>
347 </attributes>
348 </child>
349 </object>
350 </child>
351 </object>
352 </child>
353 </object>
354 <packing>
355 <property name="position">2</property>
356 </packing>
357 </child>
358 </object>
359 </child>
360 </object>
361</interface>