diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-08-15 15:16:56 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-08-15 15:16:56 +0000 |
commit | c09eb56655a35ffba298c42cd976a3c2b8ba4f1a (patch) | |
tree | 9ce58ea0a3c71890def3b35c1ff51d152d396fca | |
parent | e3c3adecec12f52f9c54e20aa3a8433b60b6cc42 (diff) | |
download | gnunet-gtk-c09eb56655a35ffba298c42cd976a3c2b8ba4f1a.tar.gz gnunet-gtk-c09eb56655a35ffba298c42cd976a3c2b8ba4f1a.zip |
removing peerinfo from gnunet-fs
-rw-r--r-- | contrib/gnunet_fs_gtk_main_window.glade | 209 | ||||
-rw-r--r-- | contrib/gnunet_peerinfo_gtk_main_window.glade | 538 |
2 files changed, 611 insertions, 136 deletions
diff --git a/contrib/gnunet_fs_gtk_main_window.glade b/contrib/gnunet_fs_gtk_main_window.glade index 79d38685..78d6358a 100644 --- a/contrib/gnunet_fs_gtk_main_window.glade +++ b/contrib/gnunet_fs_gtk_main_window.glade | |||
@@ -2,59 +2,25 @@ | |||
2 | <interface> | 2 | <interface> |
3 | <requires lib="gtk+" version="2.20"/> | 3 | <requires lib="gtk+" version="2.20"/> |
4 | <!-- interface-naming-policy project-wide --> | 4 | <!-- interface-naming-policy project-wide --> |
5 | <object class="GtkAdjustment" id="adjustment4"> | 5 | <object class="GtkImage" id="image5"> |
6 | <property name="upper">100</property> | 6 | <property name="visible">True</property> |
7 | <property name="step_increment">1</property> | 7 | <property name="stock">gtk-go-down</property> |
8 | <property name="page_increment">10</property> | ||
9 | <property name="page_size">10</property> | ||
10 | </object> | ||
11 | <object class="GtkAdjustment" id="adjustment3"> | ||
12 | <property name="upper">100</property> | ||
13 | <property name="step_increment">1</property> | ||
14 | <property name="page_increment">10</property> | ||
15 | <property name="page_size">10</property> | ||
16 | </object> | ||
17 | <object class="GtkAdjustment" id="adjustment2"> | ||
18 | <property name="upper">100</property> | ||
19 | <property name="step_increment">1</property> | ||
20 | <property name="page_increment">10</property> | ||
21 | <property name="page_size">10</property> | ||
22 | </object> | 8 | </object> |
23 | <object class="GtkAdjustment" id="adjustment1"> | 9 | <object class="GtkImage" id="image4"> |
24 | <property name="upper">100</property> | 10 | <property name="visible">True</property> |
25 | <property name="step_increment">1</property> | 11 | <property name="stock">gtk-find</property> |
26 | <property name="page_increment">10</property> | ||
27 | <property name="page_size">10</property> | ||
28 | </object> | 12 | </object> |
29 | <object class="GtkImage" id="image6"> | 13 | <object class="GtkImage" id="image1"> |
30 | <property name="visible">True</property> | 14 | <property name="visible">True</property> |
31 | <property name="stock">gtk-index</property> | 15 | <property name="stock">gtk-open</property> |
32 | </object> | 16 | </object> |
33 | <object class="GtkListStore" id="GNUNET_GTK_peer_info_list_store"> | 17 | <object class="GtkImage" id="image3"> |
34 | <columns> | 18 | <property name="visible">True</property> |
35 | <!-- column-name peer_identity --> | 19 | <property name="stock">gtk-new</property> |
36 | <column type="gchararray"/> | ||
37 | <!-- column-name number_of_known_addresses --> | ||
38 | <column type="guint"/> | ||
39 | <!-- column-name country_name --> | ||
40 | <column type="gchararray"/> | ||
41 | <!-- column-name country_flag --> | ||
42 | <column type="GdkPixbuf"/> | ||
43 | <!-- column-name bandwidth --> | ||
44 | <column type="guint64"/> | ||
45 | </columns> | ||
46 | </object> | 20 | </object> |
47 | <object class="GtkListStore" id="GNUNET_GTK_meta_data_list_store"> | 21 | <object class="GtkImage" id="image2"> |
48 | <columns> | 22 | <property name="visible">True</property> |
49 | <!-- column-name extractor_meta_type --> | 23 | <property name="stock">gtk-go-up</property> |
50 | <column type="guint"/> | ||
51 | <!-- column-name extractor_meta_format --> | ||
52 | <column type="guint"/> | ||
53 | <!-- column-name extractor_meta_type_string --> | ||
54 | <column type="gchararray"/> | ||
55 | <!-- column-name extracotr_meta_value --> | ||
56 | <column type="gchararray"/> | ||
57 | </columns> | ||
58 | </object> | 24 | </object> |
59 | <object class="GtkWindow" id="GNUNET_GTK_main_window"> | 25 | <object class="GtkWindow" id="GNUNET_GTK_main_window"> |
60 | <property name="title" translatable="yes">gnunet-gtk</property> | 26 | <property name="title" translatable="yes">gnunet-gtk</property> |
@@ -291,6 +257,7 @@ | |||
291 | </object> | 257 | </object> |
292 | <packing> | 258 | <packing> |
293 | <property name="expand">False</property> | 259 | <property name="expand">False</property> |
260 | <property name="fill">True</property> | ||
294 | <property name="position">1</property> | 261 | <property name="position">1</property> |
295 | </packing> | 262 | </packing> |
296 | </child> | 263 | </child> |
@@ -328,6 +295,8 @@ | |||
328 | <signal name="switch-page" handler="GNUNET_GTK_main_window_notebook_switch_page_cb" after="yes" swapped="no"/> | 295 | <signal name="switch-page" handler="GNUNET_GTK_main_window_notebook_switch_page_cb" after="yes" swapped="no"/> |
329 | </object> | 296 | </object> |
330 | <packing> | 297 | <packing> |
298 | <property name="expand">True</property> | ||
299 | <property name="fill">True</property> | ||
331 | <property name="position">0</property> | 300 | <property name="position">0</property> |
332 | </packing> | 301 | </packing> |
333 | </child> | 302 | </child> |
@@ -337,6 +306,7 @@ | |||
337 | </object> | 306 | </object> |
338 | <packing> | 307 | <packing> |
339 | <property name="expand">False</property> | 308 | <property name="expand">False</property> |
309 | <property name="fill">True</property> | ||
340 | <property name="position">1</property> | 310 | <property name="position">1</property> |
341 | </packing> | 311 | </packing> |
342 | </child> | 312 | </child> |
@@ -414,90 +384,22 @@ | |||
414 | </child> | 384 | </child> |
415 | </object> | 385 | </object> |
416 | <packing> | 386 | <packing> |
387 | <property name="expand">True</property> | ||
388 | <property name="fill">True</property> | ||
417 | <property name="position">1</property> | 389 | <property name="position">1</property> |
418 | </packing> | 390 | </packing> |
419 | </child> | 391 | </child> |
420 | <child> | ||
421 | <object class="GtkScrolledWindow" id="GNUNET_GTK_main_window_peerinfo_scroll"> | ||
422 | <property name="visible">True</property> | ||
423 | <property name="can_focus">True</property> | ||
424 | <property name="hadjustment">adjustment3</property> | ||
425 | <property name="vadjustment">adjustment4</property> | ||
426 | <property name="hscrollbar_policy">automatic</property> | ||
427 | <property name="vscrollbar_policy">automatic</property> | ||
428 | <child> | ||
429 | <object class="GtkTreeView" id="GNUNET_GTK_main_window_peerinfo_treeview"> | ||
430 | <property name="visible">True</property> | ||
431 | <property name="can_focus">True</property> | ||
432 | <property name="model">GNUNET_GTK_peer_info_list_store</property> | ||
433 | <property name="hadjustment">adjustment3</property> | ||
434 | <property name="vadjustment">adjustment4</property> | ||
435 | <property name="headers_clickable">False</property> | ||
436 | <property name="reorderable">True</property> | ||
437 | <property name="search_column">0</property> | ||
438 | <child> | ||
439 | <object class="GtkTreeViewColumn" id="GNUNET_GTK_main_window_peerinfo_name_column"> | ||
440 | <property name="sizing">autosize</property> | ||
441 | <property name="title" translatable="yes">Peer</property> | ||
442 | <property name="expand">True</property> | ||
443 | <property name="clickable">True</property> | ||
444 | <property name="reorderable">True</property> | ||
445 | <property name="sort_column_id">0</property> | ||
446 | <child> | ||
447 | <object class="GtkCellRendererText" id="GNUNET_GTK_main_window_peerinfo_name_renderer"> | ||
448 | <property name="sensitive">False</property> | ||
449 | <property name="width_chars">16</property> | ||
450 | </object> | ||
451 | <attributes> | ||
452 | <attribute name="text">0</attribute> | ||
453 | </attributes> | ||
454 | </child> | ||
455 | </object> | ||
456 | </child> | ||
457 | <child> | ||
458 | <object class="GtkTreeViewColumn" id="GNUNET_GTK_main_window_peerinfo_bandwidth_column"> | ||
459 | <property name="sizing">autosize</property> | ||
460 | <property name="title" translatable="yes">Bandwidth</property> | ||
461 | <property name="sort_order">descending</property> | ||
462 | <property name="sort_column_id">5</property> | ||
463 | <child> | ||
464 | <object class="GtkCellRendererText" id="GNUNET_GTK_main_window_peerinfo_bandwidth_renderer"/> | ||
465 | <attributes> | ||
466 | <attribute name="text">4</attribute> | ||
467 | </attributes> | ||
468 | </child> | ||
469 | </object> | ||
470 | </child> | ||
471 | <child> | ||
472 | <object class="GtkTreeViewColumn" id="GNUNET_GTK_main_window_peerinfo_country_column"> | ||
473 | <property name="sizing">autosize</property> | ||
474 | <property name="title" translatable="yes">Country</property> | ||
475 | <property name="clickable">True</property> | ||
476 | <property name="reorderable">True</property> | ||
477 | <property name="sort_indicator">True</property> | ||
478 | <property name="sort_column_id">3</property> | ||
479 | <child> | ||
480 | <object class="GtkCellRendererPixbuf" id="GNUNET_GTK_main_window_peerinfo_country_renderer"/> | ||
481 | <attributes> | ||
482 | <attribute name="pixbuf">3</attribute> | ||
483 | </attributes> | ||
484 | </child> | ||
485 | </object> | ||
486 | </child> | ||
487 | </object> | ||
488 | </child> | ||
489 | </object> | ||
490 | <packing> | ||
491 | <property name="position">2</property> | ||
492 | </packing> | ||
493 | </child> | ||
494 | </object> | 392 | </object> |
495 | <packing> | 393 | <packing> |
394 | <property name="expand">True</property> | ||
395 | <property name="fill">True</property> | ||
496 | <property name="position">2</property> | 396 | <property name="position">2</property> |
497 | </packing> | 397 | </packing> |
498 | </child> | 398 | </child> |
499 | </object> | 399 | </object> |
500 | <packing> | 400 | <packing> |
401 | <property name="expand">True</property> | ||
402 | <property name="fill">True</property> | ||
501 | <property name="position">3</property> | 403 | <property name="position">3</property> |
502 | </packing> | 404 | </packing> |
503 | </child> | 405 | </child> |
@@ -508,6 +410,7 @@ | |||
508 | </object> | 410 | </object> |
509 | <packing> | 411 | <packing> |
510 | <property name="expand">False</property> | 412 | <property name="expand">False</property> |
413 | <property name="fill">True</property> | ||
511 | <property name="pack_type">end</property> | 414 | <property name="pack_type">end</property> |
512 | <property name="position">0</property> | 415 | <property name="position">0</property> |
513 | </packing> | 416 | </packing> |
@@ -515,24 +418,58 @@ | |||
515 | </object> | 418 | </object> |
516 | </child> | 419 | </child> |
517 | </object> | 420 | </object> |
518 | <object class="GtkImage" id="image2"> | 421 | <object class="GtkListStore" id="GNUNET_GTK_meta_data_list_store"> |
519 | <property name="visible">True</property> | 422 | <columns> |
520 | <property name="stock">gtk-go-up</property> | 423 | <!-- column-name extractor_meta_type --> |
424 | <column type="guint"/> | ||
425 | <!-- column-name extractor_meta_format --> | ||
426 | <column type="guint"/> | ||
427 | <!-- column-name extractor_meta_type_string --> | ||
428 | <column type="gchararray"/> | ||
429 | <!-- column-name extracotr_meta_value --> | ||
430 | <column type="gchararray"/> | ||
431 | </columns> | ||
521 | </object> | 432 | </object> |
522 | <object class="GtkImage" id="image3"> | 433 | <object class="GtkListStore" id="GNUNET_GTK_peer_info_list_store"> |
523 | <property name="visible">True</property> | 434 | <columns> |
524 | <property name="stock">gtk-new</property> | 435 | <!-- column-name peer_identity --> |
436 | <column type="gchararray"/> | ||
437 | <!-- column-name number_of_known_addresses --> | ||
438 | <column type="guint"/> | ||
439 | <!-- column-name country_name --> | ||
440 | <column type="gchararray"/> | ||
441 | <!-- column-name country_flag --> | ||
442 | <column type="GdkPixbuf"/> | ||
443 | <!-- column-name bandwidth --> | ||
444 | <column type="guint64"/> | ||
445 | </columns> | ||
525 | </object> | 446 | </object> |
526 | <object class="GtkImage" id="image1"> | 447 | <object class="GtkImage" id="image6"> |
527 | <property name="visible">True</property> | 448 | <property name="visible">True</property> |
528 | <property name="stock">gtk-open</property> | 449 | <property name="stock">gtk-index</property> |
529 | </object> | 450 | </object> |
530 | <object class="GtkImage" id="image4"> | 451 | <object class="GtkAdjustment" id="adjustment1"> |
531 | <property name="visible">True</property> | 452 | <property name="upper">100</property> |
532 | <property name="stock">gtk-find</property> | 453 | <property name="step_increment">1</property> |
454 | <property name="page_increment">10</property> | ||
455 | <property name="page_size">10</property> | ||
533 | </object> | 456 | </object> |
534 | <object class="GtkImage" id="image5"> | 457 | <object class="GtkAdjustment" id="adjustment2"> |
535 | <property name="visible">True</property> | 458 | <property name="upper">100</property> |
536 | <property name="stock">gtk-go-down</property> | 459 | <property name="step_increment">1</property> |
460 | <property name="page_increment">10</property> | ||
461 | <property name="page_size">10</property> | ||
462 | </object> | ||
463 | <object class="GtkAdjustment" id="adjustment3"> | ||
464 | <property name="upper">100</property> | ||
465 | <property name="step_increment">1</property> | ||
466 | <property name="page_increment">10</property> | ||
467 | <property name="page_size">10</property> | ||
468 | </object> | ||
469 | <object class="GtkAdjustment" id="adjustment4"> | ||
470 | <property name="upper">100</property> | ||
471 | <property name="step_increment">1</property> | ||
472 | <property name="page_increment">10</property> | ||
473 | <property name="page_size">10</property> | ||
537 | </object> | 474 | </object> |
538 | </interface> | 475 | </interface> |
diff --git a/contrib/gnunet_peerinfo_gtk_main_window.glade b/contrib/gnunet_peerinfo_gtk_main_window.glade new file mode 100644 index 00000000..79d38685 --- /dev/null +++ b/contrib/gnunet_peerinfo_gtk_main_window.glade | |||
@@ -0,0 +1,538 @@ | |||
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="GtkAdjustment" id="adjustment4"> | ||
6 | <property name="upper">100</property> | ||
7 | <property name="step_increment">1</property> | ||
8 | <property name="page_increment">10</property> | ||
9 | <property name="page_size">10</property> | ||
10 | </object> | ||
11 | <object class="GtkAdjustment" id="adjustment3"> | ||
12 | <property name="upper">100</property> | ||
13 | <property name="step_increment">1</property> | ||
14 | <property name="page_increment">10</property> | ||
15 | <property name="page_size">10</property> | ||
16 | </object> | ||
17 | <object class="GtkAdjustment" id="adjustment2"> | ||
18 | <property name="upper">100</property> | ||
19 | <property name="step_increment">1</property> | ||
20 | <property name="page_increment">10</property> | ||
21 | <property name="page_size">10</property> | ||
22 | </object> | ||
23 | <object class="GtkAdjustment" id="adjustment1"> | ||
24 | <property name="upper">100</property> | ||
25 | <property name="step_increment">1</property> | ||
26 | <property name="page_increment">10</property> | ||
27 | <property name="page_size">10</property> | ||
28 | </object> | ||
29 | <object class="GtkImage" id="image6"> | ||
30 | <property name="visible">True</property> | ||
31 | <property name="stock">gtk-index</property> | ||
32 | </object> | ||
33 | <object class="GtkListStore" id="GNUNET_GTK_peer_info_list_store"> | ||
34 | <columns> | ||
35 | <!-- column-name peer_identity --> | ||
36 | <column type="gchararray"/> | ||
37 | <!-- column-name number_of_known_addresses --> | ||
38 | <column type="guint"/> | ||
39 | <!-- column-name country_name --> | ||
40 | <column type="gchararray"/> | ||
41 | <!-- column-name country_flag --> | ||
42 | <column type="GdkPixbuf"/> | ||
43 | <!-- column-name bandwidth --> | ||
44 | <column type="guint64"/> | ||
45 | </columns> | ||
46 | </object> | ||
47 | <object class="GtkListStore" id="GNUNET_GTK_meta_data_list_store"> | ||
48 | <columns> | ||
49 | <!-- column-name extractor_meta_type --> | ||
50 | <column type="guint"/> | ||
51 | <!-- column-name extractor_meta_format --> | ||
52 | <column type="guint"/> | ||
53 | <!-- column-name extractor_meta_type_string --> | ||
54 | <column type="gchararray"/> | ||
55 | <!-- column-name extracotr_meta_value --> | ||
56 | <column type="gchararray"/> | ||
57 | </columns> | ||
58 | </object> | ||
59 | <object class="GtkWindow" id="GNUNET_GTK_main_window"> | ||
60 | <property name="title" translatable="yes">gnunet-gtk</property> | ||
61 | <property name="window_position">center</property> | ||
62 | <property name="default_width">700</property> | ||
63 | <property name="default_height">500</property> | ||
64 | <property name="icon_name">gnunet-gtk</property> | ||
65 | <signal name="delete-event" handler="GNUNET_GTK_quit_cb" after="yes" swapped="no"/> | ||
66 | <child> | ||
67 | <object class="GtkVBox" id="GNUNET_GTK_main_window_vbox"> | ||
68 | <property name="visible">True</property> | ||
69 | <child> | ||
70 | <object class="GtkMenuBar" id="GNUNET_GTK_main_menu"> | ||
71 | <property name="visible">True</property> | ||
72 | <child> | ||
73 | <object class="GtkMenuItem" id="GNUNET_GTK_main_menu_file_sharing"> | ||
74 | <property name="visible">True</property> | ||
75 | <property name="use_action_appearance">False</property> | ||
76 | <property name="label" translatable="yes">_File sharing</property> | ||
77 | <property name="use_underline">True</property> | ||
78 | <child type="submenu"> | ||
79 | <object class="GtkMenu" id="GNUNET_GTK_main_menu_file_sharing_box"> | ||
80 | <property name="visible">True</property> | ||
81 | <child> | ||
82 | <object class="GtkImageMenuItem" id="GNUNET_GTK_main_menu_file_create_pseudonym"> | ||
83 | <property name="label" translatable="yes">_Create pseudonym</property> | ||
84 | <property name="visible">True</property> | ||
85 | <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> | ||
86 | <property name="use_action_appearance">False</property> | ||
87 | <property name="accel_path"><gnunet-gtk>/File sharing/Create pseudonym</property> | ||
88 | <property name="use_underline">True</property> | ||
89 | <property name="image">image3</property> | ||
90 | <property name="use_stock">False</property> | ||
91 | <accelerator key="n" signal="activate" modifiers="GDK_CONTROL_MASK"/> | ||
92 | <signal name="activate" handler="GNUNET_GTK_main_menu_create_pseudonym_activate_cb" swapped="no"/> | ||
93 | </object> | ||
94 | </child> | ||
95 | <child> | ||
96 | <object class="GtkImageMenuItem" id="GNUNET_GTK_main_menu_file_advertise_pseudonym"> | ||
97 | <property name="label" translatable="yes">_Advertise Pseudonym</property> | ||
98 | <property name="visible">True</property> | ||
99 | <property name="use_action_appearance">False</property> | ||
100 | <property name="use_underline">True</property> | ||
101 | <property name="image">image6</property> | ||
102 | <property name="use_stock">False</property> | ||
103 | <signal name="activate" handler="GNUNET_GTK_main_menu_file_advertise_pseudonym_activate_cb" swapped="no"/> | ||
104 | </object> | ||
105 | </child> | ||
106 | <child> | ||
107 | <object class="GtkImageMenuItem" id="GNUNET_GTK_main_menu_file_publish"> | ||
108 | <property name="label" translatable="yes">_Publish</property> | ||
109 | <property name="visible">True</property> | ||
110 | <property name="tooltip_text" translatable="yes">Publish files or directories on GNUnet</property> | ||
111 | <property name="use_action_appearance">False</property> | ||
112 | <property name="accel_path"><gnunet-gtk>/File sharing/Publish</property> | ||
113 | <property name="use_underline">True</property> | ||
114 | <property name="image">image2</property> | ||
115 | <property name="use_stock">False</property> | ||
116 | <accelerator key="a" signal="activate" modifiers="GDK_CONTROL_MASK"/> | ||
117 | <signal name="activate" handler="GNUNET_GTK_main_menu_file_publish_activate_cb" swapped="no"/> | ||
118 | </object> | ||
119 | </child> | ||
120 | <child> | ||
121 | <object class="GtkSeparatorMenuItem" id="GNUNET_GTK_main_menu_file_sep1"> | ||
122 | <property name="visible">True</property> | ||
123 | <property name="use_action_appearance">False</property> | ||
124 | </object> | ||
125 | </child> | ||
126 | <child> | ||
127 | <object class="GtkImageMenuItem" id="GNUNET_GTK_main_menu_file_search"> | ||
128 | <property name="label" translatable="yes">_Search</property> | ||
129 | <property name="visible">True</property> | ||
130 | <property name="tooltip_text" translatable="yes">Search GNUnet for files</property> | ||
131 | <property name="use_action_appearance">False</property> | ||
132 | <property name="accel_path"><gnunet-gtk>/File sharing/Search</property> | ||
133 | <property name="use_underline">True</property> | ||
134 | <property name="image">image4</property> | ||
135 | <property name="use_stock">False</property> | ||
136 | <accelerator key="s" signal="activate" modifiers="GDK_CONTROL_MASK"/> | ||
137 | <signal name="activate" handler="GNUNET_GTK_main_menu_file_search_activate_cb" swapped="no"/> | ||
138 | </object> | ||
139 | </child> | ||
140 | <child> | ||
141 | <object class="GtkSeparatorMenuItem" id="GNUNET_GTK_main_menu_file_sep2"> | ||
142 | <property name="visible">True</property> | ||
143 | <property name="use_action_appearance">False</property> | ||
144 | </object> | ||
145 | </child> | ||
146 | <child> | ||
147 | <object class="GtkImageMenuItem" id="GNUNET_GTK_main_menu_file_download_uri"> | ||
148 | <property name="label" translatable="yes">_Download</property> | ||
149 | <property name="visible">True</property> | ||
150 | <property name="tooltip_text" translatable="yes">Download a file or directory with a known URI.</property> | ||
151 | <property name="use_action_appearance">False</property> | ||
152 | <property name="accel_path"><gnunet-gtk>/File sharing/Download</property> | ||
153 | <property name="use_underline">True</property> | ||
154 | <property name="image">image5</property> | ||
155 | <property name="use_stock">False</property> | ||
156 | <accelerator key="d" signal="activate" modifiers="GDK_CONTROL_MASK"/> | ||
157 | <signal name="activate" handler="GNUNET_GTK_main_menu_file_download_uri_activate_cb" swapped="no"/> | ||
158 | </object> | ||
159 | </child> | ||
160 | <child> | ||
161 | <object class="GtkImageMenuItem" id="GNUNET_GTK_main_menu_file_open_gnunet_directory"> | ||
162 | <property name="label" translatable="yes">_Open GNUnet directory</property> | ||
163 | <property name="visible">True</property> | ||
164 | <property name="tooltip_text" translatable="yes">Use this option to browse a GNUnet directory file that has been previously downloaded.</property> | ||
165 | <property name="use_action_appearance">False</property> | ||
166 | <property name="accel_path"><gnunet-gtk>/File sharing/Open directory</property> | ||
167 | <property name="use_underline">True</property> | ||
168 | <property name="image">image1</property> | ||
169 | <property name="use_stock">False</property> | ||
170 | <accelerator key="F3" signal="activate"/> | ||
171 | <signal name="activate" handler="GNUNET_GTK_main_menu_file_open_gnunet_directory_activate_cb" swapped="no"/> | ||
172 | </object> | ||
173 | </child> | ||
174 | <child> | ||
175 | <object class="GtkSeparatorMenuItem" id="GNUNET_GTK_main_menu_file_sep3"> | ||
176 | <property name="visible">True</property> | ||
177 | <property name="use_action_appearance">False</property> | ||
178 | </object> | ||
179 | </child> | ||
180 | <child> | ||
181 | <object class="GtkImageMenuItem" id="GNUNET_GTK_main_menu_file_quit"> | ||
182 | <property name="label">gtk-quit</property> | ||
183 | <property name="visible">True</property> | ||
184 | <property name="tooltip_text" translatable="yes">Exit gnunet-gtk. Active file-sharing operations will resume upon restart.</property> | ||
185 | <property name="use_action_appearance">False</property> | ||
186 | <property name="accel_path"><gnunet-gtk>/Quit</property> | ||
187 | <property name="use_underline">True</property> | ||
188 | <property name="use_stock">True</property> | ||
189 | <accelerator key="q" signal="activate" modifiers="GDK_CONTROL_MASK"/> | ||
190 | <signal name="activate" handler="GNUNET_GTK_quit_cb" swapped="no"/> | ||
191 | </object> | ||
192 | </child> | ||
193 | </object> | ||
194 | </child> | ||
195 | </object> | ||
196 | </child> | ||
197 | <child> | ||
198 | <object class="GtkMenuItem" id="GNUNET_GTK_main_menu_edit"> | ||
199 | <property name="use_action_appearance">False</property> | ||
200 | <property name="label" translatable="yes">_Edit</property> | ||
201 | <property name="use_underline">True</property> | ||
202 | <child type="submenu"> | ||
203 | <object class="GtkMenu" id="GNUNET_GTK_main_menu_edit_box"> | ||
204 | <property name="visible">True</property> | ||
205 | <child> | ||
206 | <object class="GtkImageMenuItem" id="GNUNET_GTK_main_menu_edit_preferences"> | ||
207 | <property name="label">gtk-preferences</property> | ||
208 | <property name="visible">True</property> | ||
209 | <property name="tooltip_text" translatable="yes">Edit the system configuration.</property> | ||
210 | <property name="use_action_appearance">False</property> | ||
211 | <property name="accel_path"><gnunet-gtk>/Edit/Preferences</property> | ||
212 | <property name="use_underline">True</property> | ||
213 | <property name="use_stock">True</property> | ||
214 | </object> | ||
215 | </child> | ||
216 | </object> | ||
217 | </child> | ||
218 | </object> | ||
219 | </child> | ||
220 | <child> | ||
221 | <object class="GtkMenuItem" id="GNUNET_GTK_main_menu_view"> | ||
222 | <property name="visible">True</property> | ||
223 | <property name="use_action_appearance">False</property> | ||
224 | <property name="label" translatable="yes">_View</property> | ||
225 | <property name="use_underline">True</property> | ||
226 | <child type="submenu"> | ||
227 | <object class="GtkMenu" id="GNUNET_GTK_main_menu_view_box"> | ||
228 | <property name="visible">True</property> | ||
229 | <child> | ||
230 | <object class="GtkCheckMenuItem" id="GNUNET_GTK_main_menu_view_metadata"> | ||
231 | <property name="visible">True</property> | ||
232 | <property name="tooltip_text" translatable="yes">Show meta data in main window</property> | ||
233 | <property name="use_action_appearance">False</property> | ||
234 | <property name="label" translatable="yes">Metadata</property> | ||
235 | <property name="use_underline">True</property> | ||
236 | <property name="active">True</property> | ||
237 | <signal name="toggled" handler="GNUNET_GTK_main_menu_view_metadata_toggled_cb" swapped="no"/> | ||
238 | </object> | ||
239 | </child> | ||
240 | <child> | ||
241 | <object class="GtkCheckMenuItem" id="GNUNET_GTK_main_menu_view_neighbours"> | ||
242 | <property name="visible">True</property> | ||
243 | <property name="tooltip_text" translatable="yes">Activates the panel showing information about known and connected peers</property> | ||
244 | <property name="use_action_appearance">False</property> | ||
245 | <property name="label" translatable="yes">Neighbours</property> | ||
246 | <property name="use_underline">True</property> | ||
247 | <property name="active">True</property> | ||
248 | <signal name="toggled" handler="GNUNET_GTK_main_menu_view_neighbours_toggled_cb" swapped="no"/> | ||
249 | </object> | ||
250 | </child> | ||
251 | <child> | ||
252 | <object class="GtkCheckMenuItem" id="GNUNET_GTK_main_menu_view_preview"> | ||
253 | <property name="visible">True</property> | ||
254 | <property name="tooltip_text" translatable="yes">Show preview (when available)</property> | ||
255 | <property name="use_action_appearance">False</property> | ||
256 | <property name="label" translatable="yes">Preview</property> | ||
257 | <property name="use_underline">True</property> | ||
258 | <property name="active">True</property> | ||
259 | <signal name="toggled" handler="GNUNET_GTK_main_menu_view_preview_toggled_cb" swapped="no"/> | ||
260 | </object> | ||
261 | </child> | ||
262 | </object> | ||
263 | </child> | ||
264 | </object> | ||
265 | </child> | ||
266 | <child> | ||
267 | <object class="GtkMenuItem" id="GNUNET_GTK_main_menu_help"> | ||
268 | <property name="visible">True</property> | ||
269 | <property name="use_action_appearance">False</property> | ||
270 | <property name="label" translatable="yes">_Help</property> | ||
271 | <property name="use_underline">True</property> | ||
272 | <child type="submenu"> | ||
273 | <object class="GtkMenu" id="GNUNET_GTK_main_menu_help_abou"> | ||
274 | <property name="visible">True</property> | ||
275 | <child> | ||
276 | <object class="GtkImageMenuItem" id="GNUNET_GTK_main_menu_help_about"> | ||
277 | <property name="label">gtk-about</property> | ||
278 | <property name="visible">True</property> | ||
279 | <property name="tooltip_text" translatable="yes">Display information about this version of gnunet-gtk</property> | ||
280 | <property name="use_action_appearance">False</property> | ||
281 | <property name="accel_path"><gnunet-gtk>/Help/About</property> | ||
282 | <property name="use_underline">True</property> | ||
283 | <property name="use_stock">True</property> | ||
284 | <signal name="activate" handler="GNUNET_GTK_main_menu_help_about_activate_cb" swapped="no"/> | ||
285 | </object> | ||
286 | </child> | ||
287 | </object> | ||
288 | </child> | ||
289 | </object> | ||
290 | </child> | ||
291 | </object> | ||
292 | <packing> | ||
293 | <property name="expand">False</property> | ||
294 | <property name="position">1</property> | ||
295 | </packing> | ||
296 | </child> | ||
297 | <child> | ||
298 | <object class="GtkToolbar" id="GNUNET_GTK_main_window_toolbar"> | ||
299 | <property name="toolbar_style">icons</property> | ||
300 | <child> | ||
301 | <object class="GtkToolButton" id="GNUNET_GTK_toolbar_search"> | ||
302 | <property name="visible">True</property> | ||
303 | <property name="use_action_appearance">False</property> | ||
304 | <property name="label" translatable="yes">_Search</property> | ||
305 | <property name="use_underline">True</property> | ||
306 | <property name="stock_id">gtk-find</property> | ||
307 | </object> | ||
308 | <packing> | ||
309 | <property name="expand">False</property> | ||
310 | <property name="homogeneous">True</property> | ||
311 | </packing> | ||
312 | </child> | ||
313 | </object> | ||
314 | <packing> | ||
315 | <property name="expand">False</property> | ||
316 | <property name="fill">False</property> | ||
317 | <property name="position">2</property> | ||
318 | </packing> | ||
319 | </child> | ||
320 | <child> | ||
321 | <object class="GtkHBox" id="GNUNET_GTK_main_window_hbox"> | ||
322 | <property name="visible">True</property> | ||
323 | <child> | ||
324 | <object class="GtkNotebook" id="GNUNET_GTK_main_window_notebook"> | ||
325 | <property name="visible">True</property> | ||
326 | <property name="can_focus">True</property> | ||
327 | <property name="scrollable">True</property> | ||
328 | <signal name="switch-page" handler="GNUNET_GTK_main_window_notebook_switch_page_cb" after="yes" swapped="no"/> | ||
329 | </object> | ||
330 | <packing> | ||
331 | <property name="position">0</property> | ||
332 | </packing> | ||
333 | </child> | ||
334 | <child> | ||
335 | <object class="GtkVSeparator" id="GNUNET_GTK_main_window_separator"> | ||
336 | <property name="visible">True</property> | ||
337 | </object> | ||
338 | <packing> | ||
339 | <property name="expand">False</property> | ||
340 | <property name="position">1</property> | ||
341 | </packing> | ||
342 | </child> | ||
343 | <child> | ||
344 | <object class="GtkVBox" id="GNUNET_GTK_main_window_extras_vbox"> | ||
345 | <property name="visible">True</property> | ||
346 | <child> | ||
347 | <object class="GtkImage" id="GNUNET_GTK_main_window_preview_image"> | ||
348 | <property name="width_request">128</property> | ||
349 | <property name="height_request">128</property> | ||
350 | <property name="visible">True</property> | ||
351 | <property name="sensitive">False</property> | ||
352 | <property name="has_tooltip">True</property> | ||
353 | <property name="tooltip_text" translatable="yes">Thumbnail associated with the currently selected content</property> | ||
354 | <property name="pixel_size">256</property> | ||
355 | </object> | ||
356 | <packing> | ||
357 | <property name="expand">False</property> | ||
358 | <property name="fill">False</property> | ||
359 | <property name="position">0</property> | ||
360 | </packing> | ||
361 | </child> | ||
362 | <child> | ||
363 | <object class="GtkScrolledWindow" id="GNUNET_GTK_main_window_metadata_scroll"> | ||
364 | <property name="visible">True</property> | ||
365 | <property name="can_focus">True</property> | ||
366 | <property name="hadjustment">adjustment1</property> | ||
367 | <property name="vadjustment">adjustment2</property> | ||
368 | <property name="hscrollbar_policy">automatic</property> | ||
369 | <property name="vscrollbar_policy">automatic</property> | ||
370 | <child> | ||
371 | <object class="GtkTreeView" id="GNUNET_GTK_main_window_metadata_treeview"> | ||
372 | <property name="visible">True</property> | ||
373 | <property name="can_focus">True</property> | ||
374 | <property name="model">GNUNET_GTK_meta_data_list_store</property> | ||
375 | <property name="hadjustment">adjustment1</property> | ||
376 | <property name="vadjustment">adjustment2</property> | ||
377 | <property name="search_column">0</property> | ||
378 | <property name="enable_grid_lines">both</property> | ||
379 | <child> | ||
380 | <object class="GtkTreeViewColumn" id="GNUNET_GTK_main_window_metadata_type_column"> | ||
381 | <property name="sizing">autosize</property> | ||
382 | <property name="title" translatable="yes">Type</property> | ||
383 | <property name="clickable">True</property> | ||
384 | <property name="reorderable">True</property> | ||
385 | <property name="sort_indicator">True</property> | ||
386 | <child> | ||
387 | <object class="GtkCellRendererText" id="GNUNET_GTK_main_window_metadata_type_renderer"/> | ||
388 | <attributes> | ||
389 | <attribute name="text">2</attribute> | ||
390 | </attributes> | ||
391 | </child> | ||
392 | </object> | ||
393 | </child> | ||
394 | <child> | ||
395 | <object class="GtkTreeViewColumn" id="GNUNET_GTK_main_window_metadata_value_column"> | ||
396 | <property name="sizing">autosize</property> | ||
397 | <property name="title" translatable="yes">Value</property> | ||
398 | <property name="expand">True</property> | ||
399 | <property name="clickable">True</property> | ||
400 | <property name="reorderable">True</property> | ||
401 | <property name="sort_indicator">True</property> | ||
402 | <child> | ||
403 | <object class="GtkCellRendererText" id="GNUNET_GTK_main_window_metadata_value_renderer"> | ||
404 | <property name="sensitive">False</property> | ||
405 | <property name="wrap_mode">word</property> | ||
406 | </object> | ||
407 | <attributes> | ||
408 | <attribute name="text">3</attribute> | ||
409 | </attributes> | ||
410 | </child> | ||
411 | </object> | ||
412 | </child> | ||
413 | </object> | ||
414 | </child> | ||
415 | </object> | ||
416 | <packing> | ||
417 | <property name="position">1</property> | ||
418 | </packing> | ||
419 | </child> | ||
420 | <child> | ||
421 | <object class="GtkScrolledWindow" id="GNUNET_GTK_main_window_peerinfo_scroll"> | ||
422 | <property name="visible">True</property> | ||
423 | <property name="can_focus">True</property> | ||
424 | <property name="hadjustment">adjustment3</property> | ||
425 | <property name="vadjustment">adjustment4</property> | ||
426 | <property name="hscrollbar_policy">automatic</property> | ||
427 | <property name="vscrollbar_policy">automatic</property> | ||
428 | <child> | ||
429 | <object class="GtkTreeView" id="GNUNET_GTK_main_window_peerinfo_treeview"> | ||
430 | <property name="visible">True</property> | ||
431 | <property name="can_focus">True</property> | ||
432 | <property name="model">GNUNET_GTK_peer_info_list_store</property> | ||
433 | <property name="hadjustment">adjustment3</property> | ||
434 | <property name="vadjustment">adjustment4</property> | ||
435 | <property name="headers_clickable">False</property> | ||
436 | <property name="reorderable">True</property> | ||
437 | <property name="search_column">0</property> | ||
438 | <child> | ||
439 | <object class="GtkTreeViewColumn" id="GNUNET_GTK_main_window_peerinfo_name_column"> | ||
440 | <property name="sizing">autosize</property> | ||
441 | <property name="title" translatable="yes">Peer</property> | ||
442 | <property name="expand">True</property> | ||
443 | <property name="clickable">True</property> | ||
444 | <property name="reorderable">True</property> | ||
445 | <property name="sort_column_id">0</property> | ||
446 | <child> | ||
447 | <object class="GtkCellRendererText" id="GNUNET_GTK_main_window_peerinfo_name_renderer"> | ||
448 | <property name="sensitive">False</property> | ||
449 | <property name="width_chars">16</property> | ||
450 | </object> | ||
451 | <attributes> | ||
452 | <attribute name="text">0</attribute> | ||
453 | </attributes> | ||
454 | </child> | ||
455 | </object> | ||
456 | </child> | ||
457 | <child> | ||
458 | <object class="GtkTreeViewColumn" id="GNUNET_GTK_main_window_peerinfo_bandwidth_column"> | ||
459 | <property name="sizing">autosize</property> | ||
460 | <property name="title" translatable="yes">Bandwidth</property> | ||
461 | <property name="sort_order">descending</property> | ||
462 | <property name="sort_column_id">5</property> | ||
463 | <child> | ||
464 | <object class="GtkCellRendererText" id="GNUNET_GTK_main_window_peerinfo_bandwidth_renderer"/> | ||
465 | <attributes> | ||
466 | <attribute name="text">4</attribute> | ||
467 | </attributes> | ||
468 | </child> | ||
469 | </object> | ||
470 | </child> | ||
471 | <child> | ||
472 | <object class="GtkTreeViewColumn" id="GNUNET_GTK_main_window_peerinfo_country_column"> | ||
473 | <property name="sizing">autosize</property> | ||
474 | <property name="title" translatable="yes">Country</property> | ||
475 | <property name="clickable">True</property> | ||
476 | <property name="reorderable">True</property> | ||
477 | <property name="sort_indicator">True</property> | ||
478 | <property name="sort_column_id">3</property> | ||
479 | <child> | ||
480 | <object class="GtkCellRendererPixbuf" id="GNUNET_GTK_main_window_peerinfo_country_renderer"/> | ||
481 | <attributes> | ||
482 | <attribute name="pixbuf">3</attribute> | ||
483 | </attributes> | ||
484 | </child> | ||
485 | </object> | ||
486 | </child> | ||
487 | </object> | ||
488 | </child> | ||
489 | </object> | ||
490 | <packing> | ||
491 | <property name="position">2</property> | ||
492 | </packing> | ||
493 | </child> | ||
494 | </object> | ||
495 | <packing> | ||
496 | <property name="position">2</property> | ||
497 | </packing> | ||
498 | </child> | ||
499 | </object> | ||
500 | <packing> | ||
501 | <property name="position">3</property> | ||
502 | </packing> | ||
503 | </child> | ||
504 | <child> | ||
505 | <object class="GtkStatusbar" id="GNUNET_GTK_status_bar"> | ||
506 | <property name="visible">True</property> | ||
507 | <property name="spacing">2</property> | ||
508 | </object> | ||
509 | <packing> | ||
510 | <property name="expand">False</property> | ||
511 | <property name="pack_type">end</property> | ||
512 | <property name="position">0</property> | ||
513 | </packing> | ||
514 | </child> | ||
515 | </object> | ||
516 | </child> | ||
517 | </object> | ||
518 | <object class="GtkImage" id="image2"> | ||
519 | <property name="visible">True</property> | ||
520 | <property name="stock">gtk-go-up</property> | ||
521 | </object> | ||
522 | <object class="GtkImage" id="image3"> | ||
523 | <property name="visible">True</property> | ||
524 | <property name="stock">gtk-new</property> | ||
525 | </object> | ||
526 | <object class="GtkImage" id="image1"> | ||
527 | <property name="visible">True</property> | ||
528 | <property name="stock">gtk-open</property> | ||
529 | </object> | ||
530 | <object class="GtkImage" id="image4"> | ||
531 | <property name="visible">True</property> | ||
532 | <property name="stock">gtk-find</property> | ||
533 | </object> | ||
534 | <object class="GtkImage" id="image5"> | ||
535 | <property name="visible">True</property> | ||
536 | <property name="stock">gtk-go-down</property> | ||
537 | </object> | ||
538 | </interface> | ||