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