aboutsummaryrefslogtreecommitdiff
path: root/contrib/gnunet_namestore_gtk_main_window.glade
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/gnunet_namestore_gtk_main_window.glade')
-rw-r--r--contrib/gnunet_namestore_gtk_main_window.glade550
1 files changed, 550 insertions, 0 deletions
diff --git a/contrib/gnunet_namestore_gtk_main_window.glade b/contrib/gnunet_namestore_gtk_main_window.glade
new file mode 100644
index 00000000..1082c510
--- /dev/null
+++ b/contrib/gnunet_namestore_gtk_main_window.glade
@@ -0,0 +1,550 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<interface>
3 <requires lib="gtk+" version="2.20"/>
4 <!-- interface-naming-policy toplevel-contextual -->
5 <object class="GtkDialog" id="gnunet_namestore_gtk_dialog">
6 <property name="can_focus">False</property>
7 <property name="border_width">5</property>
8 <property name="title" translatable="yes">gnunet-setup</property>
9 <property name="window_position">center</property>
10 <property name="icon_name">preferences-system</property>
11 <property name="type_hint">normal</property>
12 <signal name="destroy" handler="GNUNET_NAMESTORE_GTK_quit_cb" swapped="no"/>
13 <child internal-child="vbox">
14 <object class="GtkVBox" id="gnunet_namestore_gtk_dialog-vbox">
15 <property name="visible">True</property>
16 <property name="can_focus">False</property>
17 <property name="spacing">2</property>
18 <child>
19 <object class="GtkVBox" id="gnunet_namestore_gtk_gns_vbox">
20 <property name="can_focus">False</property>
21 <child>
22 <object class="GtkHBox" id="gnunet_namestore_gtk_gns_top_hbox">
23 <property name="visible">True</property>
24 <property name="can_focus">False</property>
25 <child>
26 <object class="GtkVBox" id="gnunet_namestore_gtk_gns_zone_vbox">
27 <property name="visible">True</property>
28 <property name="can_focus">False</property>
29 <child>
30 <object class="GtkHBox" id="gnunet_namestore_gtk_gns_zone_label_hbox">
31 <property name="visible">True</property>
32 <property name="can_focus">False</property>
33 <child>
34 <object class="GtkLabel" id="gnunet_namestore_gtk_gns_zone_label">
35 <property name="visible">True</property>
36 <property name="can_focus">False</property>
37 <property name="label" translatable="yes">&lt;b&gt;SET TO PUBLIC KEY OF THE ZONE&lt;/b&gt;</property>
38 <property name="use_markup">True</property>
39 </object>
40 <packing>
41 <property name="expand">True</property>
42 <property name="fill">True</property>
43 <property name="position">0</property>
44 </packing>
45 </child>
46 <child>
47 <object class="GtkButton" id="gnunet_namestore_gtk_gns_public_key_copy_button">
48 <property name="label">gtk-copy</property>
49 <property name="use_action_appearance">False</property>
50 <property name="visible">True</property>
51 <property name="can_focus">True</property>
52 <property name="receives_default">True</property>
53 <property name="use_stock">True</property>
54 <signal name="clicked" handler="gnunet_namestore_gtk_gns_public_key_copy_button_clicked_cb" swapped="no"/>
55 </object>
56 <packing>
57 <property name="expand">False</property>
58 <property name="fill">False</property>
59 <property name="padding">2</property>
60 <property name="position">1</property>
61 </packing>
62 </child>
63 </object>
64 <packing>
65 <property name="expand">False</property>
66 <property name="fill">False</property>
67 <property name="position">0</property>
68 </packing>
69 </child>
70 <child>
71 <object class="GtkHBox" id="gnunet_namestore_gtk_gns_pseu_hbox">
72 <property name="visible">True</property>
73 <property name="can_focus">False</property>
74 <child>
75 <object class="GtkLabel" id="gnunet_namestore_gtk_gns_pseu_label">
76 <property name="visible">True</property>
77 <property name="can_focus">False</property>
78 <property name="label" translatable="yes">Preferred zone name (PSEU):</property>
79 </object>
80 <packing>
81 <property name="expand">False</property>
82 <property name="fill">False</property>
83 <property name="padding">5</property>
84 <property name="position">0</property>
85 </packing>
86 </child>
87 <child>
88 <object class="GtkEntry" id="gnunet_namestore_gtk_gns_pseu_entry">
89 <property name="visible">True</property>
90 <property name="can_focus">True</property>
91 <property name="max_length">63</property>
92 <property name="invisible_char">●</property>
93 <property name="width_chars">32</property>
94 <property name="invisible_char_set">True</property>
95 <property name="primary_icon_activatable">False</property>
96 <property name="secondary_icon_activatable">False</property>
97 <property name="primary_icon_sensitive">True</property>
98 <property name="secondary_icon_sensitive">True</property>
99 <signal name="changed" handler="gnunet_namestore_gtk_gns_pseu_entry_changed_cb" swapped="no"/>
100 </object>
101 <packing>
102 <property name="expand">False</property>
103 <property name="fill">False</property>
104 <property name="padding">5</property>
105 <property name="position">1</property>
106 </packing>
107 </child>
108 </object>
109 <packing>
110 <property name="expand">False</property>
111 <property name="fill">False</property>
112 <property name="position">1</property>
113 </packing>
114 </child>
115 <child>
116 <object class="GtkHButtonBox" id="gnunet_namestore_gtk_gns_zone_selection_hbuttonbox">
117 <property name="visible">True</property>
118 <property name="can_focus">False</property>
119 <property name="layout_style">center</property>
120 <child>
121 <object class="GtkRadioButton" id="gnunet_namestore_gtk_gns_master_zone_selection_radiobutton">
122 <property name="label" translatable="yes">_Master Zone</property>
123 <property name="use_action_appearance">False</property>
124 <property name="visible">True</property>
125 <property name="can_focus">True</property>
126 <property name="receives_default">False</property>
127 <property name="use_underline">True</property>
128 <property name="active">True</property>
129 <property name="draw_indicator">True</property>
130 <signal name="toggled" handler="gnunet_namestore_gtk_gns_master_zone_selection_radiobutton_toggled_cb" swapped="no"/>
131 </object>
132 <packing>
133 <property name="expand">False</property>
134 <property name="fill">False</property>
135 <property name="padding">10</property>
136 <property name="position">0</property>
137 </packing>
138 </child>
139 <child>
140 <object class="GtkRadioButton" id="gnunet_namestore_gtk_gns_private_zone_selection_radiobutton">
141 <property name="label" translatable="yes">_Private Zone</property>
142 <property name="use_action_appearance">False</property>
143 <property name="visible">True</property>
144 <property name="can_focus">True</property>
145 <property name="receives_default">False</property>
146 <property name="use_underline">True</property>
147 <property name="draw_indicator">True</property>
148 <property name="group">gnunet_namestore_gtk_gns_master_zone_selection_radiobutton</property>
149 <signal name="toggled" handler="gnunet_namestore_gtk_gns_private_zone_selection_radiobutton_toggled_cb" swapped="no"/>
150 </object>
151 <packing>
152 <property name="expand">False</property>
153 <property name="fill">False</property>
154 <property name="padding">10</property>
155 <property name="position">1</property>
156 </packing>
157 </child>
158 <child>
159 <object class="GtkRadioButton" id="gnunet_namestore_gtk_gns_shorten_zone_selection_radiobutton">
160 <property name="label" translatable="yes">_Shorten Zone</property>
161 <property name="use_action_appearance">False</property>
162 <property name="visible">True</property>
163 <property name="can_focus">True</property>
164 <property name="receives_default">False</property>
165 <property name="use_underline">True</property>
166 <property name="draw_indicator">True</property>
167 <property name="group">gnunet_namestore_gtk_gns_master_zone_selection_radiobutton</property>
168 <signal name="toggled" handler="gnunet_namestore_gtk_gns_shorten_zone_selection_radiobutton_toggled_cb" swapped="no"/>
169 </object>
170 <packing>
171 <property name="expand">False</property>
172 <property name="fill">False</property>
173 <property name="padding">10</property>
174 <property name="position">2</property>
175 </packing>
176 </child>
177 </object>
178 <packing>
179 <property name="expand">False</property>
180 <property name="fill">False</property>
181 <property name="padding">5</property>
182 <property name="position">2</property>
183 </packing>
184 </child>
185 </object>
186 <packing>
187 <property name="expand">True</property>
188 <property name="fill">True</property>
189 <property name="position">0</property>
190 </packing>
191 </child>
192 <child>
193 <object class="GtkVSeparator" id="gnunet_namestore_gtk_gns_qr_vseparator">
194 <property name="visible">True</property>
195 <property name="can_focus">False</property>
196 </object>
197 <packing>
198 <property name="expand">True</property>
199 <property name="fill">True</property>
200 <property name="position">1</property>
201 </packing>
202 </child>
203 <child>
204 <object class="GtkImage" id="gnunet_namestore_gtk_gns_qr_image">
205 <property name="width_request">64</property>
206 <property name="height_request">64</property>
207 <property name="visible">True</property>
208 <property name="can_focus">False</property>
209 <property name="tooltip_text" translatable="yes">QR code for the selected zone</property>
210 <property name="stock">gtk-missing-image</property>
211 </object>
212 <packing>
213 <property name="expand">False</property>
214 <property name="fill">False</property>
215 <property name="position">2</property>
216 </packing>
217 </child>
218 <child>
219 <object class="GtkButton" id="gnunet_namestore_gtk_gns_qr_saveas_button">
220 <property name="label">gtk-save-as</property>
221 <property name="use_action_appearance">False</property>
222 <property name="visible">True</property>
223 <property name="can_focus">True</property>
224 <property name="receives_default">True</property>
225 <property name="use_stock">True</property>
226 <signal name="clicked" handler="gnunet_namestore_gtk_gns_qr_saveas_button_clicked_cb" swapped="no"/>
227 </object>
228 <packing>
229 <property name="expand">False</property>
230 <property name="fill">False</property>
231 <property name="padding">5</property>
232 <property name="position">3</property>
233 </packing>
234 </child>
235 </object>
236 <packing>
237 <property name="expand">False</property>
238 <property name="fill">False</property>
239 <property name="position">0</property>
240 </packing>
241 </child>
242 <child>
243 <object class="GtkLabel" id="gnunet_namestore_gtk_gns_status_label">
244 <property name="visible">True</property>
245 <property name="can_focus">False</property>
246 <property name="label" translatable="yes">&lt;b&gt;&lt;big&gt;Loading...&lt;/big&gt;&lt;/b&gt;</property>
247 <property name="use_markup">True</property>
248 </object>
249 <packing>
250 <property name="expand">False</property>
251 <property name="fill">True</property>
252 <property name="position">1</property>
253 </packing>
254 </child>
255 <child>
256 <object class="GtkScrolledWindow" id="gnunet_namestore_gtk_gns_main_scrolledwindow">
257 <property name="can_focus">True</property>
258 <property name="hscrollbar_policy">automatic</property>
259 <property name="vscrollbar_policy">automatic</property>
260 <child>
261 <object class="GtkTreeView" id="gnunet_namestore_gtk_gns_main_treeview">
262 <property name="visible">True</property>
263 <property name="can_focus">True</property>
264 <property name="model">gnunet_namestore_gtk_gns_treestore</property>
265 <property name="search_column">0</property>
266 <signal name="button-press-event" handler="gnunet_namestore_gtk_gns_main_treeview_button_press_event_cb" swapped="no"/>
267 <signal name="key-press-event" handler="gnunet_namestore_gtk_gns_main_treeview_key_press_event_cb" swapped="no"/>
268 <signal name="popup-menu" handler="gnunet_namestore_gtk_gns_main_treeview_popup_menu_cb" swapped="no"/>
269 <child>
270 <object class="GtkTreeViewColumn" id="gnunet_namestore_gtk_gns_name_treeviewcolumn">
271 <property name="title">Name</property>
272 <property name="clickable">True</property>
273 <property name="reorderable">True</property>
274 <property name="sort_indicator">True</property>
275 <property name="sort_column_id">0</property>
276 <child>
277 <object class="GtkCellRendererText" id="gnunet_namestore_gtk_gns_name_cellrenderertext">
278 <signal name="edited" handler="gnunet_namestore_gtk_gns_name_cellrenderertext_edited_cb" swapped="no"/>
279 </object>
280 <attributes>
281 <attribute name="visible">9</attribute>
282 <attribute name="background">13</attribute>
283 <attribute name="editable">16</attribute>
284 <attribute name="text">0</attribute>
285 </attributes>
286 </child>
287 </object>
288 </child>
289 <child>
290 <object class="GtkTreeViewColumn" id="gnunet_namestore_gtk_gns_type_treeviewcolumn">
291 <property name="sizing">autosize</property>
292 <property name="fixed_width">90</property>
293 <property name="title">Type</property>
294 <property name="clickable">True</property>
295 <property name="reorderable">True</property>
296 <property name="sort_indicator">True</property>
297 <property name="sort_column_id">3</property>
298 <child>
299 <object class="GtkCellRendererCombo" id="gnunet_namestore_gtk_gns_type_cellrenderercombo">
300 <property name="model">gnunet_namestore_gtk_gns_type_liststore</property>
301 <property name="text_column">1</property>
302 <signal name="edited" handler="gnunet_namestore_gtk_gns_type_cellrenderercombo_edited_cb" swapped="no"/>
303 </object>
304 <attributes>
305 <attribute name="visible">10</attribute>
306 <attribute name="editable">14</attribute>
307 <attribute name="text">3</attribute>
308 </attributes>
309 </child>
310 </object>
311 </child>
312 <child>
313 <object class="GtkTreeViewColumn" id="gnunet_namestore_gtk_gns_value_treeviewcolumn">
314 <property name="sizing">autosize</property>
315 <property name="title">Value</property>
316 <property name="expand">True</property>
317 <property name="clickable">True</property>
318 <property name="sort_column_id">7</property>
319 <child>
320 <object class="GtkCellRendererText" id="gnunet_namestore_gtk_gns_value_cellrenderertext"/>
321 <attributes>
322 <attribute name="sensitive">11</attribute>
323 <attribute name="visible">10</attribute>
324 <attribute name="background">8</attribute>
325 <attribute name="text">7</attribute>
326 </attributes>
327 </child>
328 </object>
329 </child>
330 <child>
331 <object class="GtkTreeViewColumn" id="gnunet_namestore_gtk_gns_expiration_treeviewcolumn">
332 <property name="title">Expiration</property>
333 <property name="clickable">True</property>
334 <property name="reorderable">True</property>
335 <property name="sort_indicator">True</property>
336 <property name="sort_column_id">4</property>
337 <child>
338 <object class="GtkCellRendererText" id="gnunet_namestore_gtk_gns_expiration_cellrenderertext"/>
339 <attributes>
340 <attribute name="sensitive">11</attribute>
341 <attribute name="visible">10</attribute>
342 <attribute name="background">12</attribute>
343 <attribute name="text">6</attribute>
344 </attributes>
345 </child>
346 </object>
347 </child>
348 <child>
349 <object class="GtkTreeViewColumn" id="gnunet_namestore_gtk_gns_ispublic_treeviewcolumn">
350 <property name="sizing">fixed</property>
351 <property name="fixed_width">50</property>
352 <property name="title">Public</property>
353 <property name="clickable">True</property>
354 <child>
355 <object class="GtkCellRendererToggle" id="gnunet_namestore_gtk_gns_ispublic_cellrenderertoggle">
356 <property name="sensitive">False</property>
357 </object>
358 <attributes>
359 <attribute name="visible">11</attribute>
360 <attribute name="active">1</attribute>
361 </attributes>
362 </child>
363 </object>
364 </child>
365 </object>
366 </child>
367 </object>
368 <packing>
369 <property name="expand">True</property>
370 <property name="fill">True</property>
371 <property name="position">2</property>
372 </packing>
373 </child>
374 </object>
375 <packing>
376 <property name="expand">True</property>
377 <property name="fill">True</property>
378 <property name="position">0</property>
379 </packing>
380 </child>
381 <child internal-child="action_area">
382 <object class="GtkHButtonBox" id="gnunet_namestore_gtk_dialog-action_area">
383 <property name="can_focus">False</property>
384 <property name="layout_style">end</property>
385 <child>
386 <object class="GtkButton" id="gnunet_namestore_gtk_cancel_button">
387 <property name="label">gtk-cancel</property>
388 <property name="use_action_appearance">False</property>
389 <property name="can_focus">True</property>
390 <property name="receives_default">True</property>
391 <property name="use_stock">True</property>
392 </object>
393 <packing>
394 <property name="expand">False</property>
395 <property name="fill">False</property>
396 <property name="position">0</property>
397 </packing>
398 </child>
399 <child>
400 <object class="GtkButton" id="gnunet_namestore_gtk_save_as_button">
401 <property name="label">gtk-save-as</property>
402 <property name="use_action_appearance">False</property>
403 <property name="can_focus">True</property>
404 <property name="receives_default">True</property>
405 <property name="use_stock">True</property>
406 </object>
407 <packing>
408 <property name="expand">False</property>
409 <property name="fill">False</property>
410 <property name="position">1</property>
411 </packing>
412 </child>
413 <child>
414 <object class="GtkButton" id="gnunet_namestore_gtk_save_button">
415 <property name="label">gtk-save</property>
416 <property name="use_action_appearance">False</property>
417 <property name="can_focus">True</property>
418 <property name="receives_default">True</property>
419 <property name="use_stock">True</property>
420 </object>
421 <packing>
422 <property name="expand">False</property>
423 <property name="fill">False</property>
424 <property name="position">2</property>
425 </packing>
426 </child>
427 </object>
428 <packing>
429 <property name="expand">False</property>
430 <property name="fill">True</property>
431 <property name="position">1</property>
432 </packing>
433 </child>
434 </object>
435 </child>
436 <action-widgets>
437 <action-widget response="-6">gnunet_namestore_gtk_cancel_button</action-widget>
438 <action-widget response="-5">gnunet_namestore_gtk_save_as_button</action-widget>
439 <action-widget response="-3">gnunet_namestore_gtk_save_button</action-widget>
440 </action-widgets>
441 </object>
442 <object class="GtkMenu" id="gnunet_namestore_gtk_gns_edit_popup_menu">
443 <property name="visible">True</property>
444 <property name="can_focus">False</property>
445 <child>
446 <object class="GtkMenuItem" id="gnunet_namestore_gtk_gns_popup_edit_button">
447 <property name="use_action_appearance">False</property>
448 <property name="visible">True</property>
449 <property name="can_focus">False</property>
450 <property name="tooltip_text" translatable="yes">Edit GNS entry</property>
451 <property name="label" translatable="yes">Edit</property>
452 <signal name="activate" handler="gnunet_namestore_gtk_gns_popup_edit_button_activate_cb" swapped="no"/>
453 </object>
454 </child>
455 </object>
456 <object class="GtkTreeStore" id="gnunet_namestore_gtk_gns_treestore">
457 <columns>
458 <!-- column-name name -->
459 <column type="gchararray"/>
460 <!-- column-name is_public -->
461 <column type="gboolean"/>
462 <!-- column-name record_type -->
463 <column type="guint"/>
464 <!-- column-name record_type_as_string -->
465 <column type="gchararray"/>
466 <!-- column-name expiration_time -->
467 <column type="guint64"/>
468 <!-- column-name expiration_time_is_relative -->
469 <column type="gboolean"/>
470 <!-- column-name expiration_time_as_string -->
471 <column type="gchararray"/>
472 <!-- column-name value_as_string -->
473 <column type="gchararray"/>
474 <!-- column-name value_color -->
475 <column type="gchararray"/>
476 <!-- column-name name_is_editable -->
477 <column type="gboolean"/>
478 <!-- column-name name_is_record_row -->
479 <column type="gboolean"/>
480 <!-- column-name not_dummy_row -->
481 <column type="gboolean"/>
482 <!-- column-name expiration_time_color -->
483 <column type="gchararray"/>
484 <!-- column-name name_color -->
485 <column type="gchararray"/>
486 <!-- column-name type_is_editable -->
487 <column type="gboolean"/>
488 <!-- column-name is_shadow -->
489 <column type="gboolean"/>
490 <!-- column-name name_is_editable1 -->
491 <column type="gboolean"/>
492 <!-- column-name record_offset -->
493 <column type="guint"/>
494 </columns>
495 </object>
496 <object class="GtkListStore" id="gnunet_namestore_gtk_gns_type_liststore">
497 <columns>
498 <!-- column-name type -->
499 <column type="guint"/>
500 <!-- column-name typename -->
501 <column type="gchararray"/>
502 </columns>
503 <data>
504 <row>
505 <col id="0">1</col>
506 <col id="1">A</col>
507 </row>
508 <row>
509 <col id="0">5</col>
510 <col id="1">CNAME</col>
511 </row>
512 <row>
513 <col id="0">6</col>
514 <col id="1">SOA</col>
515 </row>
516 <row>
517 <col id="0">12</col>
518 <col id="1">PTR</col>
519 </row>
520 <row>
521 <col id="0">15</col>
522 <col id="1">MX</col>
523 </row>
524 <row>
525 <col id="0">16</col>
526 <col id="1">TXT</col>
527 </row>
528 <row>
529 <col id="0">28</col>
530 <col id="1">AAAA</col>
531 </row>
532 <row>
533 <col id="0">65536</col>
534 <col id="1">PKEY</col>
535 </row>
536 <row>
537 <col id="0">65538</col>
538 <col id="1">LEHO</col>
539 </row>
540 <row>
541 <col id="0">65539</col>
542 <col id="1">VPN</col>
543 </row>
544 <row>
545 <col id="0">65540</col>
546 <col id="1">GNS2DNS</col>
547 </row>
548 </data>
549 </object>
550</interface>