aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorLRN <lrn1986@gmail.com>2013-03-03 01:58:05 +0000
committerLRN <lrn1986@gmail.com>2013-03-03 01:58:05 +0000
commitf4c67987e48202648c7621dd8c9057bd8174d0d5 (patch)
tree11336eff3aa38971e2342f2e876477dd5fd69486 /contrib
parentcb415c04aac4a8ba95bc40475708ad4b2869a3c8 (diff)
downloadgnunet-gtk-f4c67987e48202648c7621dd8c9057bd8174d0d5.tar.gz
gnunet-gtk-f4c67987e48202648c7621dd8c9057bd8174d0d5.zip
Massive namespace UI update
New Namespace Organizer dialog (replaces the "Create namespace" dialog, also allows namespace deletion and renaming). Allows user to select which namespace to use for publications. Main Window menu was changed appropriately. Glade-3.8 removed use_action_appearance=False eveywhere. Glade-3.8 removed all treeview selection objects. Publication master dialog now uses selected default namespace (if any) only. Added frames to Pubdialog VPaned to make it more obvious, as per GTK docs. Replaced pseudonym-selection treeview with an identifier-selection treeview. Reworked the look of identifiers graph. IDs in italics point at looping points. IDs in bold are graph endpoints (recommended IDs). More precise loop detection (more data is hashed). Removed the hashmap-related fixme. Hash collisions will add some duplicate nodes into the tree. Acceptable. Fixed names of some auxiliary objects (size groups, images). Removed adjustments (use the defaults). Moved some code into GNUNET_FS_GTK_advertise_namespace() function, made it shared. Fixed a bug in main window namespace selector ("selected-row-reference" does not exist anymore). Fixed a bug in OpenURI dialog (correct anonymity widget name). TODO: insert NS advertisements into KBlocks when both global and private namespace publication is enabled.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/Makefile.am1
-rw-r--r--contrib/gnunet_fs_gtk_main_window.glade72
-rw-r--r--contrib/gnunet_fs_gtk_namespace_organizer.glade276
-rw-r--r--contrib/gnunet_fs_gtk_publish_dialog.glade861
4 files changed, 841 insertions, 369 deletions
diff --git a/contrib/Makefile.am b/contrib/Makefile.am
index a2850246..82907723 100644
--- a/contrib/Makefile.am
+++ b/contrib/Makefile.am
@@ -32,6 +32,7 @@ pkgdata_DATA = \
32 gnunet_fs_gtk_download_as_dialog.glade \ 32 gnunet_fs_gtk_download_as_dialog.glade \
33 gnunet_fs_gtk_main_window.glade \ 33 gnunet_fs_gtk_main_window.glade \
34 gnunet_fs_gtk_namespace_manager.glade \ 34 gnunet_fs_gtk_namespace_manager.glade \
35 gnunet_fs_gtk_namespace_organizer.glade \
35 gnunet_fs_gtk_edit_publication.glade \ 36 gnunet_fs_gtk_edit_publication.glade \
36 gnunet_fs_gtk_open_directory_dialog.glade \ 37 gnunet_fs_gtk_open_directory_dialog.glade \
37 gnunet_fs_gtk_open_url_dialog.glade \ 38 gnunet_fs_gtk_open_url_dialog.glade \
diff --git a/contrib/gnunet_fs_gtk_main_window.glade b/contrib/gnunet_fs_gtk_main_window.glade
index 6fc375cd..b475968c 100644
--- a/contrib/gnunet_fs_gtk_main_window.glade
+++ b/contrib/gnunet_fs_gtk_main_window.glade
@@ -144,6 +144,11 @@
144 <property name="can_focus">False</property> 144 <property name="can_focus">False</property>
145 <property name="stock">gtk-find</property> 145 <property name="stock">gtk-find</property>
146 </object> 146 </object>
147 <object class="GtkImage" id="find_and_replace_stock_image">
148 <property name="visible">True</property>
149 <property name="can_focus">False</property>
150 <property name="stock">gtk-find-and-replace</property>
151 </object>
147 <object class="GtkImage" id="index_stock_image"> 152 <object class="GtkImage" id="index_stock_image">
148 <property name="visible">True</property> 153 <property name="visible">True</property>
149 <property name="can_focus">False</property> 154 <property name="can_focus">False</property>
@@ -227,7 +232,6 @@
227 <property name="can_focus">False</property> 232 <property name="can_focus">False</property>
228 <child> 233 <child>
229 <object class="GtkMenuItem" id="GNUNET_GTK_main_menu_file_sharing"> 234 <object class="GtkMenuItem" id="GNUNET_GTK_main_menu_file_sharing">
230 <property name="use_action_appearance">False</property>
231 <property name="visible">True</property> 235 <property name="visible">True</property>
232 <property name="can_focus">False</property> 236 <property name="can_focus">False</property>
233 <property name="label" translatable="yes">_File sharing</property> 237 <property name="label" translatable="yes">_File sharing</property>
@@ -238,7 +242,6 @@
238 <child> 242 <child>
239 <object class="GtkImageMenuItem" id="GNUNET_GTK_main_menu_file_publish"> 243 <object class="GtkImageMenuItem" id="GNUNET_GTK_main_menu_file_publish">
240 <property name="label" translatable="yes">_Publish</property> 244 <property name="label" translatable="yes">_Publish</property>
241 <property name="use_action_appearance">False</property>
242 <property name="visible">True</property> 245 <property name="visible">True</property>
243 <property name="can_focus">False</property> 246 <property name="can_focus">False</property>
244 <property name="tooltip_text" translatable="yes">Publish files or directories on GNUnet</property> 247 <property name="tooltip_text" translatable="yes">Publish files or directories on GNUnet</property>
@@ -252,7 +255,6 @@
252 </child> 255 </child>
253 <child> 256 <child>
254 <object class="GtkMenuItem" id="GNUNET_GTK_main_menu_unindex"> 257 <object class="GtkMenuItem" id="GNUNET_GTK_main_menu_unindex">
255 <property name="use_action_appearance">False</property>
256 <property name="visible">True</property> 258 <property name="visible">True</property>
257 <property name="can_focus">False</property> 259 <property name="can_focus">False</property>
258 <property name="label" translatable="yes">_List indexed files</property> 260 <property name="label" translatable="yes">_List indexed files</property>
@@ -269,7 +271,6 @@
269 <child> 271 <child>
270 <object class="GtkImageMenuItem" id="GNUNET_GTK_main_menu_file_download_uri"> 272 <object class="GtkImageMenuItem" id="GNUNET_GTK_main_menu_file_download_uri">
271 <property name="label" translatable="yes">_Download</property> 273 <property name="label" translatable="yes">_Download</property>
272 <property name="use_action_appearance">False</property>
273 <property name="visible">True</property> 274 <property name="visible">True</property>
274 <property name="can_focus">False</property> 275 <property name="can_focus">False</property>
275 <property name="tooltip_text" translatable="yes">Download a file or directory with a known URI.</property> 276 <property name="tooltip_text" translatable="yes">Download a file or directory with a known URI.</property>
@@ -284,7 +285,6 @@
284 <child> 285 <child>
285 <object class="GtkImageMenuItem" id="GNUNET_GTK_main_menu_file_open_gnunet_directory"> 286 <object class="GtkImageMenuItem" id="GNUNET_GTK_main_menu_file_open_gnunet_directory">
286 <property name="label" translatable="yes">_Open GNUnet directory</property> 287 <property name="label" translatable="yes">_Open GNUnet directory</property>
287 <property name="use_action_appearance">False</property>
288 <property name="visible">True</property> 288 <property name="visible">True</property>
289 <property name="can_focus">False</property> 289 <property name="can_focus">False</property>
290 <property name="tooltip_text" translatable="yes">Use this option to browse a GNUnet directory file that has been previously downloaded.</property> 290 <property name="tooltip_text" translatable="yes">Use this option to browse a GNUnet directory file that has been previously downloaded.</property>
@@ -303,41 +303,27 @@
303 </object> 303 </object>
304 </child> 304 </child>
305 <child> 305 <child>
306 <object class="GtkImageMenuItem" id="GNUNET_GTK_main_menu_file_create_pseudonym"> 306 <object class="GtkImageMenuItem" id="GNUNET_GTK_main_menu_file_manage_pseudonyms">
307 <property name="label" translatable="yes">_Create pseudonym</property> 307 <property name="label" translatable="yes">_Manage namespaces</property>
308 <property name="use_action_appearance">False</property>
309 <property name="visible">True</property> 308 <property name="visible">True</property>
310 <property name="can_focus">False</property> 309 <property name="can_focus">False</property>
311 <property name="tooltip_text" translatable="yes">Create a pseudonym for publishing content. Note that you can also publish content anonymously (without using a pseudonym).</property> 310 <property name="tooltip_text" translatable="yes">Opens namespace manager dialog to adjust the list of namespaces you want to search in, as well as get detailed information about all discovered namespaces.</property>
312 <property name="accel_path">&lt;gnunet-fs-gtk&gt;/File sharing/Create pseudonym</property>
313 <property name="use_underline">True</property> 311 <property name="use_underline">True</property>
314 <property name="image">new_stock_image</property> 312 <property name="image">find_and_replace_stock_image</property>
315 <property name="use_stock">False</property> 313 <property name="use_stock">False</property>
316 <accelerator key="n" signal="activate" modifiers="GDK_CONTROL_MASK"/> 314 <signal name="activate" handler="GNUNET_GTK_main_menu_file_manage_pseudonyms_activate_cb" swapped="no"/>
317 <signal name="activate" handler="GNUNET_GTK_main_menu_create_pseudonym_activate_cb" swapped="no"/>
318 </object> 315 </object>
319 </child> 316 </child>
320 <child> 317 <child>
321 <object class="GtkImageMenuItem" id="GNUNET_GTK_main_menu_file_advertise_pseudonym"> 318 <object class="GtkImageMenuItem" id="GNUNET_GTK_main_menu_file_organize_namespaces">
322 <property name="label" translatable="yes">_Advertise Pseudonym</property> 319 <property name="label" translatable="yes">Organize _your own namespaces</property>
323 <property name="use_action_appearance">False</property>
324 <property name="visible">True</property> 320 <property name="visible">True</property>
325 <property name="can_focus">False</property> 321 <property name="can_focus">False</property>
322 <property name="tooltip_text" translatable="yes">Opens namespace organizer dialog to adjust the list of your own namespaces and select the one that you will publish in.</property>
326 <property name="use_underline">True</property> 323 <property name="use_underline">True</property>
327 <property name="image">index_stock_image</property> 324 <property name="image">index_stock_image</property>
328 <property name="use_stock">False</property> 325 <property name="use_stock">False</property>
329 <signal name="activate" handler="GNUNET_GTK_main_menu_file_advertise_pseudonym_activate_cb" swapped="no"/> 326 <signal name="activate" handler="GNUNET_GTK_main_menu_file_organize_namespaces_activate_cb" swapped="no"/>
330 </object>
331 </child>
332 <child>
333 <object class="GtkMenuItem" id="GNUNET_GTK_main_menu_file_manage_pseudonyms">
334 <property name="use_action_appearance">False</property>
335 <property name="visible">True</property>
336 <property name="can_focus">False</property>
337 <property name="tooltip_text" translatable="yes">Opens namespace manager dialog to adjust the list of namespaces you want to use, as well as get detailed information about all discovered namespaces.</property>
338 <property name="label" translatable="yes">_Manage namespaces</property>
339 <property name="use_underline">True</property>
340 <signal name="activate" handler="GNUNET_GTK_main_menu_file_manage_pseudonyms_activate_cb" swapped="no"/>
341 </object> 327 </object>
342 </child> 328 </child>
343 <child> 329 <child>
@@ -349,7 +335,6 @@
349 <child> 335 <child>
350 <object class="GtkImageMenuItem" id="GNUNET_GTK_main_menu_file_quit"> 336 <object class="GtkImageMenuItem" id="GNUNET_GTK_main_menu_file_quit">
351 <property name="label">gtk-quit</property> 337 <property name="label">gtk-quit</property>
352 <property name="use_action_appearance">False</property>
353 <property name="visible">True</property> 338 <property name="visible">True</property>
354 <property name="can_focus">False</property> 339 <property name="can_focus">False</property>
355 <property name="tooltip_text" translatable="yes">Exit gnunet-fs-gtk. Active file-sharing operations will resume upon restart.</property> 340 <property name="tooltip_text" translatable="yes">Exit gnunet-fs-gtk. Active file-sharing operations will resume upon restart.</property>
@@ -366,7 +351,6 @@
366 </child> 351 </child>
367 <child> 352 <child>
368 <object class="GtkMenuItem" id="GNUNET_GTK_main_menu_edit"> 353 <object class="GtkMenuItem" id="GNUNET_GTK_main_menu_edit">
369 <property name="use_action_appearance">False</property>
370 <property name="can_focus">False</property> 354 <property name="can_focus">False</property>
371 <property name="label" translatable="yes">_Edit</property> 355 <property name="label" translatable="yes">_Edit</property>
372 <property name="use_underline">True</property> 356 <property name="use_underline">True</property>
@@ -377,7 +361,6 @@
377 <child> 361 <child>
378 <object class="GtkImageMenuItem" id="GNUNET_GTK_main_menu_edit_preferences"> 362 <object class="GtkImageMenuItem" id="GNUNET_GTK_main_menu_edit_preferences">
379 <property name="label">gtk-preferences</property> 363 <property name="label">gtk-preferences</property>
380 <property name="use_action_appearance">False</property>
381 <property name="visible">True</property> 364 <property name="visible">True</property>
382 <property name="can_focus">False</property> 365 <property name="can_focus">False</property>
383 <property name="tooltip_text" translatable="yes">Edit the system configuration.</property> 366 <property name="tooltip_text" translatable="yes">Edit the system configuration.</property>
@@ -392,7 +375,6 @@
392 </child> 375 </child>
393 <child> 376 <child>
394 <object class="GtkMenuItem" id="GNUNET_GTK_main_menu_view"> 377 <object class="GtkMenuItem" id="GNUNET_GTK_main_menu_view">
395 <property name="use_action_appearance">False</property>
396 <property name="visible">True</property> 378 <property name="visible">True</property>
397 <property name="can_focus">False</property> 379 <property name="can_focus">False</property>
398 <property name="label" translatable="yes">_View</property> 380 <property name="label" translatable="yes">_View</property>
@@ -403,7 +385,6 @@
403 <property name="can_focus">False</property> 385 <property name="can_focus">False</property>
404 <child> 386 <child>
405 <object class="GtkCheckMenuItem" id="GNUNET_GTK_main_menu_view_metadata"> 387 <object class="GtkCheckMenuItem" id="GNUNET_GTK_main_menu_view_metadata">
406 <property name="use_action_appearance">False</property>
407 <property name="visible">True</property> 388 <property name="visible">True</property>
408 <property name="can_focus">False</property> 389 <property name="can_focus">False</property>
409 <property name="tooltip_text" translatable="yes">Show meta data in main window</property> 390 <property name="tooltip_text" translatable="yes">Show meta data in main window</property>
@@ -415,7 +396,6 @@
415 </child> 396 </child>
416 <child> 397 <child>
417 <object class="GtkCheckMenuItem" id="GNUNET_GTK_main_menu_view_preview"> 398 <object class="GtkCheckMenuItem" id="GNUNET_GTK_main_menu_view_preview">
418 <property name="use_action_appearance">False</property>
419 <property name="visible">True</property> 399 <property name="visible">True</property>
420 <property name="can_focus">False</property> 400 <property name="can_focus">False</property>
421 <property name="tooltip_text" translatable="yes">Show preview (when available)</property> 401 <property name="tooltip_text" translatable="yes">Show preview (when available)</property>
@@ -427,7 +407,6 @@
427 </child> 407 </child>
428 <child> 408 <child>
429 <object class="GtkCheckMenuItem" id="GNUNET_GTK_main_menu_search_preview"> 409 <object class="GtkCheckMenuItem" id="GNUNET_GTK_main_menu_search_preview">
430 <property name="use_action_appearance">False</property>
431 <property name="visible">True</property> 410 <property name="visible">True</property>
432 <property name="can_focus">False</property> 411 <property name="can_focus">False</property>
433 <property name="tooltip_text" translatable="yes">Show search box in main window</property> 412 <property name="tooltip_text" translatable="yes">Show search box in main window</property>
@@ -443,7 +422,6 @@
443 </child> 422 </child>
444 <child> 423 <child>
445 <object class="GtkMenuItem" id="GNUNET_GTK_main_menu_help"> 424 <object class="GtkMenuItem" id="GNUNET_GTK_main_menu_help">
446 <property name="use_action_appearance">False</property>
447 <property name="visible">True</property> 425 <property name="visible">True</property>
448 <property name="can_focus">False</property> 426 <property name="can_focus">False</property>
449 <property name="label" translatable="yes">_Help</property> 427 <property name="label" translatable="yes">_Help</property>
@@ -455,7 +433,6 @@
455 <child> 433 <child>
456 <object class="GtkImageMenuItem" id="GNUNET_GTK_main_menu_help_about"> 434 <object class="GtkImageMenuItem" id="GNUNET_GTK_main_menu_help_about">
457 <property name="label">gtk-about</property> 435 <property name="label">gtk-about</property>
458 <property name="use_action_appearance">False</property>
459 <property name="visible">True</property> 436 <property name="visible">True</property>
460 <property name="can_focus">False</property> 437 <property name="can_focus">False</property>
461 <property name="tooltip_text" translatable="yes">Display information about this version of gnunet-fs-gtk</property> 438 <property name="tooltip_text" translatable="yes">Display information about this version of gnunet-fs-gtk</property>
@@ -515,14 +492,12 @@
515 <property name="yscale">0</property> 492 <property name="yscale">0</property>
516 <child> 493 <child>
517 <object class="GtkToggleButton" id="main_window_search_namespace_dropdown_button"> 494 <object class="GtkToggleButton" id="main_window_search_namespace_dropdown_button">
518 <property name="use_action_appearance">False</property>
519 <property name="width_request">21</property> 495 <property name="width_request">21</property>
520 <property name="height_request">21</property> 496 <property name="height_request">21</property>
521 <property name="visible">True</property> 497 <property name="visible">True</property>
522 <property name="can_focus">True</property> 498 <property name="can_focus">True</property>
523 <property name="receives_default">True</property> 499 <property name="receives_default">True</property>
524 <property name="events">GDK_ENTER_NOTIFY_MASK | GDK_LEAVE_NOTIFY_MASK | GDK_STRUCTURE_MASK</property> 500 <property name="events">GDK_ENTER_NOTIFY_MASK | GDK_LEAVE_NOTIFY_MASK | GDK_STRUCTURE_MASK</property>
525 <property name="use_action_appearance">False</property>
526 <property name="image_position">right</property> 501 <property name="image_position">right</property>
527 <signal name="toggled" handler="GNUNET_FS_GTK_search_namespace_dropdown_button_toggled_cb" swapped="no"/> 502 <signal name="toggled" handler="GNUNET_FS_GTK_search_namespace_dropdown_button_toggled_cb" swapped="no"/>
528 <signal name="leave-notify-event" handler="GNUNET_FS_GTK_search_namespace_selector_window_leave_notify_event_cb" swapped="no"/> 503 <signal name="leave-notify-event" handler="GNUNET_FS_GTK_search_namespace_selector_window_leave_notify_event_cb" swapped="no"/>
@@ -554,11 +529,9 @@
554 <child> 529 <child>
555 <object class="GtkButton" id="main_window_search_button"> 530 <object class="GtkButton" id="main_window_search_button">
556 <property name="label" translatable="yes">Find:</property> 531 <property name="label" translatable="yes">Find:</property>
557 <property name="use_action_appearance">False</property>
558 <property name="visible">True</property> 532 <property name="visible">True</property>
559 <property name="can_focus">True</property> 533 <property name="can_focus">True</property>
560 <property name="receives_default">True</property> 534 <property name="receives_default">True</property>
561 <property name="use_action_appearance">False</property>
562 <property name="image">find_stock_image</property> 535 <property name="image">find_stock_image</property>
563 <signal name="clicked" handler="main_window_search_button_clicked_cb" swapped="no"/> 536 <signal name="clicked" handler="main_window_search_button_clicked_cb" swapped="no"/>
564 </object> 537 </object>
@@ -577,6 +550,10 @@
577 <property name="has_focus">True</property> 550 <property name="has_focus">True</property>
578 <property name="invisible_char">●</property> 551 <property name="invisible_char">●</property>
579 <property name="invisible_char_set">True</property> 552 <property name="invisible_char_set">True</property>
553 <property name="primary_icon_activatable">False</property>
554 <property name="secondary_icon_activatable">False</property>
555 <property name="primary_icon_sensitive">True</property>
556 <property name="secondary_icon_sensitive">True</property>
580 <signal name="key-press-event" handler="main_window_search_entry_key_press_event_cb" swapped="no"/> 557 <signal name="key-press-event" handler="main_window_search_entry_key_press_event_cb" swapped="no"/>
581 </object> 558 </object>
582 <packing> 559 <packing>
@@ -728,7 +705,6 @@
728 </child> 705 </child>
729 <child> 706 <child>
730 <object class="GtkVBox" id="GNUNET_GTK_search_frame_download_vbox"> 707 <object class="GtkVBox" id="GNUNET_GTK_search_frame_download_vbox">
731 <property name="visible">False</property>
732 <property name="can_focus">False</property> 708 <property name="can_focus">False</property>
733 <child> 709 <child>
734 <object class="GtkHBox" id="GNUNET_GTK_search_frame_download_into_hbox"> 710 <object class="GtkHBox" id="GNUNET_GTK_search_frame_download_into_hbox">
@@ -810,7 +786,6 @@
810 <child> 786 <child>
811 <object class="GtkButton" id="GNUNET_GTK_search_frame_download_filename_change_button"> 787 <object class="GtkButton" id="GNUNET_GTK_search_frame_download_filename_change_button">
812 <property name="label">…</property> 788 <property name="label">…</property>
813 <property name="use_action_appearance">False</property>
814 <property name="height_request">1</property> 789 <property name="height_request">1</property>
815 <property name="visible">True</property> 790 <property name="visible">True</property>
816 <property name="can_focus">True</property> 791 <property name="can_focus">True</property>
@@ -886,7 +861,6 @@
886 <child> 861 <child>
887 <object class="GtkCheckButton" id="GNUNET_GTK_search_frame_download_recursive_checkbox"> 862 <object class="GtkCheckButton" id="GNUNET_GTK_search_frame_download_recursive_checkbox">
888 <property name="label" translatable="yes">Recursive</property> 863 <property name="label" translatable="yes">Recursive</property>
889 <property name="use_action_appearance">False</property>
890 <property name="visible">True</property> 864 <property name="visible">True</property>
891 <property name="can_focus">True</property> 865 <property name="can_focus">True</property>
892 <property name="receives_default">False</property> 866 <property name="receives_default">False</property>
@@ -913,7 +887,6 @@
913 <child> 887 <child>
914 <object class="GtkButton" id="GNUNET_GTK_search_frame_download_download_button"> 888 <object class="GtkButton" id="GNUNET_GTK_search_frame_download_download_button">
915 <property name="label" translatable="yes">Download!</property> 889 <property name="label" translatable="yes">Download!</property>
916 <property name="use_action_appearance">False</property>
917 <property name="visible">True</property> 890 <property name="visible">True</property>
918 <property name="can_focus">True</property> 891 <property name="can_focus">True</property>
919 <property name="receives_default">True</property> 892 <property name="receives_default">True</property>
@@ -984,9 +957,6 @@
984 <property name="enable_grid_lines">both</property> 957 <property name="enable_grid_lines">both</property>
985 <signal name="button-press-event" handler="GNUNET_GTK_main_window_metadata_treeview_button_press_event_cb" swapped="no"/> 958 <signal name="button-press-event" handler="GNUNET_GTK_main_window_metadata_treeview_button_press_event_cb" swapped="no"/>
986 <signal name="popup-menu" handler="GNUNET_GTK_main_window_metadata_treeview_popup_menu_cb" swapped="no"/> 959 <signal name="popup-menu" handler="GNUNET_GTK_main_window_metadata_treeview_popup_menu_cb" swapped="no"/>
987 <child internal-child="selection">
988 <object class="GtkTreeSelection" id="treeview-selection1"/>
989 </child>
990 <child> 960 <child>
991 <object class="GtkTreeViewColumn" id="GNUNET_GTK_main_window_metadata_type_column"> 961 <object class="GtkTreeViewColumn" id="GNUNET_GTK_main_window_metadata_type_column">
992 <property name="sizing">autosize</property> 962 <property name="sizing">autosize</property>
@@ -1062,7 +1032,6 @@
1062 <property name="can_focus">False</property> 1032 <property name="can_focus">False</property>
1063 <child> 1033 <child>
1064 <object class="GtkMenuItem" id="Copy selection"> 1034 <object class="GtkMenuItem" id="Copy selection">
1065 <property name="use_action_appearance">False</property>
1066 <property name="visible">True</property> 1035 <property name="visible">True</property>
1067 <property name="can_focus">False</property> 1036 <property name="can_focus">False</property>
1068 <property name="label" translatable="yes">Copy selection</property> 1037 <property name="label" translatable="yes">Copy selection</property>
@@ -1102,9 +1071,6 @@
1102 <property name="tooltip_column">3</property> 1071 <property name="tooltip_column">3</property>
1103 <signal name="button-press-event" handler="GNUNET_FS_GTK_namespace_selector_treeview_button_press_event_cb" swapped="no"/> 1072 <signal name="button-press-event" handler="GNUNET_FS_GTK_namespace_selector_treeview_button_press_event_cb" swapped="no"/>
1104 <signal name="button-release-event" handler="GNUNET_FS_GTK_namespace_selector_treeview_button_release_event_cb" swapped="no"/> 1073 <signal name="button-release-event" handler="GNUNET_FS_GTK_namespace_selector_treeview_button_release_event_cb" swapped="no"/>
1105 <child internal-child="selection">
1106 <object class="GtkTreeSelection" id="treeview-selection2"/>
1107 </child>
1108 <child> 1074 <child>
1109 <object class="GtkTreeViewColumn" id="name_column"> 1075 <object class="GtkTreeViewColumn" id="name_column">
1110 <property name="sizing">autosize</property> 1076 <property name="sizing">autosize</property>
@@ -1139,11 +1105,9 @@
1139 <child> 1105 <child>
1140 <object class="GtkButton" id="namespace_selector_manage_namespaces_button"> 1106 <object class="GtkButton" id="namespace_selector_manage_namespaces_button">
1141 <property name="label" translatable="yes">_Manage namespaces</property> 1107 <property name="label" translatable="yes">_Manage namespaces</property>
1142 <property name="use_action_appearance">False</property>
1143 <property name="visible">True</property> 1108 <property name="visible">True</property>
1144 <property name="can_focus">True</property> 1109 <property name="can_focus">True</property>
1145 <property name="receives_default">False</property> 1110 <property name="receives_default">False</property>
1146 <property name="use_action_appearance">False</property>
1147 <property name="use_underline">True</property> 1111 <property name="use_underline">True</property>
1148 <signal name="clicked" handler="namespace_selector_manage_namespaces_button_clicked_cb" swapped="no"/> 1112 <signal name="clicked" handler="namespace_selector_manage_namespaces_button_clicked_cb" swapped="no"/>
1149 </object> 1113 </object>
diff --git a/contrib/gnunet_fs_gtk_namespace_organizer.glade b/contrib/gnunet_fs_gtk_namespace_organizer.glade
new file mode 100644
index 00000000..9015090d
--- /dev/null
+++ b/contrib/gnunet_fs_gtk_namespace_organizer.glade
@@ -0,0 +1,276 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<interface>
3 <requires lib="gtk+" version="2.20"/>
4 <!-- interface-naming-policy project-wide -->
5 <object class="GtkDialog" id="GNUNET_GTK_namespace_organizer_dialog">
6 <property name="can_focus">False</property>
7 <property name="border_width">5</property>
8 <property name="title" translatable="yes">Namespace selection</property>
9 <property name="destroy_with_parent">True</property>
10 <property name="type_hint">dialog</property>
11 <property name="has_separator">True</property>
12 <signal name="response" handler="GNUNET_GTK_namespace_organizer_dialog_response_cb" swapped="no"/>
13 <child internal-child="vbox">
14 <object class="GtkVBox" id="GNUNET_GTK_namespace_organizer_vbox">
15 <property name="visible">True</property>
16 <property name="can_focus">False</property>
17 <property name="spacing">2</property>
18 <child internal-child="action_area">
19 <object class="GtkHButtonBox" id="GNUNET_GTK_namespace_organizer_action_area">
20 <property name="visible">True</property>
21 <property name="can_focus">False</property>
22 <property name="layout_style">end</property>
23 <child>
24 <object class="GtkButton" id="GNUNET_GTK_namespace_organizer_close_button">
25 <property name="label">gtk-close</property>
26 <property name="visible">True</property>
27 <property name="can_focus">True</property>
28 <property name="receives_default">True</property>
29 <property name="tooltip_text" translatable="yes">Saves all changes made in this dialog to disk and closes the dialog.</property>
30 <property name="use_stock">True</property>
31 </object>
32 <packing>
33 <property name="expand">False</property>
34 <property name="fill">False</property>
35 <property name="position">0</property>
36 </packing>
37 </child>
38 </object>
39 <packing>
40 <property name="expand">False</property>
41 <property name="fill">True</property>
42 <property name="pack_type">end</property>
43 <property name="position">0</property>
44 </packing>
45 </child>
46 <child>
47 <object class="GtkLabel" id="GNUNET_GTK_namespace_organizer_namespaces_label">
48 <property name="visible">True</property>
49 <property name="can_focus">False</property>
50 <property name="xalign">0</property>
51 <property name="yalign">0</property>
52 <property name="label" translatable="yes">List of the namespaces you have private key for.
53You can create new namespaces, delete or rename existing ones.
54Select one of the namespaces that will be (optionally) used for publishing.</property>
55 </object>
56 <packing>
57 <property name="expand">False</property>
58 <property name="fill">True</property>
59 <property name="position">1</property>
60 </packing>
61 </child>
62 <child>
63 <object class="GtkScrolledWindow" id="GNUNET_GTK_namespace_organizer_scrolled">
64 <property name="visible">True</property>
65 <property name="can_focus">True</property>
66 <property name="hscrollbar_policy">automatic</property>
67 <property name="vscrollbar_policy">automatic</property>
68 <child>
69 <object class="GtkTreeView" id="GNUNET_GTK_namespace_organizer_namespaces_treeview">
70 <property name="height_request">300</property>
71 <property name="visible">True</property>
72 <property name="can_focus">True</property>
73 <property name="model">GNUNET_GTK_namespace_organizer_namespaces_liststore</property>
74 <property name="headers_clickable">False</property>
75 <property name="rules_hint">True</property>
76 <property name="enable_search">False</property>
77 <property name="show_expanders">False</property>
78 <property name="enable_grid_lines">horizontal</property>
79 <property name="tooltip_column">5</property>
80 <child>
81 <object class="GtkTreeViewColumn" id="GNUNET_GTK_namespace_organizer_namespaces_treeview_column_usethis">
82 <property name="sizing">autosize</property>
83 <property name="title" translatable="yes">Use for publications</property>
84 <child>
85 <object class="GtkCellRendererToggle" id="GNUNET_GTK_namespace_organizer_namespaces_treeview_column_usethis_toggle">
86 <property name="radio">True</property>
87 <signal name="toggled" handler="GNUNET_GTK_namespace_organizer_namespaces_treeview_column_usethis_toggle_toggled_cb" swapped="no"/>
88 </object>
89 <attributes>
90 <attribute name="active">3</attribute>
91 </attributes>
92 </child>
93 </object>
94 </child>
95 <child>
96 <object class="GtkTreeViewColumn" id="GNUNET_GTK_namespace_organizer_namespaces_treeview_column_name">
97 <property name="sizing">autosize</property>
98 <property name="title" translatable="yes">Name</property>
99 <property name="expand">True</property>
100 <child>
101 <object class="GtkCellRendererText" id="GNUNET_GTK_namespace_organizer_namespaces_treeview_column_name_text">
102 <property name="editable">True</property>
103 <signal name="edited" handler="GNUNET_GTK_namespace_organizer_namespaces_treeview_column_name_text_edited_cb" swapped="no"/>
104 </object>
105 <attributes>
106 <attribute name="text">0</attribute>
107 </attributes>
108 </child>
109 </object>
110 </child>
111 <child>
112 <object class="GtkTreeViewColumn" id="GNUNET_GTK_namespace_organizer_namespaces_treeview_column_key">
113 <property name="sizing">autosize</property>
114 <property name="title" translatable="yes">Hash of the public key</property>
115 <child>
116 <object class="GtkCellRendererText" id="GNUNET_GTK_namespace_organizer_namespaces_treeview_column_key_text"/>
117 <attributes>
118 <attribute name="text">1</attribute>
119 </attributes>
120 </child>
121 </object>
122 </child>
123 </object>
124 </child>
125 </object>
126 <packing>
127 <property name="expand">True</property>
128 <property name="fill">True</property>
129 <property name="position">2</property>
130 </packing>
131 </child>
132 <child>
133 <object class="GtkHBox" id="GNUNET_GTK_namespace_organizer_namespaces_extra_buttons_hbox">
134 <property name="visible">True</property>
135 <property name="can_focus">False</property>
136 <property name="spacing">5</property>
137 <child>
138 <object class="GtkButton" id="GNUNET_GTK_namespace_organizer_namespaces_delete_namespace_unconfirmation_button">
139 <property name="label" translatable="yes">No, keep it.</property>
140 <property name="can_focus">True</property>
141 <property name="receives_default">True</property>
142 <signal name="clicked" handler="GNUNET_GTK_namespace_organizer_namespaces_delete_namespace_unconfirmation_button_clicked_cb" swapped="no"/>
143 </object>
144 <packing>
145 <property name="expand">False</property>
146 <property name="fill">True</property>
147 <property name="pack_type">end</property>
148 <property name="position">0</property>
149 </packing>
150 </child>
151 <child>
152 <object class="GtkButton" id="GNUNET_GTK_namespace_organizer_namespaces_delete_namespace_confirmation_button">
153 <property name="label" translatable="yes">Yes, delete it!</property>
154 <property name="can_focus">True</property>
155 <property name="receives_default">True</property>
156 <signal name="clicked" handler="GNUNET_GTK_namespace_organizer_namespaces_delete_namespace_confirmation_button_clicked_cb" swapped="no"/>
157 </object>
158 <packing>
159 <property name="expand">False</property>
160 <property name="fill">True</property>
161 <property name="pack_type">end</property>
162 <property name="position">1</property>
163 </packing>
164 </child>
165 <child>
166 <object class="GtkLabel" id="GNUNET_GTK_namespace_organizer_namespaces_delete_namespace_confirmation_label">
167 <property name="can_focus">False</property>
168 <property name="label" translatable="yes">Are you sure? Once you delete the private key of a namespace, it's lost forever!</property>
169 </object>
170 <packing>
171 <property name="expand">False</property>
172 <property name="fill">True</property>
173 <property name="pack_type">end</property>
174 <property name="position">2</property>
175 </packing>
176 </child>
177 <child>
178 <object class="GtkButton" id="GNUNET_GTK_namespace_organizer_namespaces_delete_namespace_button">
179 <property name="label" translatable="yes">Delete</property>
180 <property name="visible">True</property>
181 <property name="sensitive">False</property>
182 <property name="can_focus">True</property>
183 <property name="receives_default">True</property>
184 <property name="tooltip_text" translatable="yes">Delete namespace key.</property>
185 <signal name="clicked" handler="GNUNET_GTK_namespace_organizer_namespaces_delete_namespace_button_clicked_cb" swapped="no"/>
186 </object>
187 <packing>
188 <property name="expand">False</property>
189 <property name="fill">True</property>
190 <property name="pack_type">end</property>
191 <property name="position">3</property>
192 </packing>
193 </child>
194 <child>
195 <object class="GtkButton" id="GNUNET_GTK_namespace_organizer_namespaces_create_namespace_button">
196 <property name="label" translatable="yes">Create</property>
197 <property name="visible">True</property>
198 <property name="can_focus">True</property>
199 <property name="receives_default">True</property>
200 <property name="tooltip_text" translatable="yes">Generate new namespace.</property>
201 <signal name="clicked" handler="GNUNET_GTK_namespace_organizer_namespaces_create_namespace_button_clicked_cb" swapped="no"/>
202 </object>
203 <packing>
204 <property name="expand">False</property>
205 <property name="fill">True</property>
206 <property name="position">4</property>
207 </packing>
208 </child>
209 <child>
210 <object class="GtkButton" id="GNUNET_GTK_namespace_organizer_namespaces_advertise_namespace_button">
211 <property name="label" translatable="yes">Advertise</property>
212 <property name="visible">True</property>
213 <property name="can_focus">True</property>
214 <property name="receives_default">True</property>
215 <property name="tooltip_text" translatable="yes">Make namespace findable with global file-sharing searches.</property>
216 <signal name="clicked" handler="GNUNET_GTK_namespace_organizer_namespaces_advertise_namespace_button_clicked_cb" swapped="no"/>
217 </object>
218 <packing>
219 <property name="expand">False</property>
220 <property name="fill">True</property>
221 <property name="position">5</property>
222 </packing>
223 </child>
224 <child>
225 <object class="GtkLabel" id="GNUNET_GTK_namespace_organizer_namespaces_create_namespace_progress_label">
226 <property name="can_focus">False</property>
227 <property name="label" translatable="yes">Generating new namespace key...</property>
228 </object>
229 <packing>
230 <property name="expand">False</property>
231 <property name="fill">True</property>
232 <property name="position">6</property>
233 </packing>
234 </child>
235 <child>
236 <object class="GtkSpinner" id="GNUNET_GTK_namespace_organizer_namespaces_create_namespace_progress_spinner">
237 <property name="can_focus">False</property>
238 <property name="active">True</property>
239 </object>
240 <packing>
241 <property name="expand">False</property>
242 <property name="fill">True</property>
243 <property name="position">7</property>
244 </packing>
245 </child>
246 </object>
247 <packing>
248 <property name="expand">False</property>
249 <property name="fill">True</property>
250 <property name="padding">5</property>
251 <property name="position">3</property>
252 </packing>
253 </child>
254 </object>
255 </child>
256 <action-widgets>
257 <action-widget response="-5">GNUNET_GTK_namespace_organizer_close_button</action-widget>
258 </action-widgets>
259 </object>
260 <object class="GtkListStore" id="GNUNET_GTK_namespace_organizer_namespaces_liststore">
261 <columns>
262 <!-- column-name NamespaceName -->
263 <column type="gchararray"/>
264 <!-- column-name NamespaceKey -->
265 <column type="gchararray"/>
266 <!-- column-name NamespaceKeyBinary -->
267 <column type="gpointer"/>
268 <!-- column-name UseThis -->
269 <column type="gboolean"/>
270 <!-- column-name ActualName -->
271 <column type="gchararray"/>
272 <!-- column-name ToolTip -->
273 <column type="gchararray"/>
274 </columns>
275 </object>
276</interface>
diff --git a/contrib/gnunet_fs_gtk_publish_dialog.glade b/contrib/gnunet_fs_gtk_publish_dialog.glade
index f00e87d7..495df952 100644
--- a/contrib/gnunet_fs_gtk_publish_dialog.glade
+++ b/contrib/gnunet_fs_gtk_publish_dialog.glade
@@ -22,6 +22,20 @@
22 <column type="guint"/> 22 <column type="guint"/>
23 </columns> 23 </columns>
24 </object> 24 </object>
25 <object class="GtkTreeStore" id="GNUNET_GTK_indentifiers_treestore">
26 <columns>
27 <!-- column-name Identifier -->
28 <column type="gchararray"/>
29 <!-- column-name UpdateIdentifier -->
30 <column type="gchararray"/>
31 <!-- column-name Description -->
32 <column type="gchararray"/>
33 <!-- column-name PathToOriginal -->
34 <column type="gchararray"/>
35 <!-- column-name IdentifierMarkedUp -->
36 <column type="gchararray"/>
37 </columns>
38 </object>
25 <object class="GtkWindow" id="GNUNET_GTK_master_publish_dialog"> 39 <object class="GtkWindow" id="GNUNET_GTK_master_publish_dialog">
26 <property name="height_request">500</property> 40 <property name="height_request">500</property>
27 <property name="can_focus">False</property> 41 <property name="can_focus">False</property>
@@ -40,349 +54,618 @@
40 <property name="visible">True</property> 54 <property name="visible">True</property>
41 <property name="can_focus">True</property> 55 <property name="can_focus">True</property>
42 <child> 56 <child>
43 <object class="GtkVBox" id="GNUNET_GTK_master_publish_dialog_top_vbox"> 57 <object class="GtkFrame" id="GNUNET_GTK_master_publish_dialog_top_frame">
58 <property name="height_request">200</property>
44 <property name="visible">True</property> 59 <property name="visible">True</property>
45 <property name="can_focus">False</property> 60 <property name="can_focus">False</property>
61 <property name="label_xalign">0</property>
62 <property name="label_yalign">0</property>
63 <property name="shadow_type">in</property>
46 <child> 64 <child>
47 <object class="GtkScrolledWindow" id="GNUNET_GTK_master_publish_dialog_file_information_scrolled_window"> 65 <object class="GtkVBox" id="GNUNET_GTK_master_publish_dialog_top_vbox">
48 <property name="visible">True</property> 66 <property name="visible">True</property>
49 <property name="can_focus">True</property> 67 <property name="can_focus">False</property>
50 <property name="hadjustment">adjustment5</property>
51 <property name="vadjustment">adjustment6</property>
52 <property name="hscrollbar_policy">automatic</property>
53 <property name="vscrollbar_policy">automatic</property>
54 <property name="shadow_type">in</property>
55 <child> 68 <child>
56 <object class="GtkTreeView" id="GNUNET_GTK_master_publish_dialog_file_information_tree_view"> 69 <object class="GtkScrolledWindow" id="GNUNET_GTK_master_publish_dialog_file_information_scrolled_window">
57 <property name="height_request">100</property>
58 <property name="visible">True</property> 70 <property name="visible">True</property>
59 <property name="can_focus">True</property> 71 <property name="can_focus">True</property>
60 <property name="model">GNUNET_GTK_file_sharing_publishing_tree_store</property> 72 <property name="hscrollbar_policy">automatic</property>
61 <property name="hadjustment">adjustment5</property> 73 <property name="vscrollbar_policy">automatic</property>
62 <property name="vadjustment">adjustment6</property>
63 <property name="headers_clickable">False</property>
64 <property name="expander_column">GNUNET_GTK_master_publish_dialog_file_information_filename_column</property>
65 <property name="search_column">0</property>
66 <property name="enable_tree_lines">True</property>
67 <child> 74 <child>
68 <object class="GtkTreeViewColumn" id="GNUNET_GTK_master_publish_dialog_file_information_filesize_column"> 75 <object class="GtkTreeView" id="GNUNET_GTK_master_publish_dialog_file_information_tree_view">
69 <property name="sizing">autosize</property> 76 <property name="visible">True</property>
70 <property name="title">Size</property> 77 <property name="can_focus">True</property>
78 <property name="model">GNUNET_GTK_file_sharing_publishing_tree_store</property>
79 <property name="headers_clickable">False</property>
80 <property name="expander_column">GNUNET_GTK_master_publish_dialog_file_information_filename_column</property>
81 <property name="search_column">0</property>
82 <property name="enable_tree_lines">True</property>
71 <child> 83 <child>
72 <object class="GtkCellRendererText" id="GNUNET_GTK_master_publish_dialog_file_information_filesize_renderer"/> 84 <object class="GtkTreeViewColumn" id="GNUNET_GTK_master_publish_dialog_file_information_filesize_column">
73 <attributes> 85 <property name="sizing">autosize</property>
74 <attribute name="text">0</attribute> 86 <property name="title">Size</property>
75 </attributes> 87 <child>
88 <object class="GtkCellRendererText" id="GNUNET_GTK_master_publish_dialog_file_information_filesize_renderer"/>
89 <attributes>
90 <attribute name="text">0</attribute>
91 </attributes>
92 </child>
93 </object>
76 </child> 94 </child>
77 </object>
78 </child>
79 <child>
80 <object class="GtkTreeViewColumn" id="GNUNET_GTK_master_publish_dialog_file_information_filename_column">
81 <property name="sizing">autosize</property>
82 <property name="title">Filename</property>
83 <property name="expand">True</property>
84 <property name="clickable">True</property>
85 <property name="reorderable">True</property>
86 <property name="sort_indicator">True</property>
87 <child> 95 <child>
88 <object class="GtkCellRendererText" id="GNUNET_GTK_master_publish_dialog_file_information_filename_renderer"/> 96 <object class="GtkTreeViewColumn" id="GNUNET_GTK_master_publish_dialog_file_information_filename_column">
89 <attributes> 97 <property name="sizing">autosize</property>
90 <attribute name="text">2</attribute> 98 <property name="title">Filename</property>
91 </attributes> 99 <property name="expand">True</property>
100 <property name="clickable">True</property>
101 <property name="reorderable">True</property>
102 <property name="sort_indicator">True</property>
103 <child>
104 <object class="GtkCellRendererText" id="GNUNET_GTK_master_publish_dialog_file_information_filename_renderer"/>
105 <attributes>
106 <attribute name="text">2</attribute>
107 </attributes>
108 </child>
109 </object>
92 </child> 110 </child>
93 </object> 111 </object>
94 </child> 112 </child>
95 </object> 113 </object>
114 <packing>
115 <property name="expand">True</property>
116 <property name="fill">True</property>
117 <property name="position">0</property>
118 </packing>
96 </child> 119 </child>
97 </object>
98 <packing>
99 <property name="expand">True</property>
100 <property name="fill">True</property>
101 <property name="position">0</property>
102 </packing>
103 </child>
104 <child>
105 <object class="GtkHBox" id="GNUNET_GTK_master_dialog_modification_button_hbox">
106 <property name="visible">True</property>
107 <property name="can_focus">False</property>
108 <child> 120 <child>
109 <object class="GtkTable" id="GNUNET_GTK_master_publish_dialog_action_table"> 121 <object class="GtkHBox" id="GNUNET_GTK_master_dialog_modification_button_hbox">
110 <property name="visible">True</property> 122 <property name="visible">True</property>
111 <property name="can_focus">False</property> 123 <property name="can_focus">False</property>
112 <property name="n_rows">2</property>
113 <property name="n_columns">3</property>
114 <child> 124 <child>
115 <object class="GtkButton" id="GNUNET_GTK_master_publish_dialog_add_button"> 125 <object class="GtkTable" id="GNUNET_GTK_master_publish_dialog_action_table">
116 <property name="label" translatable="yes">Add _File</property>
117 <property name="use_action_appearance">False</property>
118 <property name="visible">True</property> 126 <property name="visible">True</property>
119 <property name="can_focus">True</property> 127 <property name="can_focus">False</property>
120 <property name="receives_default">True</property> 128 <property name="n_rows">2</property>
121 <property name="use_underline">True</property> 129 <property name="n_columns">3</property>
122 <signal name="clicked" handler="GNUNET_GTK_master_publish_dialog_add_button_clicked_cb" swapped="no"/> 130 <child>
131 <object class="GtkButton" id="GNUNET_GTK_master_publish_dialog_add_button">
132 <property name="label" translatable="yes">Add _File</property>
133 <property name="visible">True</property>
134 <property name="can_focus">True</property>
135 <property name="receives_default">True</property>
136 <property name="use_underline">True</property>
137 <signal name="clicked" handler="GNUNET_GTK_master_publish_dialog_add_button_clicked_cb" swapped="no"/>
138 </object>
139 </child>
140 <child>
141 <object class="GtkButton" id="GNUNET_GTK_master_publish_dialog_new_button">
142 <property name="label" translatable="yes">_Create empty directory</property>
143 <property name="visible">True</property>
144 <property name="can_focus">True</property>
145 <property name="receives_default">True</property>
146 <property name="image">new_stock_image</property>
147 <property name="use_underline">True</property>
148 <signal name="clicked" handler="GNUNET_GTK_master_publish_dialog_new_button_clicked_cb" swapped="no"/>
149 </object>
150 <packing>
151 <property name="left_attach">1</property>
152 <property name="right_attach">3</property>
153 </packing>
154 </child>
155 <child>
156 <object class="GtkButton" id="GNUNET_GTK_master_publish_dialog_open_button">
157 <property name="label" translatable="yes">Add _Directory</property>
158 <property name="visible">True</property>
159 <property name="can_focus">True</property>
160 <property name="receives_default">True</property>
161 <property name="use_underline">True</property>
162 <signal name="clicked" handler="GNUNET_GTK_master_publish_dialog_open_button_clicked_cb" swapped="no"/>
163 </object>
164 <packing>
165 <property name="top_attach">1</property>
166 <property name="bottom_attach">2</property>
167 </packing>
168 </child>
169 <child>
170 <object class="GtkButton" id="GNUNET_GTK_master_publish_dialog_edit_button">
171 <property name="label">gtk-edit</property>
172 <property name="visible">True</property>
173 <property name="sensitive">False</property>
174 <property name="can_focus">True</property>
175 <property name="receives_default">True</property>
176 <property name="use_stock">True</property>
177 <signal name="clicked" handler="GNUNET_GTK_master_publish_dialog_edit_button_clicked_cb" swapped="no"/>
178 </object>
179 <packing>
180 <property name="left_attach">1</property>
181 <property name="right_attach">2</property>
182 <property name="top_attach">1</property>
183 <property name="bottom_attach">2</property>
184 </packing>
185 </child>
186 <child>
187 <object class="GtkButton" id="GNUNET_GTK_master_publish_dialog_delete_button">
188 <property name="label">gtk-delete</property>
189 <property name="visible">True</property>
190 <property name="sensitive">False</property>
191 <property name="can_focus">True</property>
192 <property name="receives_default">True</property>
193 <property name="use_stock">True</property>
194 <signal name="clicked" handler="GNUNET_GTK_master_publish_dialog_delete_button_clicked_cb" swapped="no"/>
195 </object>
196 <packing>
197 <property name="left_attach">2</property>
198 <property name="right_attach">3</property>
199 <property name="top_attach">1</property>
200 <property name="bottom_attach">2</property>
201 </packing>
202 </child>
123 </object> 203 </object>
204 <packing>
205 <property name="expand">False</property>
206 <property name="fill">True</property>
207 <property name="padding">25</property>
208 <property name="position">0</property>
209 </packing>
124 </child> 210 </child>
125 <child> 211 <child>
126 <object class="GtkButton" id="GNUNET_GTK_master_publish_dialog_new_button"> 212 <object class="GtkTable" id="GNUNET_GTK_master_publish_dialog_arrow_table">
127 <property name="label" translatable="yes">_Create empty directory</property>
128 <property name="use_action_appearance">False</property>
129 <property name="visible">True</property> 213 <property name="visible">True</property>
130 <property name="can_focus">True</property> 214 <property name="can_focus">False</property>
131 <property name="receives_default">True</property> 215 <property name="n_rows">2</property>
132 <property name="image">new_stock_image1</property> 216 <property name="n_columns">3</property>
133 <property name="use_underline">True</property> 217 <property name="homogeneous">True</property>
134 <signal name="clicked" handler="GNUNET_GTK_master_publish_dialog_new_button_clicked_cb" swapped="no"/> 218 <child>
219 <object class="GtkButton" id="GNUNET_GTK_master_publish_dialog_up_button">
220 <property name="label">gtk-go-up</property>
221 <property name="visible">True</property>
222 <property name="sensitive">False</property>
223 <property name="can_focus">True</property>
224 <property name="receives_default">True</property>
225 <property name="use_stock">True</property>
226 <property name="xalign">0</property>
227 <signal name="clicked" handler="GNUNET_GTK_master_publish_dialog_up_button_clicked_cb" swapped="no"/>
228 </object>
229 <packing>
230 <property name="left_attach">1</property>
231 <property name="right_attach">2</property>
232 </packing>
233 </child>
234 <child>
235 <object class="GtkButton" id="GNUNET_GTK_master_publish_dialog_left_button">
236 <property name="label" translatable="yes">_Left</property>
237 <property name="visible">True</property>
238 <property name="sensitive">False</property>
239 <property name="can_focus">True</property>
240 <property name="receives_default">True</property>
241 <property name="image">left_stock_image</property>
242 <property name="use_underline">True</property>
243 <property name="xalign">0</property>
244 <signal name="clicked" handler="GNUNET_GTK_master_publish_dialog_left_button_clicked_cb" swapped="no"/>
245 </object>
246 <packing>
247 <property name="top_attach">1</property>
248 <property name="bottom_attach">2</property>
249 </packing>
250 </child>
251 <child>
252 <object class="GtkButton" id="GNUNET_GTK_master_publish_dialog_down_button">
253 <property name="label">gtk-go-down</property>
254 <property name="visible">True</property>
255 <property name="sensitive">False</property>
256 <property name="can_focus">True</property>
257 <property name="receives_default">True</property>
258 <property name="use_stock">True</property>
259 <property name="xalign">0</property>
260 <signal name="clicked" handler="GNUNET_GTK_master_publish_dialog_down_button_clicked_cb" swapped="no"/>
261 </object>
262 <packing>
263 <property name="left_attach">1</property>
264 <property name="right_attach">2</property>
265 <property name="top_attach">1</property>
266 <property name="bottom_attach">2</property>
267 </packing>
268 </child>
269 <child>
270 <object class="GtkButton" id="GNUNET_GTK_master_publish_dialog_right_button">
271 <property name="label" translatable="yes">_Right</property>
272 <property name="visible">True</property>
273 <property name="sensitive">False</property>
274 <property name="can_focus">True</property>
275 <property name="receives_default">True</property>
276 <property name="image">right_stock_image</property>
277 <property name="use_underline">True</property>
278 <property name="xalign">0</property>
279 <signal name="clicked" handler="GNUNET_GTK_master_publish_dialog_right_button_clicked_cb" swapped="no"/>
280 </object>
281 <packing>
282 <property name="left_attach">2</property>
283 <property name="right_attach">3</property>
284 <property name="top_attach">1</property>
285 <property name="bottom_attach">2</property>
286 </packing>
287 </child>
288 <child>
289 <placeholder/>
290 </child>
291 <child>
292 <placeholder/>
293 </child>
294 <child>
295 <placeholder/>
296 </child>
297 <child>
298 <placeholder/>
299 </child>
300 <child>
301 <placeholder/>
302 </child>
303 <child>
304 <placeholder/>
305 </child>
306 <child>
307 <placeholder/>
308 </child>
309 <child>
310 <placeholder/>
311 </child>
312 <child>
313 <placeholder/>
314 </child>
315 <child>
316 <placeholder/>
317 </child>
318 <child>
319 <placeholder/>
320 </child>
321 <child>
322 <placeholder/>
323 </child>
324 <child>
325 <placeholder/>
326 </child>
327 <child>
328 <placeholder/>
329 </child>
330 <child>
331 <placeholder/>
332 </child>
333 <child>
334 <placeholder/>
335 </child>
336 <child>
337 <placeholder/>
338 </child>
339 <child>
340 <placeholder/>
341 </child>
135 </object> 342 </object>
136 <packing> 343 <packing>
137 <property name="left_attach">1</property> 344 <property name="expand">False</property>
138 <property name="right_attach">3</property> 345 <property name="fill">True</property>
346 <property name="padding">25</property>
347 <property name="position">1</property>
139 </packing> 348 </packing>
140 </child> 349 </child>
350 </object>
351 <packing>
352 <property name="expand">False</property>
353 <property name="fill">True</property>
354 <property name="position">1</property>
355 </packing>
356 </child>
357 </object>
358 </child>
359 <child type="label_item">
360 <placeholder/>
361 </child>
362 </object>
363 <packing>
364 <property name="resize">True</property>
365 <property name="shrink">False</property>
366 </packing>
367 </child>
368 <child>
369 <object class="GtkFrame" id="GNUNET_GTK_master_publish_dialog_bottom_frame">
370 <property name="visible">True</property>
371 <property name="can_focus">False</property>
372 <property name="label_xalign">0</property>
373 <property name="label_yalign">0</property>
374 <property name="shadow_type">in</property>
375 <child>
376 <object class="GtkVBox" id="GNUNET_GTK_master_publish_dialog_bottom_vbox">
377 <property name="visible">True</property>
378 <property name="can_focus">False</property>
379 <child>
380 <object class="GtkHBox" id="dummy_hbox_1">
381 <property name="visible">True</property>
382 <property name="can_focus">False</property>
141 <child> 383 <child>
142 <object class="GtkButton" id="GNUNET_GTK_master_publish_dialog_open_button"> 384 <object class="GtkCheckButton" id="GNUNET_GTK_master_publish_dialog_global_checkbox">
143 <property name="label" translatable="yes">Add _Directory</property> 385 <property name="label" translatable="yes">Publish in global namespace</property>
144 <property name="use_action_appearance">False</property>
145 <property name="visible">True</property> 386 <property name="visible">True</property>
146 <property name="can_focus">True</property> 387 <property name="can_focus">True</property>
147 <property name="receives_default">True</property> 388 <property name="receives_default">False</property>
148 <property name="use_underline">True</property> 389 <property name="tooltip_text" translatable="yes">Make unsigned publication that will be searchable in global (anonymous) namespace.
149 <signal name="clicked" handler="GNUNET_GTK_master_publish_dialog_open_button_clicked_cb" swapped="no"/> 390Disabling this is equivalent to pressing the "Remove all Keywords" button before starting the publication.</property>
391 <property name="draw_indicator">True</property>
392 <signal name="toggled" handler="GNUNET_GTK_master_publish_dialog_global_checkbox_toggled_cb" swapped="no"/>
150 </object> 393 </object>
151 <packing> 394 <packing>
152 <property name="top_attach">1</property> 395 <property name="expand">False</property>
153 <property name="bottom_attach">2</property> 396 <property name="fill">False</property>
397 <property name="position">0</property>
154 </packing> 398 </packing>
155 </child> 399 </child>
156 <child> 400 <child>
157 <object class="GtkButton" id="GNUNET_GTK_master_publish_dialog_edit_button"> 401 <placeholder/>
158 <property name="label">gtk-edit</property> 402 </child>
159 <property name="use_action_appearance">False</property> 403 </object>
404 <packing>
405 <property name="expand">False</property>
406 <property name="fill">False</property>
407 <property name="position">0</property>
408 </packing>
409 </child>
410 <child>
411 <object class="GtkHBox" id="GNUNET_GTK_master_publish_dialog_own_hbox">
412 <property name="visible">True</property>
413 <property name="can_focus">False</property>
414 <child>
415 <object class="GtkCheckButton" id="GNUNET_GTK_master_publish_dialog_own_checkbox">
416 <property name="label" translatable="yes">Publish in your own namespace</property>
160 <property name="visible">True</property> 417 <property name="visible">True</property>
161 <property name="sensitive">False</property>
162 <property name="can_focus">True</property> 418 <property name="can_focus">True</property>
163 <property name="receives_default">True</property> 419 <property name="receives_default">False</property>
164 <property name="use_stock">True</property> 420 <property name="tooltip_text" translatable="yes">Sign the publication with your private key (pseudonym), and give it an identifier, under which it will be found in your namespace.
165 <signal name="clicked" handler="GNUNET_GTK_master_publish_dialog_edit_button_clicked_cb" swapped="no"/> 421Other users will be able to browse anything you publish in your namespace (if you maintain a root element), or get separate files from your namespace by their identifiers, and be assured that these files come from the same (anonymous) publisher.
422
423Unless specifically disabled in the configuration file, global namespace publications will also advertise your namespace, if you enable both global and private namespace publication.
424
425Despite all that, private namespace publications are just as anonymous as global namespace publications.
426
427Publishing in both global and private namespaces will not double storage requirements for published files.</property>
428 <property name="draw_indicator">True</property>
429 <signal name="toggled" handler="GNUNET_GTK_master_publish_dialog_own_checkbox_toggled_cb" swapped="no"/>
166 </object> 430 </object>
167 <packing> 431 <packing>
168 <property name="left_attach">1</property> 432 <property name="expand">False</property>
169 <property name="right_attach">2</property> 433 <property name="fill">True</property>
170 <property name="top_attach">1</property> 434 <property name="position">0</property>
171 <property name="bottom_attach">2</property>
172 </packing> 435 </packing>
173 </child> 436 </child>
174 <child> 437 <child>
175 <object class="GtkButton" id="GNUNET_GTK_master_publish_dialog_delete_button"> 438 <object class="GtkLabel" id="GNUNET_GTK_master_publish_dialog_own_label">
176 <property name="label">gtk-delete</property>
177 <property name="use_action_appearance">False</property>
178 <property name="visible">True</property> 439 <property name="visible">True</property>
179 <property name="sensitive">False</property> 440 <property name="can_focus">False</property>
180 <property name="can_focus">True</property> 441 <property name="label">&lt;filled with the name of selected default namespace&gt;</property>
181 <property name="receives_default">True</property>
182 <property name="use_stock">True</property>
183 <signal name="clicked" handler="GNUNET_GTK_master_publish_dialog_delete_button_clicked_cb" swapped="no"/>
184 </object> 442 </object>
185 <packing> 443 <packing>
186 <property name="left_attach">2</property> 444 <property name="expand">False</property>
187 <property name="right_attach">3</property> 445 <property name="fill">True</property>
188 <property name="top_attach">1</property> 446 <property name="position">1</property>
189 <property name="bottom_attach">2</property>
190 </packing> 447 </packing>
191 </child> 448 </child>
192 </object> 449 </object>
193 <packing> 450 <packing>
194 <property name="expand">False</property> 451 <property name="expand">False</property>
195 <property name="fill">True</property> 452 <property name="fill">True</property>
196 <property name="padding">25</property> 453 <property name="position">1</property>
197 <property name="position">0</property>
198 </packing> 454 </packing>
199 </child> 455 </child>
200 <child> 456 <child>
201 <object class="GtkTable" id="GNUNET_GTK_master_publish_dialog_arrow_table"> 457 <object class="GtkVBox" id="GNUNET_GTK_master_publish_dialog_own_vbox">
202 <property name="visible">True</property> 458 <property name="visible">True</property>
203 <property name="can_focus">False</property> 459 <property name="can_focus">False</property>
204 <property name="n_rows">2</property>
205 <property name="n_columns">3</property>
206 <property name="homogeneous">True</property>
207 <child> 460 <child>
208 <object class="GtkButton" id="GNUNET_GTK_master_publish_dialog_up_button"> 461 <object class="GtkHBox" id="GNUNET_GTK_master_publish_dialog_identifier_hbox">
209 <property name="label">gtk-go-up</property>
210 <property name="use_action_appearance">False</property>
211 <property name="visible">True</property> 462 <property name="visible">True</property>
212 <property name="sensitive">False</property> 463 <property name="can_focus">False</property>
213 <property name="can_focus">True</property> 464 <child>
214 <property name="receives_default">True</property> 465 <object class="GtkLabel" id="GNUNET_GTK_master_publish_dialog_identifier_label">
215 <property name="use_stock">True</property> 466 <property name="visible">True</property>
216 <signal name="clicked" handler="GNUNET_GTK_master_publish_dialog_up_button_clicked_cb" swapped="no"/> 467 <property name="can_focus">False</property>
468 <property name="xalign">0</property>
469 <property name="label" translatable="yes">Identifier:</property>
470 </object>
471 <packing>
472 <property name="expand">False</property>
473 <property name="fill">True</property>
474 <property name="position">0</property>
475 </packing>
476 </child>
477 <child>
478 <object class="GtkEntry" id="GNUNET_GTK_master_publish_dialog_identifier_entry">
479 <property name="visible">True</property>
480 <property name="can_focus">True</property>
481 <property name="tooltip_text" translatable="yes">Identifier under which this publication will be found in your namespace.
482Publications made in your namespace use only these identifiers, one per publication, instead of keywords.
483Type in an identifier, or select one of the update identifiers (from previous updateable publications) in the list below.</property>
484 <property name="invisible_char">●</property>
485 <property name="primary_icon_activatable">False</property>
486 <property name="secondary_icon_activatable">False</property>
487 <property name="primary_icon_sensitive">True</property>
488 <property name="secondary_icon_sensitive">True</property>
489 <signal name="changed" handler="GNUNET_GTK_master_publish_dialog_identifier_entry_changed_cb" swapped="no"/>
490 </object>
491 <packing>
492 <property name="expand">True</property>
493 <property name="fill">True</property>
494 <property name="position">1</property>
495 </packing>
496 </child>
217 </object> 497 </object>
218 <packing> 498 <packing>
219 <property name="left_attach">1</property> 499 <property name="expand">False</property>
220 <property name="right_attach">2</property> 500 <property name="fill">True</property>
501 <property name="position">0</property>
221 </packing> 502 </packing>
222 </child> 503 </child>
223 <child> 504 <child>
224 <object class="GtkButton" id="GNUNET_GTK_master_publish_dialog_left_button"> 505 <object class="GtkExpander" id="GNUNET_GTK_master_publish_dialog_previous_identifiers_expander">
225 <property name="label" translatable="yes">_Left</property>
226 <property name="use_action_appearance">False</property>
227 <property name="visible">True</property> 506 <property name="visible">True</property>
228 <property name="sensitive">False</property>
229 <property name="can_focus">True</property> 507 <property name="can_focus">True</property>
230 <property name="receives_default">True</property> 508 <child>
231 <property name="image">left_stock_image1</property> 509 <placeholder/>
232 <property name="use_underline">True</property> 510 </child>
233 <signal name="clicked" handler="GNUNET_GTK_master_publish_dialog_left_button_clicked_cb" swapped="no"/> 511 <child type="label">
512 <object class="GtkLabel" id="GNUNET_GTK_master_publish_dialog_previous_identifiers_label">
513 <property name="visible">True</property>
514 <property name="can_focus">False</property>
515 <property name="label" translatable="yes">Previous identifiers</property>
516 </object>
517 </child>
234 </object> 518 </object>
235 <packing> 519 <packing>
236 <property name="top_attach">1</property> 520 <property name="expand">False</property>
237 <property name="bottom_attach">2</property> 521 <property name="fill">True</property>
522 <property name="position">1</property>
238 </packing> 523 </packing>
239 </child> 524 </child>
240 <child> 525 <child>
241 <object class="GtkButton" id="GNUNET_GTK_master_publish_dialog_down_button"> 526 <object class="GtkScrolledWindow" id="GNUNET_GTK_master_publish_dialog_previous_identifiers_scrolled">
242 <property name="label">gtk-go-down</property>
243 <property name="use_action_appearance">False</property>
244 <property name="visible">True</property>
245 <property name="sensitive">False</property>
246 <property name="can_focus">True</property> 527 <property name="can_focus">True</property>
247 <property name="receives_default">True</property> 528 <property name="hscrollbar_policy">automatic</property>
248 <property name="use_stock">True</property> 529 <property name="vscrollbar_policy">automatic</property>
249 <signal name="clicked" handler="GNUNET_GTK_master_publish_dialog_down_button_clicked_cb" swapped="no"/> 530 <property name="shadow_type">in</property>
531 <child>
532 <object class="GtkTreeView" id="GNUNET_GTK_master_publish_dialog_previous_identifiers_treeview">
533 <property name="visible">True</property>
534 <property name="can_focus">True</property>
535 <property name="model">GNUNET_GTK_indentifiers_treestore</property>
536 <property name="headers_clickable">False</property>
537 <property name="expander_column">GNUNET_GTK_master_publish_dialog_previous_identifiers_treeview_id_column</property>
538 <property name="enable_search">False</property>
539 <property name="enable_tree_lines">True</property>
540 <child>
541 <object class="GtkTreeViewColumn" id="GNUNET_GTK_master_publish_dialog_previous_identifiers_treeview_id_column">
542 <property name="sizing">autosize</property>
543 <property name="title" translatable="yes">Identifier</property>
544 <child>
545 <object class="GtkCellRendererText" id="GNUNET_GTK_master_publish_dialog_previous_identifiers_treeview_id_renderer"/>
546 <attributes>
547 <attribute name="markup">4</attribute>
548 </attributes>
549 </child>
550 </object>
551 </child>
552 <child>
553 <object class="GtkTreeViewColumn" id="GNUNET_GTK_master_publish_dialog_previous_identifiers_treeview_update_id_column">
554 <property name="sizing">autosize</property>
555 <property name="title" translatable="yes">Update identifier</property>
556 <child>
557 <object class="GtkCellRendererText" id="GNUNET_GTK_master_publish_dialog_previous_identifiers_treeview_update_id_renderer"/>
558 <attributes>
559 <attribute name="markup">1</attribute>
560 </attributes>
561 </child>
562 </object>
563 </child>
564 <child>
565 <object class="GtkTreeViewColumn" id="GNUNET_GTK_master_publish_dialog_previous_identifiers_treeview_description_column">
566 <property name="sizing">autosize</property>
567 <property name="title" translatable="yes">Description</property>
568 <child>
569 <object class="GtkCellRendererText" id="GNUNET_GTK_master_publish_dialog_previous_identifiers_treeview_description_renderer"/>
570 <attributes>
571 <attribute name="text">2</attribute>
572 </attributes>
573 </child>
574 </object>
575 </child>
576 </object>
577 </child>
250 </object> 578 </object>
251 <packing> 579 <packing>
252 <property name="left_attach">1</property> 580 <property name="expand">True</property>
253 <property name="right_attach">2</property> 581 <property name="fill">True</property>
254 <property name="top_attach">1</property> 582 <property name="position">2</property>
255 <property name="bottom_attach">2</property>
256 </packing> 583 </packing>
257 </child> 584 </child>
258 <child> 585 <child>
259 <object class="GtkButton" id="GNUNET_GTK_master_publish_dialog_right_button"> 586 <object class="GtkHBox" id="dummy_hbox_2">
260 <property name="label" translatable="yes">_Right</property>
261 <property name="use_action_appearance">False</property>
262 <property name="visible">True</property> 587 <property name="visible">True</property>
263 <property name="sensitive">False</property> 588 <property name="can_focus">False</property>
264 <property name="can_focus">True</property> 589 <child>
265 <property name="receives_default">True</property> 590 <object class="GtkCheckButton" id="GNUNET_GTK_master_publish_dialog_updateable_checkbox">
266 <property name="image">right_stock_image1</property> 591 <property name="label" translatable="yes">Make publication updateable</property>
267 <property name="use_underline">True</property> 592 <property name="visible">True</property>
268 <signal name="clicked" handler="GNUNET_GTK_master_publish_dialog_right_button_clicked_cb" swapped="no"/> 593 <property name="can_focus">True</property>
594 <property name="receives_default">False</property>
595 <property name="tooltip_text" translatable="yes">Enable and specify an update identifier to make this publication updateable.</property>
596 <property name="draw_indicator">True</property>
597 <signal name="toggled" handler="GNUNET_GTK_master_publish_dialog_updateable_checkbox_toggled_cb" swapped="no"/>
598 </object>
599 <packing>
600 <property name="expand">False</property>
601 <property name="fill">False</property>
602 <property name="position">0</property>
603 </packing>
604 </child>
605 <child>
606 <placeholder/>
607 </child>
269 </object> 608 </object>
270 <packing> 609 <packing>
271 <property name="left_attach">2</property> 610 <property name="expand">False</property>
272 <property name="right_attach">3</property> 611 <property name="fill">False</property>
273 <property name="top_attach">1</property> 612 <property name="position">3</property>
274 <property name="bottom_attach">2</property>
275 </packing> 613 </packing>
276 </child> 614 </child>
277 <child> 615 <child>
278 <placeholder/> 616 <object class="GtkHBox" id="GNUNET_GTK_master_publish_dialog_update_id_hbox">
279 </child> 617 <property name="visible">True</property>
280 <child> 618 <property name="can_focus">False</property>
281 <placeholder/> 619 <child>
620 <object class="GtkLabel" id="GNUNET_GTK_master_publish_dialog_update_id_label">
621 <property name="visible">True</property>
622 <property name="can_focus">False</property>
623 <property name="label" translatable="yes">Update identifier:</property>
624 </object>
625 <packing>
626 <property name="expand">False</property>
627 <property name="fill">True</property>
628 <property name="position">0</property>
629 </packing>
630 </child>
631 <child>
632 <object class="GtkEntry" id="GNUNET_GTK_master_publish_dialog_update_id_entry">
633 <property name="visible">True</property>
634 <property name="can_focus">True</property>
635 <property name="tooltip_text" translatable="yes">Identifier under which the updated version will be published later.
636GNUnet clients will use it to try to find updated version of this publication automatically.
637Leaving this field blank makes publication unupdateable.</property>
638 <property name="invisible_char">●</property>
639 <property name="invisible_char_set">True</property>
640 <property name="primary_icon_activatable">False</property>
641 <property name="secondary_icon_activatable">False</property>
642 <property name="primary_icon_sensitive">True</property>
643 <property name="secondary_icon_sensitive">True</property>
644 </object>
645 <packing>
646 <property name="expand">True</property>
647 <property name="fill">True</property>
648 <property name="position">1</property>
649 </packing>
650 </child>
651 </object>
652 <packing>
653 <property name="expand">False</property>
654 <property name="fill">True</property>
655 <property name="position">4</property>
656 </packing>
282 </child> 657 </child>
283 </object> 658 </object>
284 <packing> 659 <packing>
285 <property name="expand">False</property> 660 <property name="expand">True</property>
286 <property name="fill">True</property> 661 <property name="fill">True</property>
287 <property name="padding">25</property> 662 <property name="position">2</property>
288 <property name="position">1</property>
289 </packing> 663 </packing>
290 </child> 664 </child>
291 </object> 665 </object>
292 <packing>
293 <property name="expand">False</property>
294 <property name="fill">True</property>
295 <property name="position">1</property>
296 </packing>
297 </child> 666 </child>
298 </object> 667 <child type="label_item">
299 <packing> 668 <placeholder/>
300 <property name="resize">False</property>
301 <property name="shrink">False</property>
302 </packing>
303 </child>
304 <child>
305 <object class="GtkScrolledWindow" id="GNUNET_GTK_master_publish_dialog_pseudonym_scrolled_window">
306 <property name="visible">True</property>
307 <property name="can_focus">True</property>
308 <property name="hadjustment">adjustment1</property>
309 <property name="vadjustment">adjustment2</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_master_publish_dialog_pseudonym_tree_view">
315 <property name="visible">True</property>
316 <property name="can_focus">True</property>
317 <property name="model">GNUNET_GTK_pseudonym_tree_store</property>
318 <property name="hadjustment">adjustment1</property>
319 <property name="vadjustment">adjustment2</property>
320 <property name="headers_clickable">False</property>
321 <property name="reorderable">True</property>
322 <property name="search_column">0</property>
323 <property name="rubber_banding">True</property>
324 <property name="enable_grid_lines">both</property>
325 <child>
326 <object class="GtkTreeViewColumn" id="GNUNET_GTK_master_publish_dialog_pseudonym_name_column">
327 <property name="resizable">True</property>
328 <property name="title">Pseudonym</property>
329 <property name="clickable">True</property>
330 <property name="reorderable">True</property>
331 <property name="sort_indicator">True</property>
332 <child>
333 <object class="GtkCellRendererText" id="GNUNET_GTK_master_publish_dialog_pseudonym_name_renderer"/>
334 <attributes>
335 <attribute name="text">0</attribute>
336 </attributes>
337 </child>
338 </object>
339 </child>
340 <child>
341 <object class="GtkTreeViewColumn" id="GNUNET_GTK_master_publish_dialog_pseudonym_identifier_column">
342 <property name="sizing">autosize</property>
343 <property name="title">Current identifier</property>
344 <property name="clickable">True</property>
345 <child>
346 <object class="GtkCellRendererText" id="GNUNET_GTK_master_publish_dialog_pseudonym_identifier_renderer">
347 <signal name="edited" handler="GNUNET_GTK_master_publish_dialog_pseudonym_identifier_renderer_edited_cb" swapped="no"/>
348 </object>
349 <attributes>
350 <attribute name="editable">8</attribute>
351 <attribute name="text">2</attribute>
352 </attributes>
353 </child>
354 </object>
355 </child>
356 <child>
357 <object class="GtkTreeViewColumn" id="GNUNET_GTK_master_publish_dialog_pseudonym_updates_column">
358 <property name="sizing">autosize</property>
359 <property name="title">Update identifier</property>
360 <child>
361 <object class="GtkCellRendererText" id="GNUNET_GTK_master_publish_dialog_pseudonym_updates_renderer">
362 <signal name="edited" handler="GNUNET_GTK_master_publish_dialog_pseudonym_updates_renderer_edited_cb" swapped="no"/>
363 </object>
364 <attributes>
365 <attribute name="editable">7</attribute>
366 <attribute name="text">5</attribute>
367 </attributes>
368 </child>
369 </object>
370 </child>
371 <child>
372 <object class="GtkTreeViewColumn" id="GNUNET_GTK_master_publish_dialog_pseudonym_description_column">
373 <property name="resizable">True</property>
374 <property name="title">Description (of existing content)</property>
375 <child>
376 <object class="GtkCellRendererText" id="GNUNET_GTK_master_publish_dialog_pseudonym_description_renderer">
377 <property name="wrap_mode">word</property>
378 </object>
379 <attributes>
380 <attribute name="text">6</attribute>
381 </attributes>
382 </child>
383 </object>
384 </child>
385 </object>
386 </child> 669 </child>
387 </object> 670 </object>
388 <packing> 671 <packing>
@@ -405,7 +688,6 @@
405 <child> 688 <child>
406 <object class="GtkButton" id="GNUNET_GTK_master_publish_dialog_execute_button"> 689 <object class="GtkButton" id="GNUNET_GTK_master_publish_dialog_execute_button">
407 <property name="label" translatable="yes">_Execute</property> 690 <property name="label" translatable="yes">_Execute</property>
408 <property name="use_action_appearance">False</property>
409 <property name="visible">True</property> 691 <property name="visible">True</property>
410 <property name="can_focus">True</property> 692 <property name="can_focus">True</property>
411 <property name="receives_default">True</property> 693 <property name="receives_default">True</property>
@@ -422,12 +704,13 @@
422 <child> 704 <child>
423 <object class="GtkButton" id="GNUNET_GTK_master_publish_dialog_clear_button"> 705 <object class="GtkButton" id="GNUNET_GTK_master_publish_dialog_clear_button">
424 <property name="label" translatable="yes">Remove all _Keywords</property> 706 <property name="label" translatable="yes">Remove all _Keywords</property>
425 <property name="use_action_appearance">False</property>
426 <property name="visible">True</property> 707 <property name="visible">True</property>
427 <property name="can_focus">True</property> 708 <property name="can_focus">True</property>
428 <property name="receives_default">True</property> 709 <property name="receives_default">True</property>
710 <property name="tooltip_text" translatable="yes">This button removes all keywords from all files and directories in this dialog.
711This is useful if you want to get rid of the automatically extracted keywords to make sure that your published file(s) are only available from the resulting URI or from keywords that you manually enter after clicking this button.
712Note that meta data is unaffected when using this function.</property>
429 <property name="use_underline">True</property> 713 <property name="use_underline">True</property>
430 <property name="tooltip_text" translatable="yes">This button removes all keywords from all files and directories in this dialog. This is useful if you want to get rid of the automatically extracted keywords to make sure that your published file(s) are only available from the resulting URI or from keywords that you manually enter after clicking this button. Note that meta data is unaffected when using this function.</property>
431 <signal name="clicked" handler="GNUNET_GTK_master_publish_dialog_clear_button_clicked_cb" swapped="no"/> 714 <signal name="clicked" handler="GNUNET_GTK_master_publish_dialog_clear_button_clicked_cb" swapped="no"/>
432 </object> 715 </object>
433 <packing> 716 <packing>
@@ -440,7 +723,6 @@
440 <child> 723 <child>
441 <object class="GtkButton" id="GNUNET_GTK_master_publish_dialog_cancel_button"> 724 <object class="GtkButton" id="GNUNET_GTK_master_publish_dialog_cancel_button">
442 <property name="label" translatable="yes">_Cancel</property> 725 <property name="label" translatable="yes">_Cancel</property>
443 <property name="use_action_appearance">False</property>
444 <property name="visible">True</property> 726 <property name="visible">True</property>
445 <property name="can_focus">True</property> 727 <property name="can_focus">True</property>
446 <property name="receives_default">True</property> 728 <property name="receives_default">True</property>
@@ -464,79 +746,28 @@
464 </object> 746 </object>
465 </child> 747 </child>
466 </object> 748 </object>
467 <object class="GtkAdjustment" id="adjustment6">
468 <property name="upper">100</property>
469 <property name="step_increment">1</property>
470 <property name="page_increment">10</property>
471 </object>
472 <object class="GtkTreeStore" id="GNUNET_GTK_pseudonym_tree_store">
473 <columns>
474 <!-- column-name local_name -->
475 <column type="gchararray"/>
476 <!-- column-name namespace_handle -->
477 <column type="gpointer"/>
478 <!-- column-name last_id -->
479 <column type="gchararray"/>
480 <!-- column-name last_uri -->
481 <column type="gchararray"/>
482 <!-- column-name last_meta -->
483 <column type="gpointer"/>
484 <!-- column-name next_id -->
485 <column type="gchararray"/>
486 <!-- column-name last_description_from_meta -->
487 <column type="gchararray"/>
488 <!-- column-name next_id_editable -->
489 <column type="gboolean"/>
490 <!-- column-name current_id_editable -->
491 <column type="gboolean"/>
492 </columns>
493 </object>
494 <object class="GtkAdjustment" id="adjustment1">
495 <property name="upper">100</property>
496 <property name="step_increment">1</property>
497 <property name="page_increment">10</property>
498 </object>
499 <object class="GtkAdjustment" id="adjustment2">
500 <property name="upper">100</property>
501 <property name="step_increment">1</property>
502 <property name="page_increment">10</property>
503 </object>
504 <object class="GtkAdjustment" id="adjustment5">
505 <property name="upper">100</property>
506 <property name="step_increment">1</property>
507 <property name="page_increment">10</property>
508 </object>
509 <object class="GtkImage" id="left_stock_image">
510 <property name="visible">True</property>
511 <property name="can_focus">False</property>
512 <property name="stock">gtk-go-back</property>
513 </object>
514 <object class="GtkImage" id="left_stock_image1">
515 <property name="visible">True</property>
516 <property name="can_focus">False</property>
517 <property name="stock">gtk-go-back</property>
518 </object>
519 <object class="GtkImage" id="new_stock_image"> 749 <object class="GtkImage" id="new_stock_image">
520 <property name="visible">True</property> 750 <property name="visible">True</property>
521 <property name="can_focus">False</property> 751 <property name="can_focus">False</property>
522 <property name="stock">gtk-new</property> 752 <property name="stock">gtk-new</property>
523 </object> 753 </object>
524 <object class="GtkImage" id="new_stock_image1">
525 <property name="visible">True</property>
526 <property name="can_focus">False</property>
527 <property name="stock">gtk-new</property>
528 </object>
529 <object class="GtkImage" id="right_stock_image"> 754 <object class="GtkImage" id="right_stock_image">
530 <property name="visible">True</property> 755 <property name="visible">True</property>
531 <property name="can_focus">False</property> 756 <property name="can_focus">False</property>
532 <property name="stock">gtk-go-forward</property> 757 <property name="stock">gtk-go-forward</property>
533 </object> 758 </object>
534 <object class="GtkImage" id="right_stock_image1"> 759 <object class="GtkImage" id="left_stock_image">
535 <property name="visible">True</property> 760 <property name="visible">True</property>
536 <property name="can_focus">False</property> 761 <property name="can_focus">False</property>
537 <property name="stock">gtk-go-forward</property> 762 <property name="stock">gtk-go-back</property>
763 </object>
764 <object class="GtkSizeGroup" id="GNUNET_GTK_master_publish_dialog_labels_sizegroup">
765 <widgets>
766 <widget name="GNUNET_GTK_master_publish_dialog_identifier_label"/>
767 <widget name="GNUNET_GTK_master_publish_dialog_update_id_label"/>
768 </widgets>
538 </object> 769 </object>
539 <object class="GtkSizeGroup" id="sizegroup1"> 770 <object class="GtkSizeGroup" id="GNUNET_GTK_master_publish_dialog_master_buttons_sizegroup">
540 <widgets> 771 <widgets>
541 <widget name="GNUNET_GTK_master_publish_dialog_execute_button"/> 772 <widget name="GNUNET_GTK_master_publish_dialog_execute_button"/>
542 <widget name="GNUNET_GTK_master_publish_dialog_cancel_button"/> 773 <widget name="GNUNET_GTK_master_publish_dialog_cancel_button"/>