diff options
Diffstat (limited to 'contrib/gnunet_fs_gtk_namespace_manager.glade')
-rw-r--r-- | contrib/gnunet_fs_gtk_namespace_manager.glade | 628 |
1 files changed, 628 insertions, 0 deletions
diff --git a/contrib/gnunet_fs_gtk_namespace_manager.glade b/contrib/gnunet_fs_gtk_namespace_manager.glade new file mode 100644 index 00000000..211d4738 --- /dev/null +++ b/contrib/gnunet_fs_gtk_namespace_manager.glade | |||
@@ -0,0 +1,628 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <interface> | ||
3 | <requires lib="gtk+" version="2.24"/> | ||
4 | <!-- interface-naming-policy project-wide --> | ||
5 | <object class="GtkListStore" id="GNUNET_GTK_namespace_manager_known_liststore"> | ||
6 | <columns> | ||
7 | <!-- column-name IsMine --> | ||
8 | <column type="gboolean"/> | ||
9 | <!-- column-name Rank --> | ||
10 | <column type="gint"/> | ||
11 | <!-- column-name NamespaceName --> | ||
12 | <column type="gchararray"/> | ||
13 | <!-- column-name NamespaceKey --> | ||
14 | <column type="gchararray"/> | ||
15 | <!-- column-name NamespaceKeyBinary --> | ||
16 | <column type="gpointer"/> | ||
17 | <!-- column-name OrderListRowReference --> | ||
18 | <column type="gpointer"/> | ||
19 | <!-- column-name MetaData --> | ||
20 | <column type="gpointer"/> | ||
21 | <!-- column-name NonUniqueName --> | ||
22 | <column type="gchararray"/> | ||
23 | </columns> | ||
24 | </object> | ||
25 | <object class="GtkAdjustment" id="GNUNET_GTK_namespace_manager_known_namespaces_hadj"> | ||
26 | <property name="upper">100</property> | ||
27 | <property name="step_increment">1</property> | ||
28 | <property name="page_increment">10</property> | ||
29 | </object> | ||
30 | <object class="GtkAdjustment" id="GNUNET_GTK_namespace_manager_known_namespaces_vadj"> | ||
31 | <property name="upper">100</property> | ||
32 | <property name="step_increment">1</property> | ||
33 | <property name="page_increment">10</property> | ||
34 | </object> | ||
35 | <object class="GtkAdjustment" id="GNUNET_GTK_namespace_manager_namespace_details_hadj"> | ||
36 | <property name="upper">100</property> | ||
37 | <property name="step_increment">1</property> | ||
38 | <property name="page_increment">10</property> | ||
39 | </object> | ||
40 | <object class="GtkDialog" id="GNUNET_GTK_namespace_manager_dialog"> | ||
41 | <property name="can_focus">False</property> | ||
42 | <property name="border_width">5</property> | ||
43 | <property name="destroy_with_parent">True</property> | ||
44 | <property name="type_hint">dialog</property> | ||
45 | <property name="has_separator">True</property> | ||
46 | <signal name="response" handler="GNUNET_GTK_namespace_manager_dialog_response_cb" swapped="no"/> | ||
47 | <child internal-child="vbox"> | ||
48 | <object class="GtkVBox" id="GNUNET_GTK_namespace_manager_vbox"> | ||
49 | <property name="visible">True</property> | ||
50 | <property name="can_focus">False</property> | ||
51 | <property name="spacing">2</property> | ||
52 | <child internal-child="action_area"> | ||
53 | <object class="GtkHButtonBox" id="GNUNET_GTK_namespace_manager_action_area"> | ||
54 | <property name="visible">True</property> | ||
55 | <property name="can_focus">False</property> | ||
56 | <property name="layout_style">end</property> | ||
57 | <child> | ||
58 | <object class="GtkButton" id="GNUNET_GTK_namespace_manager_apply_button"> | ||
59 | <property name="label">gtk-apply</property> | ||
60 | <property name="use_action_appearance">False</property> | ||
61 | <property name="visible">True</property> | ||
62 | <property name="can_focus">True</property> | ||
63 | <property name="receives_default">True</property> | ||
64 | <property name="tooltip_text" translatable="yes">Saves all changes made in this dialog to disk without closing the dialog.</property> | ||
65 | <property name="use_stock">True</property> | ||
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="GtkButton" id="GNUNET_GTK_namespace_manager_ok_button"> | ||
75 | <property name="label">gtk-ok</property> | ||
76 | <property name="use_action_appearance">False</property> | ||
77 | <property name="visible">True</property> | ||
78 | <property name="can_focus">True</property> | ||
79 | <property name="receives_default">True</property> | ||
80 | <property name="tooltip_text" translatable="yes">Saves all changes made in this dialog to disk and closes the dialog.</property> | ||
81 | <property name="use_stock">True</property> | ||
82 | </object> | ||
83 | <packing> | ||
84 | <property name="expand">False</property> | ||
85 | <property name="fill">False</property> | ||
86 | <property name="position">1</property> | ||
87 | </packing> | ||
88 | </child> | ||
89 | <child> | ||
90 | <object class="GtkButton" id="GNUNET_GTK_namespace_manager_cancel_button"> | ||
91 | <property name="label">gtk-cancel</property> | ||
92 | <property name="use_action_appearance">False</property> | ||
93 | <property name="visible">True</property> | ||
94 | <property name="can_focus">True</property> | ||
95 | <property name="receives_default">True</property> | ||
96 | <property name="tooltip_text" translatable="yes">Closes the dialog. Changes made in this dialog will not be preserved.</property> | ||
97 | <property name="use_stock">True</property> | ||
98 | </object> | ||
99 | <packing> | ||
100 | <property name="expand">False</property> | ||
101 | <property name="fill">False</property> | ||
102 | <property name="position">2</property> | ||
103 | </packing> | ||
104 | </child> | ||
105 | </object> | ||
106 | <packing> | ||
107 | <property name="expand">False</property> | ||
108 | <property name="fill">True</property> | ||
109 | <property name="pack_type">end</property> | ||
110 | <property name="position">0</property> | ||
111 | </packing> | ||
112 | </child> | ||
113 | <child> | ||
114 | <object class="GtkVPaned" id="GNUNET_GTK_namespace_manager_main_vpaned"> | ||
115 | <property name="visible">True</property> | ||
116 | <property name="can_focus">True</property> | ||
117 | <child> | ||
118 | <object class="GtkHPaned" id="GNUNET_GTK_namespace_manager_top_hpaned"> | ||
119 | <property name="visible">True</property> | ||
120 | <property name="can_focus">True</property> | ||
121 | <child> | ||
122 | <object class="GtkVBox" id="GNUNET_GTK_namespace_manager_known_namespaces_vbox"> | ||
123 | <property name="visible">True</property> | ||
124 | <property name="can_focus">False</property> | ||
125 | <child> | ||
126 | <object class="GtkLabel" id="GNUNET_GTK_namespace_manager_known_namespaces_label"> | ||
127 | <property name="visible">True</property> | ||
128 | <property name="can_focus">False</property> | ||
129 | <property name="label" translatable="yes">Known namespaces: | ||
130 | Select a namespace to see its complete metadata. Click "Delete" to delete (forget) namespace. | ||
131 | Namespace names are editable.</property> | ||
132 | </object> | ||
133 | <packing> | ||
134 | <property name="expand">False</property> | ||
135 | <property name="fill">False</property> | ||
136 | <property name="position">0</property> | ||
137 | </packing> | ||
138 | </child> | ||
139 | <child> | ||
140 | <object class="GtkScrolledWindow" id="GNUNET_GTK_namespace_manager_known_namespaces_scrolledwindow"> | ||
141 | <property name="visible">True</property> | ||
142 | <property name="can_focus">True</property> | ||
143 | <property name="hadjustment">GNUNET_GTK_namespace_manager_known_namespaces_hadj</property> | ||
144 | <property name="vadjustment">GNUNET_GTK_namespace_manager_known_namespaces_vadj</property> | ||
145 | <property name="hscrollbar_policy">automatic</property> | ||
146 | <property name="vscrollbar_policy">automatic</property> | ||
147 | <property name="shadow_type">in</property> | ||
148 | <child> | ||
149 | <object class="GtkTreeView" id="GNUNET_GTK_namespace_manager_known_treeview"> | ||
150 | <property name="visible">True</property> | ||
151 | <property name="can_focus">True</property> | ||
152 | <property name="model">GNUNET_GTK_namespace_manager_known_liststore</property> | ||
153 | <property name="hadjustment">GNUNET_GTK_namespace_manager_known_namespaces_hadj</property> | ||
154 | <property name="vadjustment">GNUNET_GTK_namespace_manager_known_namespaces_vadj</property> | ||
155 | <property name="rules_hint">True</property> | ||
156 | <property name="search_column">2</property> | ||
157 | <property name="show_expanders">False</property> | ||
158 | <child> | ||
159 | <object class="GtkTreeViewColumn" id="GNUNET_GTK_namespace_manager_is_mine_column"> | ||
160 | <property name="title" translatable="yes">Is mine</property> | ||
161 | <property name="clickable">True</property> | ||
162 | <property name="sort_indicator">True</property> | ||
163 | <property name="sort_column_id">0</property> | ||
164 | <child> | ||
165 | <object class="GtkCellRendererToggle" id="GNUNET_GTK_namespace_manager_is_mine_toggle"> | ||
166 | <property name="activatable">False</property> | ||
167 | </object> | ||
168 | <attributes> | ||
169 | <attribute name="active">0</attribute> | ||
170 | </attributes> | ||
171 | </child> | ||
172 | </object> | ||
173 | </child> | ||
174 | <child> | ||
175 | <object class="GtkTreeViewColumn" id="GNUNET_GTK_namespace_manager_rank_column"> | ||
176 | <property name="title" translatable="yes">Rank</property> | ||
177 | <property name="clickable">True</property> | ||
178 | <property name="sort_indicator">True</property> | ||
179 | <property name="sort_column_id">1</property> | ||
180 | <child> | ||
181 | <object class="GtkCellRendererText" id="GNUNET_GTK_namespace_manager_rank_text"/> | ||
182 | <attributes> | ||
183 | <attribute name="text">1</attribute> | ||
184 | </attributes> | ||
185 | </child> | ||
186 | </object> | ||
187 | </child> | ||
188 | <child> | ||
189 | <object class="GtkTreeViewColumn" id="GNUNET_GTK_namespace_manager_namespace_name_column"> | ||
190 | <property name="title" translatable="yes">Name</property> | ||
191 | <property name="clickable">True</property> | ||
192 | <property name="sort_indicator">True</property> | ||
193 | <property name="sort_column_id">2</property> | ||
194 | <child> | ||
195 | <object class="GtkCellRendererText" id="GNUNET_GTK_namespace_manager_name_text"> | ||
196 | <property name="editable">True</property> | ||
197 | <signal name="editing-started" handler="GNUNET_GTK_namespace_manager_name_text_editing_started_cb" swapped="no"/> | ||
198 | <signal name="edited" handler="GNUNET_GTK_namespace_manager_name_text_edited_cb" swapped="no"/> | ||
199 | </object> | ||
200 | <attributes> | ||
201 | <attribute name="text">2</attribute> | ||
202 | </attributes> | ||
203 | </child> | ||
204 | </object> | ||
205 | </child> | ||
206 | <child> | ||
207 | <object class="GtkTreeViewColumn" id="GNUNET_GTK_namespace_manager_namespace_id_column"> | ||
208 | <property name="title" translatable="yes">Identifier</property> | ||
209 | <property name="clickable">True</property> | ||
210 | <property name="sort_indicator">True</property> | ||
211 | <property name="sort_column_id">3</property> | ||
212 | <child> | ||
213 | <object class="GtkCellRendererText" id="GNUNET_GTK_namespace_manager_namespace_id_text"/> | ||
214 | <attributes> | ||
215 | <attribute name="text">3</attribute> | ||
216 | </attributes> | ||
217 | </child> | ||
218 | </object> | ||
219 | </child> | ||
220 | </object> | ||
221 | </child> | ||
222 | </object> | ||
223 | <packing> | ||
224 | <property name="expand">True</property> | ||
225 | <property name="fill">True</property> | ||
226 | <property name="position">1</property> | ||
227 | </packing> | ||
228 | </child> | ||
229 | <child> | ||
230 | <object class="GtkHButtonBox" id="GNUNET_GTK_namespace_manager_known_namespaces_buttonbox"> | ||
231 | <property name="visible">True</property> | ||
232 | <property name="can_focus">False</property> | ||
233 | <property name="extension_events">cursor</property> | ||
234 | <property name="border_width">5</property> | ||
235 | <property name="spacing">5</property> | ||
236 | <property name="layout_style">end</property> | ||
237 | <child> | ||
238 | <object class="GtkButton" id="GNUNET_GTK_namespace_manager_known_namespaces_delete_button"> | ||
239 | <property name="label">gtk-delete</property> | ||
240 | <property name="use_action_appearance">False</property> | ||
241 | <property name="visible">True</property> | ||
242 | <property name="can_focus">True</property> | ||
243 | <property name="receives_default">True</property> | ||
244 | <property name="tooltip_text" translatable="yes">Makes GNUnet "forget" about selected known namespace. | ||
245 | However, GNUnet will be able to learn about this namespace, if it ever discovers it again.</property> | ||
246 | <property name="use_stock">True</property> | ||
247 | <signal name="clicked" handler="GNUNET_GTK_namespace_manager_known_namespaces_delete_button_clicked_cb" swapped="no"/> | ||
248 | </object> | ||
249 | <packing> | ||
250 | <property name="expand">False</property> | ||
251 | <property name="fill">False</property> | ||
252 | <property name="position">0</property> | ||
253 | </packing> | ||
254 | </child> | ||
255 | <child> | ||
256 | <object class="GtkButton" id="GNUNET_GTK_namespace_manager_known_namespaces_swap_rank_button"> | ||
257 | <property name="label" translatable="yes">Swap _Rank</property> | ||
258 | <property name="use_action_appearance">False</property> | ||
259 | <property name="visible">True</property> | ||
260 | <property name="can_focus">True</property> | ||
261 | <property name="receives_default">True</property> | ||
262 | <property name="tooltip_text" translatable="yes">Changes the rank value of the selected namespace in "Known namespaces" list. | ||
263 | If it had rank 0, it's given rank -1, otherwise the sign of its rank is flipped. | ||
264 | Only namespaces with positive ranks are displayed in "Namespace order" list.</property> | ||
265 | <property name="use_underline">True</property> | ||
266 | <signal name="clicked" handler="GNUNET_GTK_namespace_manager_known_namespaces_swap_rank_button_clicked_cb" swapped="no"/> | ||
267 | </object> | ||
268 | <packing> | ||
269 | <property name="expand">False</property> | ||
270 | <property name="fill">False</property> | ||
271 | <property name="position">1</property> | ||
272 | </packing> | ||
273 | </child> | ||
274 | </object> | ||
275 | <packing> | ||
276 | <property name="expand">False</property> | ||
277 | <property name="fill">False</property> | ||
278 | <property name="position">2</property> | ||
279 | </packing> | ||
280 | </child> | ||
281 | </object> | ||
282 | <packing> | ||
283 | <property name="resize">True</property> | ||
284 | <property name="shrink">False</property> | ||
285 | </packing> | ||
286 | </child> | ||
287 | <child> | ||
288 | <object class="GtkVBox" id="GNUNET_GTK_namespace_manager_namespace_order_vbox_vbox"> | ||
289 | <property name="visible">True</property> | ||
290 | <property name="can_focus">False</property> | ||
291 | <child> | ||
292 | <object class="GtkLabel" id="GNUNET_GTK_namespace_manager_namespace_order_label"> | ||
293 | <property name="visible">True</property> | ||
294 | <property name="can_focus">False</property> | ||
295 | <property name="label" translatable="yes">Namespace order: | ||
296 | Drag rows to change namespace order, click "Apply" to save it.</property> | ||
297 | </object> | ||
298 | <packing> | ||
299 | <property name="expand">False</property> | ||
300 | <property name="fill">False</property> | ||
301 | <property name="position">0</property> | ||
302 | </packing> | ||
303 | </child> | ||
304 | <child> | ||
305 | <object class="GtkScrolledWindow" id="GNUNET_GTK_namespace_manager_namespace_order_scrolledwindow"> | ||
306 | <property name="visible">True</property> | ||
307 | <property name="can_focus">True</property> | ||
308 | <property name="hadjustment">GNUNET_GTK_namespace_manager_namespace_order_hadj</property> | ||
309 | <property name="vadjustment">GNUNET_GTK_namespace_manager_namespace_order_vadj</property> | ||
310 | <property name="hscrollbar_policy">automatic</property> | ||
311 | <property name="vscrollbar_policy">automatic</property> | ||
312 | <property name="shadow_type">in</property> | ||
313 | <child> | ||
314 | <object class="GtkTreeView" id="GNUNET_GTK_namespace_manager_namespace_order_treeview"> | ||
315 | <property name="visible">True</property> | ||
316 | <property name="can_focus">True</property> | ||
317 | <property name="model">GNUNET_GTK_namespace_manager_namespace_order_liststore</property> | ||
318 | <property name="hadjustment">GNUNET_GTK_namespace_manager_namespace_order_hadj</property> | ||
319 | <property name="vadjustment">GNUNET_GTK_namespace_manager_namespace_order_vadj</property> | ||
320 | <property name="headers_clickable">False</property> | ||
321 | <property name="reorderable">True</property> | ||
322 | <property name="rules_hint">True</property> | ||
323 | <property name="search_column">0</property> | ||
324 | <property name="show_expanders">False</property> | ||
325 | <property name="rubber_banding">True</property> | ||
326 | <child> | ||
327 | <object class="GtkTreeViewColumn" id="GNUNET_GTK_namespace_manager_namespace_order_rank_column"> | ||
328 | <property name="title" translatable="yes">Rank</property> | ||
329 | <property name="clickable">True</property> | ||
330 | <signal name="clicked" handler="GNUNET_GTK_namespace_manager_namespace_order_column_clicked_cb" swapped="no"/> | ||
331 | <child> | ||
332 | <object class="GtkCellRendererText" id="GNUNET_GTK_namespace_manager_namespace_order_rank_text"/> | ||
333 | <attributes> | ||
334 | <attribute name="text">0</attribute> | ||
335 | </attributes> | ||
336 | </child> | ||
337 | </object> | ||
338 | </child> | ||
339 | <child> | ||
340 | <object class="GtkTreeViewColumn" id="GNUNET_GTK_namespace_manager_namespace_order_name_column"> | ||
341 | <property name="title" translatable="yes">Name</property> | ||
342 | <property name="clickable">True</property> | ||
343 | <signal name="clicked" handler="GNUNET_GTK_namespace_manager_namespace_order_column_clicked_cb" swapped="no"/> | ||
344 | <child> | ||
345 | <object class="GtkCellRendererText" id="GNUNET_GTK_namespace_manager_namespace_order_name_text"/> | ||
346 | <attributes> | ||
347 | <attribute name="text">1</attribute> | ||
348 | </attributes> | ||
349 | </child> | ||
350 | </object> | ||
351 | </child> | ||
352 | <child> | ||
353 | <object class="GtkTreeViewColumn" id="GNUNET_GTK_namespace_manager_namespace_order_identifier_column"> | ||
354 | <property name="title" translatable="yes">Identifier</property> | ||
355 | <property name="clickable">True</property> | ||
356 | <signal name="clicked" handler="GNUNET_GTK_namespace_manager_namespace_order_column_clicked_cb" swapped="no"/> | ||
357 | <child> | ||
358 | <object class="GtkCellRendererText" id="GNUNET_GTK_namespace_manager_namespace_order_identifier_text"/> | ||
359 | <attributes> | ||
360 | <attribute name="text">2</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">1</property> | ||
372 | </packing> | ||
373 | </child> | ||
374 | <child> | ||
375 | <object class="GtkHButtonBox" id="GNUNET_GTK_namespace_manager_namespace_order_buttonbox"> | ||
376 | <property name="visible">True</property> | ||
377 | <property name="can_focus">False</property> | ||
378 | <property name="border_width">5</property> | ||
379 | <property name="layout_style">end</property> | ||
380 | <child> | ||
381 | <object class="GtkButton" id="GNUNET_GTK_namespace_manager_namespace_order_apply"> | ||
382 | <property name="label">gtk-apply</property> | ||
383 | <property name="use_action_appearance">False</property> | ||
384 | <property name="visible">True</property> | ||
385 | <property name="can_focus">True</property> | ||
386 | <property name="receives_default">True</property> | ||
387 | <property name="tooltip_text" translatable="yes">Convert the order in which namespaces are arranged in "Namespace order" list to ranks. | ||
388 | Top namespace is assigned rank 0, namespace below it - rank 1, and so on.</property> | ||
389 | <property name="use_stock">True</property> | ||
390 | <signal name="clicked" handler="GNUNET_GTK_namespace_manager_namespace_order_apply_clicked_cb" swapped="no"/> | ||
391 | </object> | ||
392 | <packing> | ||
393 | <property name="expand">False</property> | ||
394 | <property name="fill">False</property> | ||
395 | <property name="position">0</property> | ||
396 | </packing> | ||
397 | </child> | ||
398 | </object> | ||
399 | <packing> | ||
400 | <property name="expand">False</property> | ||
401 | <property name="fill">False</property> | ||
402 | <property name="position">2</property> | ||
403 | </packing> | ||
404 | </child> | ||
405 | </object> | ||
406 | <packing> | ||
407 | <property name="resize">True</property> | ||
408 | <property name="shrink">False</property> | ||
409 | </packing> | ||
410 | </child> | ||
411 | </object> | ||
412 | <packing> | ||
413 | <property name="resize">True</property> | ||
414 | <property name="shrink">False</property> | ||
415 | </packing> | ||
416 | </child> | ||
417 | <child> | ||
418 | <object class="GtkVBox" id="GNUNET_GTK_namespace_manager_namespace_details_vbox"> | ||
419 | <property name="visible">True</property> | ||
420 | <property name="can_focus">False</property> | ||
421 | <child> | ||
422 | <object class="GtkLabel" id="GNUNET_GTK_namespace_manager_namespace_details_label"> | ||
423 | <property name="visible">True</property> | ||
424 | <property name="can_focus">False</property> | ||
425 | <property name="label" translatable="yes">Selected namespace details: | ||
426 | Metadata can be <s>added,</s> deleted and edited. Click "Apply" to save metadata changes.</property> | ||
427 | <property name="use_markup">True</property> | ||
428 | </object> | ||
429 | <packing> | ||
430 | <property name="expand">False</property> | ||
431 | <property name="fill">False</property> | ||
432 | <property name="position">0</property> | ||
433 | </packing> | ||
434 | </child> | ||
435 | <child> | ||
436 | <object class="GtkScrolledWindow" id="GNUNET_GTK_namespace_manager_namespace_details_scrolledwindow"> | ||
437 | <property name="visible">True</property> | ||
438 | <property name="can_focus">True</property> | ||
439 | <property name="hadjustment">GNUNET_GTK_namespace_manager_namespace_details_hadj</property> | ||
440 | <property name="vadjustment">GNUNET_GTK_namespace_manager_namespace_details_vadj</property> | ||
441 | <property name="hscrollbar_policy">automatic</property> | ||
442 | <property name="vscrollbar_policy">automatic</property> | ||
443 | <property name="shadow_type">in</property> | ||
444 | <child> | ||
445 | <object class="GtkTreeView" id="GNUNET_GTK_namespace_manager_namespace_details_treeview"> | ||
446 | <property name="visible">True</property> | ||
447 | <property name="can_focus">True</property> | ||
448 | <property name="model">GNUNET_GTK_namespace_manager_namespace_details_liststore</property> | ||
449 | <property name="hadjustment">GNUNET_GTK_namespace_manager_namespace_details_hadj</property> | ||
450 | <property name="vadjustment">GNUNET_GTK_namespace_manager_namespace_details_vadj</property> | ||
451 | <property name="headers_clickable">False</property> | ||
452 | <property name="rules_hint">True</property> | ||
453 | <property name="search_column">0</property> | ||
454 | <property name="show_expanders">False</property> | ||
455 | <property name="rubber_banding">True</property> | ||
456 | <property name="enable_grid_lines">both</property> | ||
457 | <child> | ||
458 | <object class="GtkTreeViewColumn" id="GNUNET_GTK_namespace_manager_details_type_column"> | ||
459 | <property name="title" translatable="yes">Type</property> | ||
460 | <child> | ||
461 | <object class="GtkCellRendererText" id="GNUNET_GTK_namespace_manager_namespace_details_type_text"> | ||
462 | <signal name="edited" handler="GNUNET_GTK_namespace_manager_namespace_details_type_text_edited_cb" swapped="no"/> | ||
463 | </object> | ||
464 | <attributes> | ||
465 | <attribute name="text">2</attribute> | ||
466 | </attributes> | ||
467 | </child> | ||
468 | </object> | ||
469 | </child> | ||
470 | <child> | ||
471 | <object class="GtkTreeViewColumn" id="GNUNET_GTK_namespace_manager_details_value_column"> | ||
472 | <property name="title" translatable="yes">Value</property> | ||
473 | <child> | ||
474 | <object class="GtkCellRendererText" id="GNUNET_GTK_namespace_manager_namespace_details_value_text"> | ||
475 | <property name="editable">True</property> | ||
476 | <signal name="edited" handler="GNUNET_GTK_namespace_manager_namespace_details_value_text_edited_cb" swapped="no"/> | ||
477 | </object> | ||
478 | <attributes> | ||
479 | <attribute name="text">5</attribute> | ||
480 | </attributes> | ||
481 | </child> | ||
482 | </object> | ||
483 | </child> | ||
484 | </object> | ||
485 | </child> | ||
486 | </object> | ||
487 | <packing> | ||
488 | <property name="expand">True</property> | ||
489 | <property name="fill">True</property> | ||
490 | <property name="position">1</property> | ||
491 | </packing> | ||
492 | </child> | ||
493 | <child> | ||
494 | <object class="GtkHButtonBox" id="GNUNET_GTK_namespace_manager_namespace_details_buttonbox"> | ||
495 | <property name="visible">True</property> | ||
496 | <property name="can_focus">False</property> | ||
497 | <property name="border_width">5</property> | ||
498 | <property name="spacing">5</property> | ||
499 | <property name="layout_style">end</property> | ||
500 | <child> | ||
501 | <object class="GtkButton" id="GNUNET_GTK_namespace_manager_namespace_details_add_button"> | ||
502 | <property name="label">gtk-add</property> | ||
503 | <property name="use_action_appearance">False</property> | ||
504 | <property name="visible">True</property> | ||
505 | <property name="sensitive">False</property> | ||
506 | <property name="can_focus">True</property> | ||
507 | <property name="receives_default">True</property> | ||
508 | <property name="tooltip_text" translatable="yes">Adds a new metadata Type=Value pair to the list. | ||
509 | This functionality is not available at the moment.</property> | ||
510 | <property name="use_stock">True</property> | ||
511 | <signal name="clicked" handler="GNUNET_GTK_namespace_manager_namespace_details_add_button_clicked_cb" swapped="no"/> | ||
512 | </object> | ||
513 | <packing> | ||
514 | <property name="expand">False</property> | ||
515 | <property name="fill">False</property> | ||
516 | <property name="position">0</property> | ||
517 | </packing> | ||
518 | </child> | ||
519 | <child> | ||
520 | <object class="GtkButton" id="GNUNET_GTK_namespace_manager_namespace_details_delete_button"> | ||
521 | <property name="label">gtk-delete</property> | ||
522 | <property name="use_action_appearance">False</property> | ||
523 | <property name="visible">True</property> | ||
524 | <property name="can_focus">True</property> | ||
525 | <property name="receives_default">True</property> | ||
526 | <property name="tooltip_text" translatable="yes">Removes selected Type=Value pair from metadata list. | ||
527 | The change will not last unless you click on "Apply" button before closing the window or selecing some other known namespace.</property> | ||
528 | <property name="use_stock">True</property> | ||
529 | <signal name="clicked" handler="GNUNET_GTK_namespace_manager_namespace_details_delete_button_clicked_cb" swapped="no"/> | ||
530 | </object> | ||
531 | <packing> | ||
532 | <property name="expand">False</property> | ||
533 | <property name="fill">False</property> | ||
534 | <property name="position">1</property> | ||
535 | </packing> | ||
536 | </child> | ||
537 | <child> | ||
538 | <object class="GtkButton" id="GNUNET_GTK_namespace_manager_namespace_details_apply_button"> | ||
539 | <property name="label">gtk-apply</property> | ||
540 | <property name="use_action_appearance">False</property> | ||
541 | <property name="visible">True</property> | ||
542 | <property name="sensitive">False</property> | ||
543 | <property name="can_focus">True</property> | ||
544 | <property name="receives_default">True</property> | ||
545 | <property name="tooltip_text" translatable="yes">Applies changes made in metadata list to currently selected known namespace.</property> | ||
546 | <property name="use_stock">True</property> | ||
547 | <signal name="clicked" handler="GNUNET_GTK_namespace_manager_namespace_details_apply_button_clicked_cb" swapped="no"/> | ||
548 | </object> | ||
549 | <packing> | ||
550 | <property name="expand">False</property> | ||
551 | <property name="fill">False</property> | ||
552 | <property name="position">2</property> | ||
553 | </packing> | ||
554 | </child> | ||
555 | </object> | ||
556 | <packing> | ||
557 | <property name="expand">False</property> | ||
558 | <property name="fill">False</property> | ||
559 | <property name="position">2</property> | ||
560 | </packing> | ||
561 | </child> | ||
562 | </object> | ||
563 | <packing> | ||
564 | <property name="resize">True</property> | ||
565 | <property name="shrink">False</property> | ||
566 | </packing> | ||
567 | </child> | ||
568 | </object> | ||
569 | <packing> | ||
570 | <property name="expand">True</property> | ||
571 | <property name="fill">True</property> | ||
572 | <property name="position">1</property> | ||
573 | </packing> | ||
574 | </child> | ||
575 | </object> | ||
576 | </child> | ||
577 | <action-widgets> | ||
578 | <action-widget response="-10">GNUNET_GTK_namespace_manager_apply_button</action-widget> | ||
579 | <action-widget response="-5">GNUNET_GTK_namespace_manager_ok_button</action-widget> | ||
580 | <action-widget response="-6">GNUNET_GTK_namespace_manager_cancel_button</action-widget> | ||
581 | </action-widgets> | ||
582 | </object> | ||
583 | <object class="GtkListStore" id="GNUNET_GTK_namespace_manager_namespace_details_liststore"> | ||
584 | <columns> | ||
585 | <!-- column-name PluginName --> | ||
586 | <column type="gchararray"/> | ||
587 | <!-- column-name TypeBin --> | ||
588 | <column type="gint"/> | ||
589 | <!-- column-name Type --> | ||
590 | <column type="gchararray"/> | ||
591 | <!-- column-name Format --> | ||
592 | <column type="gint"/> | ||
593 | <!-- column-name DataMime --> | ||
594 | <column type="gchararray"/> | ||
595 | <!-- column-name Value --> | ||
596 | <column type="gchararray"/> | ||
597 | </columns> | ||
598 | </object> | ||
599 | <object class="GtkAdjustment" id="GNUNET_GTK_namespace_manager_namespace_details_vadj"> | ||
600 | <property name="upper">100</property> | ||
601 | <property name="step_increment">1</property> | ||
602 | <property name="page_increment">10</property> | ||
603 | </object> | ||
604 | <object class="GtkAdjustment" id="GNUNET_GTK_namespace_manager_namespace_order_hadj"> | ||
605 | <property name="upper">100</property> | ||
606 | <property name="step_increment">1</property> | ||
607 | <property name="page_increment">10</property> | ||
608 | </object> | ||
609 | <object class="GtkListStore" id="GNUNET_GTK_namespace_manager_namespace_order_liststore"> | ||
610 | <columns> | ||
611 | <!-- column-name Rank --> | ||
612 | <column type="gint"/> | ||
613 | <!-- column-name Name --> | ||
614 | <column type="gchararray"/> | ||
615 | <!-- column-name Identifier --> | ||
616 | <column type="gchararray"/> | ||
617 | <!-- column-name IdentifierBin --> | ||
618 | <column type="gpointer"/> | ||
619 | <!-- column-name KnownListRowReference --> | ||
620 | <column type="gpointer"/> | ||
621 | </columns> | ||
622 | </object> | ||
623 | <object class="GtkAdjustment" id="GNUNET_GTK_namespace_manager_namespace_order_vadj"> | ||
624 | <property name="upper">100</property> | ||
625 | <property name="step_increment">1</property> | ||
626 | <property name="page_increment">10</property> | ||
627 | </object> | ||
628 | </interface> | ||