diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-10-27 18:46:21 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-10-27 18:46:21 +0000 |
commit | 1a5f5d2d2a20fcf49ee203db2d627ff52165aaa2 (patch) | |
tree | a4eddc43e8e67876eb12ca5d9125ebcf31b04495 | |
parent | 951de471769f8f6c6b319654a0be2b70d95d73b9 (diff) | |
download | gnunet-gtk-1a5f5d2d2a20fcf49ee203db2d627ff52165aaa2.tar.gz gnunet-gtk-1a5f5d2d2a20fcf49ee203db2d627ff52165aaa2.zip |
-doxygen
-rw-r--r-- | configure.ac | 6 | ||||
-rw-r--r-- | contrib/gnunet_fs_gtk_main_window.glade | 126 | ||||
-rw-r--r-- | contrib/gnunet_gtk.glade | 6 | ||||
-rw-r--r-- | src/include/gnunet_gtk_namestore_plugin.h | 3 | ||||
-rw-r--r-- | src/namestore/gnunet-namestore-gtk.c | 2 |
5 files changed, 68 insertions, 75 deletions
diff --git a/configure.ac b/configure.ac index ad9c6d7d..2f70c3b2 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -115,6 +115,8 @@ esac | |||
115 | 115 | ||
116 | AM_CONDITIONAL(MINGW, test "$build_target" = "mingw") | 116 | AM_CONDITIONAL(MINGW, test "$build_target" = "mingw") |
117 | 117 | ||
118 | |||
119 | |||
118 | AC_SUBST(ENABLE_ON_UNIX) | 120 | AC_SUBST(ENABLE_ON_UNIX) |
119 | AC_SUBST(ENABLE_ON_W32) | 121 | AC_SUBST(ENABLE_ON_W32) |
120 | 122 | ||
@@ -482,6 +484,10 @@ AC_DEFINE_DIR([PACKAGE_DATA], [datarootdir], [The directory for installing read- | |||
482 | packagesrcdir=`cd $srcdir && pwd` | 484 | packagesrcdir=`cd $srcdir && pwd` |
483 | AC_DEFINE_UNQUOTED(PACKAGE_SOURCE_DIR, "${packagesrcdir}", [source dir]) | 485 | AC_DEFINE_UNQUOTED(PACKAGE_SOURCE_DIR, "${packagesrcdir}", [source dir]) |
484 | 486 | ||
487 | GN_PLUGIN_LDFLAGS="-export-dynamic -avoid-version -module -no-undefined" | ||
488 | |||
489 | AC_SUBST(GN_PLUGIN_LDFLAGS) | ||
490 | |||
485 | AC_SUBST(GNUNET_GNS_GTK_NAME, "GNUnet-GNS-GTK", [name of the program]) | 491 | AC_SUBST(GNUNET_GNS_GTK_NAME, "GNUnet-GNS-GTK", [name of the program]) |
486 | AC_SUBST(GNUNET_FS_GTK_NAME, "GNUnet-FS-GTK", [name of the program]) | 492 | AC_SUBST(GNUNET_FS_GTK_NAME, "GNUnet-FS-GTK", [name of the program]) |
487 | AC_SUBST(GNUNET_PEERINFO_GTK_NAME, "GNUnet-Peerinfo-GTK", [name of the program]) | 493 | AC_SUBST(GNUNET_PEERINFO_GTK_NAME, "GNUnet-Peerinfo-GTK", [name of the program]) |
diff --git a/contrib/gnunet_fs_gtk_main_window.glade b/contrib/gnunet_fs_gtk_main_window.glade index 7c2fa79c..4abfe42e 100644 --- a/contrib/gnunet_fs_gtk_main_window.glade +++ b/contrib/gnunet_fs_gtk_main_window.glade | |||
@@ -32,52 +32,6 @@ | |||
32 | <column type="guint"/> | 32 | <column type="guint"/> |
33 | </columns> | 33 | </columns> |
34 | </object> | 34 | </object> |
35 | <object class="GtkListStore" id="GNUNET_GTK_meta_data_list_store"> | ||
36 | <columns> | ||
37 | <!-- column-name extractor_meta_type --> | ||
38 | <column type="guint"/> | ||
39 | <!-- column-name extractor_meta_format --> | ||
40 | <column type="guint"/> | ||
41 | <!-- column-name extractor_meta_type_string --> | ||
42 | <column type="gchararray"/> | ||
43 | <!-- column-name extracotr_meta_value --> | ||
44 | <column type="gchararray"/> | ||
45 | </columns> | ||
46 | </object> | ||
47 | <object class="GtkListStore" id="GNUNET_GTK_peer_info_list_store"> | ||
48 | <columns> | ||
49 | <!-- column-name peer_identity --> | ||
50 | <column type="gchararray"/> | ||
51 | <!-- column-name number_of_known_addresses --> | ||
52 | <column type="guint"/> | ||
53 | <!-- column-name country_name --> | ||
54 | <column type="gchararray"/> | ||
55 | <!-- column-name country_flag --> | ||
56 | <column type="GdkPixbuf"/> | ||
57 | <!-- column-name bandwidth --> | ||
58 | <column type="guint64"/> | ||
59 | </columns> | ||
60 | </object> | ||
61 | <object class="GtkListStore" id="GNUNET_GTK_select_pseudonym_liststore"> | ||
62 | <columns> | ||
63 | <!-- column-name namespace_name --> | ||
64 | <column type="gchararray"/> | ||
65 | <!-- column-name namespace_handle --> | ||
66 | <column type="gpointer"/> | ||
67 | </columns> | ||
68 | </object> | ||
69 | <object class="GtkAdjustment" id="adjustment1"> | ||
70 | <property name="upper">100</property> | ||
71 | <property name="step_increment">1</property> | ||
72 | <property name="page_increment">10</property> | ||
73 | <property name="page_size">10</property> | ||
74 | </object> | ||
75 | <object class="GtkAdjustment" id="adjustment2"> | ||
76 | <property name="upper">100</property> | ||
77 | <property name="step_increment">1</property> | ||
78 | <property name="page_increment">10</property> | ||
79 | <property name="page_size">10</property> | ||
80 | </object> | ||
81 | <object class="GtkWindow" id="GNUNET_GTK_main_window"> | 35 | <object class="GtkWindow" id="GNUNET_GTK_main_window"> |
82 | <property name="can_focus">False</property> | 36 | <property name="can_focus">False</property> |
83 | <property name="events">GDK_BUTTON_PRESS_MASK | GDK_STRUCTURE_MASK</property> | 37 | <property name="events">GDK_BUTTON_PRESS_MASK | GDK_STRUCTURE_MASK</property> |
@@ -137,7 +91,6 @@ | |||
137 | <property name="can_focus">False</property> | 91 | <property name="can_focus">False</property> |
138 | <child> | 92 | <child> |
139 | <object class="GtkMenuItem" id="GNUNET_GTK_main_menu_file_sharing"> | 93 | <object class="GtkMenuItem" id="GNUNET_GTK_main_menu_file_sharing"> |
140 | <property name="use_action_appearance">False</property> | ||
141 | <property name="visible">True</property> | 94 | <property name="visible">True</property> |
142 | <property name="can_focus">False</property> | 95 | <property name="can_focus">False</property> |
143 | <property name="label" translatable="yes">_File sharing</property> | 96 | <property name="label" translatable="yes">_File sharing</property> |
@@ -148,7 +101,6 @@ | |||
148 | <child> | 101 | <child> |
149 | <object class="GtkImageMenuItem" id="GNUNET_GTK_main_menu_file_publish"> | 102 | <object class="GtkImageMenuItem" id="GNUNET_GTK_main_menu_file_publish"> |
150 | <property name="label" translatable="yes">_Publish</property> | 103 | <property name="label" translatable="yes">_Publish</property> |
151 | <property name="use_action_appearance">False</property> | ||
152 | <property name="visible">True</property> | 104 | <property name="visible">True</property> |
153 | <property name="can_focus">False</property> | 105 | <property name="can_focus">False</property> |
154 | <property name="tooltip_text" translatable="yes">Publish files or directories on GNUnet</property> | 106 | <property name="tooltip_text" translatable="yes">Publish files or directories on GNUnet</property> |
@@ -162,7 +114,6 @@ | |||
162 | </child> | 114 | </child> |
163 | <child> | 115 | <child> |
164 | <object class="GtkMenuItem" id="GNUNET_GTK_main_menu_unindex"> | 116 | <object class="GtkMenuItem" id="GNUNET_GTK_main_menu_unindex"> |
165 | <property name="use_action_appearance">False</property> | ||
166 | <property name="visible">True</property> | 117 | <property name="visible">True</property> |
167 | <property name="can_focus">False</property> | 118 | <property name="can_focus">False</property> |
168 | <property name="label" translatable="yes">_List indexed files</property> | 119 | <property name="label" translatable="yes">_List indexed files</property> |
@@ -179,7 +130,6 @@ | |||
179 | <child> | 130 | <child> |
180 | <object class="GtkImageMenuItem" id="GNUNET_GTK_main_menu_file_download_uri"> | 131 | <object class="GtkImageMenuItem" id="GNUNET_GTK_main_menu_file_download_uri"> |
181 | <property name="label" translatable="yes">_Download</property> | 132 | <property name="label" translatable="yes">_Download</property> |
182 | <property name="use_action_appearance">False</property> | ||
183 | <property name="visible">True</property> | 133 | <property name="visible">True</property> |
184 | <property name="can_focus">False</property> | 134 | <property name="can_focus">False</property> |
185 | <property name="tooltip_text" translatable="yes">Download a file or directory with a known URI.</property> | 135 | <property name="tooltip_text" translatable="yes">Download a file or directory with a known URI.</property> |
@@ -194,7 +144,6 @@ | |||
194 | <child> | 144 | <child> |
195 | <object class="GtkImageMenuItem" id="GNUNET_GTK_main_menu_file_open_gnunet_directory"> | 145 | <object class="GtkImageMenuItem" id="GNUNET_GTK_main_menu_file_open_gnunet_directory"> |
196 | <property name="label" translatable="yes">_Open GNUnet directory</property> | 146 | <property name="label" translatable="yes">_Open GNUnet directory</property> |
197 | <property name="use_action_appearance">False</property> | ||
198 | <property name="visible">True</property> | 147 | <property name="visible">True</property> |
199 | <property name="can_focus">False</property> | 148 | <property name="can_focus">False</property> |
200 | <property name="tooltip_text" translatable="yes">Use this option to browse a GNUnet directory file that has been previously downloaded.</property> | 149 | <property name="tooltip_text" translatable="yes">Use this option to browse a GNUnet directory file that has been previously downloaded.</property> |
@@ -215,7 +164,6 @@ | |||
215 | <child> | 164 | <child> |
216 | <object class="GtkImageMenuItem" id="GNUNET_GTK_main_menu_file_quit"> | 165 | <object class="GtkImageMenuItem" id="GNUNET_GTK_main_menu_file_quit"> |
217 | <property name="label">gtk-quit</property> | 166 | <property name="label">gtk-quit</property> |
218 | <property name="use_action_appearance">False</property> | ||
219 | <property name="visible">True</property> | 167 | <property name="visible">True</property> |
220 | <property name="can_focus">False</property> | 168 | <property name="can_focus">False</property> |
221 | <property name="tooltip_text" translatable="yes">Exit gnunet-fs-gtk. Active file-sharing operations will resume upon restart.</property> | 169 | <property name="tooltip_text" translatable="yes">Exit gnunet-fs-gtk. Active file-sharing operations will resume upon restart.</property> |
@@ -232,7 +180,6 @@ | |||
232 | </child> | 180 | </child> |
233 | <child> | 181 | <child> |
234 | <object class="GtkMenuItem" id="GNUNET_GTK_main_menu_edit"> | 182 | <object class="GtkMenuItem" id="GNUNET_GTK_main_menu_edit"> |
235 | <property name="use_action_appearance">False</property> | ||
236 | <property name="can_focus">False</property> | 183 | <property name="can_focus">False</property> |
237 | <property name="label" translatable="yes">_Edit</property> | 184 | <property name="label" translatable="yes">_Edit</property> |
238 | <property name="use_underline">True</property> | 185 | <property name="use_underline">True</property> |
@@ -243,7 +190,6 @@ | |||
243 | <child> | 190 | <child> |
244 | <object class="GtkImageMenuItem" id="GNUNET_GTK_main_menu_edit_preferences"> | 191 | <object class="GtkImageMenuItem" id="GNUNET_GTK_main_menu_edit_preferences"> |
245 | <property name="label">gtk-preferences</property> | 192 | <property name="label">gtk-preferences</property> |
246 | <property name="use_action_appearance">False</property> | ||
247 | <property name="visible">True</property> | 193 | <property name="visible">True</property> |
248 | <property name="can_focus">False</property> | 194 | <property name="can_focus">False</property> |
249 | <property name="tooltip_text" translatable="yes">Edit the system configuration.</property> | 195 | <property name="tooltip_text" translatable="yes">Edit the system configuration.</property> |
@@ -258,7 +204,6 @@ | |||
258 | </child> | 204 | </child> |
259 | <child> | 205 | <child> |
260 | <object class="GtkMenuItem" id="GNUNET_GTK_main_menu_view"> | 206 | <object class="GtkMenuItem" id="GNUNET_GTK_main_menu_view"> |
261 | <property name="use_action_appearance">False</property> | ||
262 | <property name="visible">True</property> | 207 | <property name="visible">True</property> |
263 | <property name="can_focus">False</property> | 208 | <property name="can_focus">False</property> |
264 | <property name="label" translatable="yes">_View</property> | 209 | <property name="label" translatable="yes">_View</property> |
@@ -269,7 +214,6 @@ | |||
269 | <property name="can_focus">False</property> | 214 | <property name="can_focus">False</property> |
270 | <child> | 215 | <child> |
271 | <object class="GtkCheckMenuItem" id="GNUNET_GTK_main_menu_view_metadata"> | 216 | <object class="GtkCheckMenuItem" id="GNUNET_GTK_main_menu_view_metadata"> |
272 | <property name="use_action_appearance">False</property> | ||
273 | <property name="visible">True</property> | 217 | <property name="visible">True</property> |
274 | <property name="can_focus">False</property> | 218 | <property name="can_focus">False</property> |
275 | <property name="tooltip_text" translatable="yes">Show meta data in main window</property> | 219 | <property name="tooltip_text" translatable="yes">Show meta data in main window</property> |
@@ -281,7 +225,6 @@ | |||
281 | </child> | 225 | </child> |
282 | <child> | 226 | <child> |
283 | <object class="GtkCheckMenuItem" id="GNUNET_GTK_main_menu_view_preview"> | 227 | <object class="GtkCheckMenuItem" id="GNUNET_GTK_main_menu_view_preview"> |
284 | <property name="use_action_appearance">False</property> | ||
285 | <property name="visible">True</property> | 228 | <property name="visible">True</property> |
286 | <property name="can_focus">False</property> | 229 | <property name="can_focus">False</property> |
287 | <property name="tooltip_text" translatable="yes">Show preview (when available)</property> | 230 | <property name="tooltip_text" translatable="yes">Show preview (when available)</property> |
@@ -293,7 +236,6 @@ | |||
293 | </child> | 236 | </child> |
294 | <child> | 237 | <child> |
295 | <object class="GtkCheckMenuItem" id="GNUNET_GTK_main_menu_search_preview"> | 238 | <object class="GtkCheckMenuItem" id="GNUNET_GTK_main_menu_search_preview"> |
296 | <property name="use_action_appearance">False</property> | ||
297 | <property name="visible">True</property> | 239 | <property name="visible">True</property> |
298 | <property name="can_focus">False</property> | 240 | <property name="can_focus">False</property> |
299 | <property name="tooltip_text" translatable="yes">Show search box in main window</property> | 241 | <property name="tooltip_text" translatable="yes">Show search box in main window</property> |
@@ -309,7 +251,6 @@ | |||
309 | </child> | 251 | </child> |
310 | <child> | 252 | <child> |
311 | <object class="GtkMenuItem" id="GNUNET_GTK_main_menu_help"> | 253 | <object class="GtkMenuItem" id="GNUNET_GTK_main_menu_help"> |
312 | <property name="use_action_appearance">False</property> | ||
313 | <property name="visible">True</property> | 254 | <property name="visible">True</property> |
314 | <property name="can_focus">False</property> | 255 | <property name="can_focus">False</property> |
315 | <property name="label" translatable="yes">_Help</property> | 256 | <property name="label" translatable="yes">_Help</property> |
@@ -321,7 +262,6 @@ | |||
321 | <child> | 262 | <child> |
322 | <object class="GtkImageMenuItem" id="GNUNET_GTK_main_menu_help_about"> | 263 | <object class="GtkImageMenuItem" id="GNUNET_GTK_main_menu_help_about"> |
323 | <property name="label">gtk-about</property> | 264 | <property name="label">gtk-about</property> |
324 | <property name="use_action_appearance">False</property> | ||
325 | <property name="visible">True</property> | 265 | <property name="visible">True</property> |
326 | <property name="can_focus">False</property> | 266 | <property name="can_focus">False</property> |
327 | <property name="tooltip_text" translatable="yes">Display information about this version of gnunet-fs-gtk</property> | 267 | <property name="tooltip_text" translatable="yes">Display information about this version of gnunet-fs-gtk</property> |
@@ -394,7 +334,6 @@ | |||
394 | <child> | 334 | <child> |
395 | <object class="GtkButton" id="GNUNET_FS_GTK_save_button"> | 335 | <object class="GtkButton" id="GNUNET_FS_GTK_save_button"> |
396 | <property name="label">gtk-save</property> | 336 | <property name="label">gtk-save</property> |
397 | <property name="use_action_appearance">False</property> | ||
398 | <property name="can_focus">True</property> | 337 | <property name="can_focus">True</property> |
399 | <property name="receives_default">True</property> | 338 | <property name="receives_default">True</property> |
400 | <property name="tooltip_text" translatable="yes">Remember the specified namespace for later. | 339 | <property name="tooltip_text" translatable="yes">Remember the specified namespace for later. |
@@ -458,7 +397,6 @@ This operation will be executed using the anonymity level specified on the right | |||
458 | <child> | 397 | <child> |
459 | <object class="GtkButton" id="main_window_search_button"> | 398 | <object class="GtkButton" id="main_window_search_button"> |
460 | <property name="label" translatable="yes">Search</property> | 399 | <property name="label" translatable="yes">Search</property> |
461 | <property name="use_action_appearance">False</property> | ||
462 | <property name="visible">True</property> | 400 | <property name="visible">True</property> |
463 | <property name="can_focus">True</property> | 401 | <property name="can_focus">True</property> |
464 | <property name="receives_default">True</property> | 402 | <property name="receives_default">True</property> |
@@ -723,7 +661,6 @@ This operation will be executed using the anonymity level specified on the right | |||
723 | <child> | 661 | <child> |
724 | <object class="GtkButton" id="GNUNET_GTK_search_frame_download_filename_change_button"> | 662 | <object class="GtkButton" id="GNUNET_GTK_search_frame_download_filename_change_button"> |
725 | <property name="label">…</property> | 663 | <property name="label">…</property> |
726 | <property name="use_action_appearance">False</property> | ||
727 | <property name="height_request">1</property> | 664 | <property name="height_request">1</property> |
728 | <property name="visible">True</property> | 665 | <property name="visible">True</property> |
729 | <property name="can_focus">True</property> | 666 | <property name="can_focus">True</property> |
@@ -799,7 +736,6 @@ This operation will be executed using the anonymity level specified on the right | |||
799 | <child> | 736 | <child> |
800 | <object class="GtkCheckButton" id="GNUNET_GTK_search_frame_download_recursive_checkbox"> | 737 | <object class="GtkCheckButton" id="GNUNET_GTK_search_frame_download_recursive_checkbox"> |
801 | <property name="label" translatable="yes">Recursive</property> | 738 | <property name="label" translatable="yes">Recursive</property> |
802 | <property name="use_action_appearance">False</property> | ||
803 | <property name="visible">True</property> | 739 | <property name="visible">True</property> |
804 | <property name="can_focus">True</property> | 740 | <property name="can_focus">True</property> |
805 | <property name="receives_default">False</property> | 741 | <property name="receives_default">False</property> |
@@ -826,7 +762,6 @@ This operation will be executed using the anonymity level specified on the right | |||
826 | <child> | 762 | <child> |
827 | <object class="GtkButton" id="GNUNET_GTK_search_frame_download_download_button"> | 763 | <object class="GtkButton" id="GNUNET_GTK_search_frame_download_download_button"> |
828 | <property name="label" translatable="yes">Download!</property> | 764 | <property name="label" translatable="yes">Download!</property> |
829 | <property name="use_action_appearance">False</property> | ||
830 | <property name="visible">True</property> | 765 | <property name="visible">True</property> |
831 | <property name="can_focus">True</property> | 766 | <property name="can_focus">True</property> |
832 | <property name="receives_default">True</property> | 767 | <property name="receives_default">True</property> |
@@ -854,7 +789,7 @@ This operation will be executed using the anonymity level specified on the right | |||
854 | </child> | 789 | </child> |
855 | </object> | 790 | </object> |
856 | <packing> | 791 | <packing> |
857 | <property name="resize">True</property> | 792 | <property name="resize">False</property> |
858 | <property name="shrink">False</property> | 793 | <property name="shrink">False</property> |
859 | </packing> | 794 | </packing> |
860 | </child> | 795 | </child> |
@@ -864,8 +799,6 @@ This operation will be executed using the anonymity level specified on the right | |||
864 | <property name="can_focus">False</property> | 799 | <property name="can_focus">False</property> |
865 | <child> | 800 | <child> |
866 | <object class="GtkImage" id="GNUNET_GTK_main_window_preview_image"> | 801 | <object class="GtkImage" id="GNUNET_GTK_main_window_preview_image"> |
867 | <property name="width_request">128</property> | ||
868 | <property name="height_request">128</property> | ||
869 | <property name="visible">True</property> | 802 | <property name="visible">True</property> |
870 | <property name="can_focus">False</property> | 803 | <property name="can_focus">False</property> |
871 | <property name="has_tooltip">True</property> | 804 | <property name="has_tooltip">True</property> |
@@ -875,6 +808,7 @@ This operation will be executed using the anonymity level specified on the right | |||
875 | <packing> | 808 | <packing> |
876 | <property name="expand">False</property> | 809 | <property name="expand">False</property> |
877 | <property name="fill">False</property> | 810 | <property name="fill">False</property> |
811 | <property name="padding">5</property> | ||
878 | <property name="position">0</property> | 812 | <property name="position">0</property> |
879 | </packing> | 813 | </packing> |
880 | </child> | 814 | </child> |
@@ -882,6 +816,7 @@ This operation will be executed using the anonymity level specified on the right | |||
882 | <object class="GtkScrolledWindow" id="GNUNET_GTK_main_window_metadata_scroll"> | 816 | <object class="GtkScrolledWindow" id="GNUNET_GTK_main_window_metadata_scroll"> |
883 | <property name="visible">True</property> | 817 | <property name="visible">True</property> |
884 | <property name="can_focus">True</property> | 818 | <property name="can_focus">True</property> |
819 | <property name="tooltip_text" translatable="yes">File meta data</property> | ||
885 | <property name="hadjustment">adjustment1</property> | 820 | <property name="hadjustment">adjustment1</property> |
886 | <property name="vadjustment">adjustment2</property> | 821 | <property name="vadjustment">adjustment2</property> |
887 | <property name="shadow_type">in</property> | 822 | <property name="shadow_type">in</property> |
@@ -955,6 +890,52 @@ This operation will be executed using the anonymity level specified on the right | |||
955 | </object> | 890 | </object> |
956 | </child> | 891 | </child> |
957 | </object> | 892 | </object> |
893 | <object class="GtkListStore" id="GNUNET_GTK_meta_data_list_store"> | ||
894 | <columns> | ||
895 | <!-- column-name extractor_meta_type --> | ||
896 | <column type="guint"/> | ||
897 | <!-- column-name extractor_meta_format --> | ||
898 | <column type="guint"/> | ||
899 | <!-- column-name extractor_meta_type_string --> | ||
900 | <column type="gchararray"/> | ||
901 | <!-- column-name extracotr_meta_value --> | ||
902 | <column type="gchararray"/> | ||
903 | </columns> | ||
904 | </object> | ||
905 | <object class="GtkListStore" id="GNUNET_GTK_peer_info_list_store"> | ||
906 | <columns> | ||
907 | <!-- column-name peer_identity --> | ||
908 | <column type="gchararray"/> | ||
909 | <!-- column-name number_of_known_addresses --> | ||
910 | <column type="guint"/> | ||
911 | <!-- column-name country_name --> | ||
912 | <column type="gchararray"/> | ||
913 | <!-- column-name country_flag --> | ||
914 | <column type="GdkPixbuf"/> | ||
915 | <!-- column-name bandwidth --> | ||
916 | <column type="guint64"/> | ||
917 | </columns> | ||
918 | </object> | ||
919 | <object class="GtkListStore" id="GNUNET_GTK_select_pseudonym_liststore"> | ||
920 | <columns> | ||
921 | <!-- column-name namespace_name --> | ||
922 | <column type="gchararray"/> | ||
923 | <!-- column-name namespace_handle --> | ||
924 | <column type="gpointer"/> | ||
925 | </columns> | ||
926 | </object> | ||
927 | <object class="GtkAdjustment" id="adjustment1"> | ||
928 | <property name="upper">100</property> | ||
929 | <property name="step_increment">1</property> | ||
930 | <property name="page_increment">10</property> | ||
931 | <property name="page_size">10</property> | ||
932 | </object> | ||
933 | <object class="GtkAdjustment" id="adjustment2"> | ||
934 | <property name="upper">100</property> | ||
935 | <property name="step_increment">1</property> | ||
936 | <property name="page_increment">10</property> | ||
937 | <property name="page_size">10</property> | ||
938 | </object> | ||
958 | <object class="GtkAdjustment" id="adjustment3"> | 939 | <object class="GtkAdjustment" id="adjustment3"> |
959 | <property name="upper">100</property> | 940 | <property name="upper">100</property> |
960 | <property name="step_increment">1</property> | 941 | <property name="step_increment">1</property> |
@@ -1121,8 +1102,8 @@ This operation will be executed using the anonymity level specified on the right | |||
1121 | <col id="0">mimetype:audio</col> | 1102 | <col id="0">mimetype:audio</col> |
1122 | <col id="1" translatable="yes">Audio</col> | 1103 | <col id="1" translatable="yes">Audio</col> |
1123 | <col id="2">wav, mp3, ogg, ...</col> | 1104 | <col id="2">wav, mp3, ogg, ...</col> |
1124 | <col id="3" translatable="no"></col> | 1105 | <col id="3"/> |
1125 | <col id="4" translatable="no"></col> | 1106 | <col id="4"/> |
1126 | </row> | 1107 | </row> |
1127 | <row> | 1108 | <row> |
1128 | <col id="0">audio/ogg</col> | 1109 | <col id="0">audio/ogg</col> |
@@ -1142,8 +1123,8 @@ This operation will be executed using the anonymity level specified on the right | |||
1142 | <col id="0">mimetype:video</col> | 1123 | <col id="0">mimetype:video</col> |
1143 | <col id="1" translatable="yes">Vorbis</col> | 1124 | <col id="1" translatable="yes">Vorbis</col> |
1144 | <col id="2">ogv, mpeg, mp4, flv, ...</col> | 1125 | <col id="2">ogv, mpeg, mp4, flv, ...</col> |
1145 | <col id="3" translatable="no"></col> | 1126 | <col id="3"/> |
1146 | <col id="4" translatable="no"></col> | 1127 | <col id="4"/> |
1147 | </row> | 1128 | </row> |
1148 | <row> | 1129 | <row> |
1149 | <col id="0">video/ogg</col> | 1130 | <col id="0">video/ogg</col> |
@@ -1220,7 +1201,6 @@ This operation will be executed using the anonymity level specified on the right | |||
1220 | <property name="can_focus">False</property> | 1201 | <property name="can_focus">False</property> |
1221 | <child> | 1202 | <child> |
1222 | <object class="GtkMenuItem" id="Copy selection"> | 1203 | <object class="GtkMenuItem" id="Copy selection"> |
1223 | <property name="use_action_appearance">False</property> | ||
1224 | <property name="visible">True</property> | 1204 | <property name="visible">True</property> |
1225 | <property name="can_focus">False</property> | 1205 | <property name="can_focus">False</property> |
1226 | <property name="label" translatable="yes">Copy selection</property> | 1206 | <property name="label" translatable="yes">Copy selection</property> |
diff --git a/contrib/gnunet_gtk.glade b/contrib/gnunet_gtk.glade index c6ff1042..86ea11fc 100644 --- a/contrib/gnunet_gtk.glade +++ b/contrib/gnunet_gtk.glade | |||
@@ -28,6 +28,7 @@ | |||
28 | <property name="height_request">50</property> | 28 | <property name="height_request">50</property> |
29 | <property name="visible">True</property> | 29 | <property name="visible">True</property> |
30 | <property name="can_focus">False</property> | 30 | <property name="can_focus">False</property> |
31 | <property name="tooltip_text" translatable="yes">Statistics</property> | ||
31 | <property name="pixbuf">statistics.png</property> | 32 | <property name="pixbuf">statistics.png</property> |
32 | </object> | 33 | </object> |
33 | <packing> | 34 | <packing> |
@@ -52,6 +53,7 @@ | |||
52 | <property name="height_request">50</property> | 53 | <property name="height_request">50</property> |
53 | <property name="visible">True</property> | 54 | <property name="visible">True</property> |
54 | <property name="can_focus">False</property> | 55 | <property name="can_focus">False</property> |
56 | <property name="tooltip_text" translatable="yes">Information about known and connected peers</property> | ||
55 | <property name="pixbuf">peerinfo.png</property> | 57 | <property name="pixbuf">peerinfo.png</property> |
56 | </object> | 58 | </object> |
57 | <packing> | 59 | <packing> |
@@ -77,6 +79,7 @@ | |||
77 | <property name="height_request">0</property> | 79 | <property name="height_request">0</property> |
78 | <property name="visible">True</property> | 80 | <property name="visible">True</property> |
79 | <property name="can_focus">False</property> | 81 | <property name="can_focus">False</property> |
82 | <property name="tooltip_text" translatable="yes">GNU Name System Zone Management</property> | ||
80 | <property name="pixbuf">gns.png</property> | 83 | <property name="pixbuf">gns.png</property> |
81 | </object> | 84 | </object> |
82 | <packing> | 85 | <packing> |
@@ -102,6 +105,7 @@ | |||
102 | <property name="height_request">0</property> | 105 | <property name="height_request">0</property> |
103 | <property name="visible">True</property> | 106 | <property name="visible">True</property> |
104 | <property name="can_focus">False</property> | 107 | <property name="can_focus">False</property> |
108 | <property name="tooltip_text" translatable="yes">File-Sharing</property> | ||
105 | <property name="pixbuf">fs.png</property> | 109 | <property name="pixbuf">fs.png</property> |
106 | </object> | 110 | </object> |
107 | <packing> | 111 | <packing> |
@@ -127,6 +131,7 @@ | |||
127 | <property name="height_request">0</property> | 131 | <property name="height_request">0</property> |
128 | <property name="visible">True</property> | 132 | <property name="visible">True</property> |
129 | <property name="can_focus">False</property> | 133 | <property name="can_focus">False</property> |
134 | <property name="tooltip_text" translatable="yes">Identity management</property> | ||
130 | <property name="pixbuf">identity.png</property> | 135 | <property name="pixbuf">identity.png</property> |
131 | </object> | 136 | </object> |
132 | <packing> | 137 | <packing> |
@@ -151,6 +156,7 @@ | |||
151 | <property name="height_request">50</property> | 156 | <property name="height_request">50</property> |
152 | <property name="visible">True</property> | 157 | <property name="visible">True</property> |
153 | <property name="can_focus">False</property> | 158 | <property name="can_focus">False</property> |
159 | <property name="tooltip_text" translatable="yes">Configuration</property> | ||
154 | <property name="pixbuf">setup.png</property> | 160 | <property name="pixbuf">setup.png</property> |
155 | </object> | 161 | </object> |
156 | <packing> | 162 | <packing> |
diff --git a/src/include/gnunet_gtk_namestore_plugin.h b/src/include/gnunet_gtk_namestore_plugin.h index 28b47ba5..c7a2d237 100644 --- a/src/include/gnunet_gtk_namestore_plugin.h +++ b/src/include/gnunet_gtk_namestore_plugin.h | |||
@@ -82,7 +82,8 @@ struct GNUNET_GTK_NAMESTORE_PluginFunctions | |||
82 | * The `n_value` is the existing value of the record as a string. | 82 | * The `n_value` is the existing value of the record as a string. |
83 | */ | 83 | */ |
84 | void (*load)(void *cls, | 84 | void (*load)(void *cls, |
85 | gchar *n_value); | 85 | gchar *n_value, |
86 | GtkBuilder *builder); | ||
86 | 87 | ||
87 | /** | 88 | /** |
88 | * Function that will be called to retrieve the final value of the | 89 | * Function that will be called to retrieve the final value of the |
diff --git a/src/namestore/gnunet-namestore-gtk.c b/src/namestore/gnunet-namestore-gtk.c index 5d879602..eb08557b 100644 --- a/src/namestore/gnunet-namestore-gtk.c +++ b/src/namestore/gnunet-namestore-gtk.c | |||
@@ -2006,7 +2006,7 @@ load_zone (const char *name, | |||
2006 | * A different zone was selected in the zone toggle bar. Load the | 2006 | * A different zone was selected in the zone toggle bar. Load the |
2007 | * appropriate zone. | 2007 | * appropriate zone. |
2008 | * | 2008 | * |
2009 | * @param togglebutton button that was toggled (could be to "on" or "off", we only react to "on") | 2009 | * @param widget button that was toggled (could be to "on" or "off", we only react to "on") |
2010 | * @param user_data builder, unused | 2010 | * @param user_data builder, unused |
2011 | */ | 2011 | */ |
2012 | void | 2012 | void |