diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-01-04 06:51:07 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-01-04 06:51:07 +0000 |
commit | 619cfe24b013c7dcf4eae7c7a1bd6472bbd8d043 (patch) | |
tree | c4921cd4b241e65b0252807610a548209c9cc1ca | |
parent | 1cfa65b037a98360227a6054ca6dc3e4bc217283 (diff) | |
download | gnunet-gtk-619cfe24b013c7dcf4eae7c7a1bd6472bbd8d043.tar.gz gnunet-gtk-619cfe24b013c7dcf4eae7c7a1bd6472bbd8d043.zip |
-LRN: unbuilder the pubication editor dialog
-rw-r--r-- | contrib/Makefile.am | 1 | ||||
-rw-r--r-- | contrib/gnunet_fs_gtk_main_window.glade | 3367 | ||||
-rw-r--r-- | src/fs/gnunet-fs-gtk-edit_publish_dialog.c | 902 | ||||
-rw-r--r-- | src/fs/gnunet-fs-gtk-edit_publish_dialog.h | 6 | ||||
-rw-r--r-- | src/fs/gnunet-fs-gtk-main_window_adv_pseudonym.c | 7 | ||||
-rw-r--r-- | src/fs/gnunet-fs-gtk-main_window_file_publish.c | 10 | ||||
-rw-r--r-- | src/fs/gnunet-fs-gtk.c | 45 | ||||
-rw-r--r-- | src/fs/gnunet-fs-gtk.h | 24 | ||||
-rw-r--r-- | src/lib/about.c | 1 |
9 files changed, 1773 insertions, 2590 deletions
diff --git a/contrib/Makefile.am b/contrib/Makefile.am index dfaa4393..e509e31f 100644 --- a/contrib/Makefile.am +++ b/contrib/Makefile.am | |||
@@ -18,6 +18,7 @@ pkgdata_DATA = \ | |||
18 | gnunet_fs_gtk_create_namespace_dialog.glade \ | 18 | gnunet_fs_gtk_create_namespace_dialog.glade \ |
19 | gnunet_fs_gtk_download_as_dialog.glade \ | 19 | gnunet_fs_gtk_download_as_dialog.glade \ |
20 | gnunet_fs_gtk_main_window.glade \ | 20 | gnunet_fs_gtk_main_window.glade \ |
21 | gnunet_fs_gtk_edit_publication.glade \ | ||
21 | gnunet_fs_gtk_open_directory_dialog.glade \ | 22 | gnunet_fs_gtk_open_directory_dialog.glade \ |
22 | gnunet_fs_gtk_open_url_dialog.glade \ | 23 | gnunet_fs_gtk_open_url_dialog.glade \ |
23 | gnunet_fs_gtk_publish_dialog.glade \ | 24 | gnunet_fs_gtk_publish_dialog.glade \ |
diff --git a/contrib/gnunet_fs_gtk_main_window.glade b/contrib/gnunet_fs_gtk_main_window.glade index 14701bb1..89f3bda4 100644 --- a/contrib/gnunet_fs_gtk_main_window.glade +++ b/contrib/gnunet_fs_gtk_main_window.glade | |||
@@ -1,4 +1,4 @@ | |||
1 | <?xml version="1.0"?> | 1 | <?xml version="1.0" encoding="UTF-8"?> |
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 --> |
@@ -12,225 +12,6 @@ | |||
12 | <property name="step_increment">1</property> | 12 | <property name="step_increment">1</property> |
13 | <property name="page_increment">10</property> | 13 | <property name="page_increment">10</property> |
14 | </object> | 14 | </object> |
15 | <object class="GtkListStore" id="GNUNET_GTK_meta_data_list_store"> | ||
16 | <columns> | ||
17 | <!-- column-name extractor_meta_type --> | ||
18 | <column type="guint"/> | ||
19 | <!-- column-name extractor_meta_format --> | ||
20 | <column type="guint"/> | ||
21 | <!-- column-name extractor_meta_type_string --> | ||
22 | <column type="gchararray"/> | ||
23 | <!-- column-name extracotr_meta_value --> | ||
24 | <column type="gchararray"/> | ||
25 | </columns> | ||
26 | </object> | ||
27 | <object class="GtkListStore" id="GNUNET_GTK_peer_info_list_store"> | ||
28 | <columns> | ||
29 | <!-- column-name peer_identity --> | ||
30 | <column type="gchararray"/> | ||
31 | <!-- column-name number_of_known_addresses --> | ||
32 | <column type="guint"/> | ||
33 | <!-- column-name country_name --> | ||
34 | <column type="gchararray"/> | ||
35 | <!-- column-name country_flag --> | ||
36 | <column type="GdkPixbuf"/> | ||
37 | <!-- column-name bandwidth --> | ||
38 | <column type="guint64"/> | ||
39 | </columns> | ||
40 | </object> | ||
41 | <object class="GtkTreeStore" id="GNUNET_GTK_pseudonym_tree_store"> | ||
42 | <columns> | ||
43 | <!-- column-name local_name --> | ||
44 | <column type="gchararray"/> | ||
45 | <!-- column-name namespace_handle --> | ||
46 | <column type="gpointer"/> | ||
47 | <!-- column-name last_id --> | ||
48 | <column type="gchararray"/> | ||
49 | <!-- column-name last_uri --> | ||
50 | <column type="gchararray"/> | ||
51 | <!-- column-name last_meta --> | ||
52 | <column type="gpointer"/> | ||
53 | <!-- column-name next_id --> | ||
54 | <column type="gchararray"/> | ||
55 | <!-- column-name last_description_from_meta --> | ||
56 | <column type="gchararray"/> | ||
57 | <!-- column-name next_id_editable --> | ||
58 | <column type="gboolean"/> | ||
59 | <!-- column-name current_id_editable --> | ||
60 | <column type="gboolean"/> | ||
61 | </columns> | ||
62 | </object> | ||
63 | <object class="GtkListStore" id="GNUNET_GTK_publication_keywords_liststore"> | ||
64 | <columns> | ||
65 | <!-- column-name Keyword --> | ||
66 | <column type="gchararray"/> | ||
67 | <!-- column-name Added --> | ||
68 | <column type="gboolean"/> | ||
69 | </columns> | ||
70 | </object> | ||
71 | <object class="GtkListStore" id="GNUNET_GTK_publication_metadata_liststore"> | ||
72 | <columns> | ||
73 | <!-- column-name Type --> | ||
74 | <column type="guint"/> | ||
75 | <!-- column-name Format --> | ||
76 | <column type="guint"/> | ||
77 | <!-- column-name Type_name --> | ||
78 | <column type="gchararray"/> | ||
79 | <!-- column-name Value --> | ||
80 | <column type="gchararray"/> | ||
81 | <!-- column-name Description --> | ||
82 | <column type="gchararray"/> | ||
83 | </columns> | ||
84 | </object> | ||
85 | <object class="GtkListStore" id="GNUNET_GTK_publication_metadata_types_liststore"> | ||
86 | <columns> | ||
87 | <!-- column-name Type --> | ||
88 | <column type="gint"/> | ||
89 | <!-- column-name Format --> | ||
90 | <column type="gint"/> | ||
91 | <!-- column-name Type1 --> | ||
92 | <column type="gchararray"/> | ||
93 | <!-- column-name Description --> | ||
94 | <column type="gchararray"/> | ||
95 | </columns> | ||
96 | </object> | ||
97 | <object class="GtkListStore" id="GNUNET_GTK_publication_types_liststore"> | ||
98 | <columns> | ||
99 | <!-- column-name Type --> | ||
100 | <column type="gint"/> | ||
101 | <!-- column-name Type_name --> | ||
102 | <column type="gchararray"/> | ||
103 | </columns> | ||
104 | <data> | ||
105 | <row> | ||
106 | <col id="0">0</col> | ||
107 | <col id="1" translatable="yes">Generic</col> | ||
108 | </row> | ||
109 | <row> | ||
110 | <col id="0">1</col> | ||
111 | <col id="1" translatable="yes">Text</col> | ||
112 | </row> | ||
113 | <row> | ||
114 | <col id="0">2</col> | ||
115 | <col id="1" translatable="yes">Music</col> | ||
116 | </row> | ||
117 | <row> | ||
118 | <col id="0">3</col> | ||
119 | <col id="1" translatable="yes">Video</col> | ||
120 | </row> | ||
121 | <row> | ||
122 | <col id="0">4</col> | ||
123 | <col id="1" translatable="yes">Image</col> | ||
124 | </row> | ||
125 | <row> | ||
126 | <col id="0">5</col> | ||
127 | <col id="1" translatable="yes">Software</col> | ||
128 | </row> | ||
129 | <row> | ||
130 | <col id="0">6</col> | ||
131 | <col id="1" translatable="yes">Namespace</col> | ||
132 | </row> | ||
133 | </data> | ||
134 | </object> | ||
135 | <object class="GtkListStore" id="GNUNET_GTK_publish_file_dialog_expiration_list_store"> | ||
136 | <columns> | ||
137 | <!-- column-name human_readable_time --> | ||
138 | <column type="gchararray"/> | ||
139 | <!-- column-name time_in_ms --> | ||
140 | <column type="guint64"/> | ||
141 | </columns> | ||
142 | </object> | ||
143 | <object class="GtkListStore" id="GNUNET_GTK_select_pseudonym_liststore"> | ||
144 | <columns> | ||
145 | <!-- column-name namespace_name --> | ||
146 | <column type="gchararray"/> | ||
147 | <!-- column-name namespace_handle --> | ||
148 | <column type="gpointer"/> | ||
149 | </columns> | ||
150 | </object> | ||
151 | <object class="GtkListStore" id="main_window_search_anonymity_liststore"> | ||
152 | <columns> | ||
153 | <!-- column-name Name --> | ||
154 | <column type="gchararray"/> | ||
155 | <!-- column-name Level --> | ||
156 | <column type="guint"/> | ||
157 | <!-- column-name Color --> | ||
158 | <column type="gchararray"/> | ||
159 | </columns> | ||
160 | <data> | ||
161 | <row> | ||
162 | <col id="0" translatable="yes">None</col> | ||
163 | <col id="1">0</col> | ||
164 | <col id="2" translatable="yes">#AAAA00000000</col> | ||
165 | </row> | ||
166 | <row> | ||
167 | <col id="0" translatable="yes">Normal</col> | ||
168 | <col id="1">1</col> | ||
169 | <col id="2" translatable="yes">#000000000000</col> | ||
170 | </row> | ||
171 | <row> | ||
172 | <col id="0" translatable="yes">Paranoid</col> | ||
173 | <col id="1">10</col> | ||
174 | <col id="2" translatable="yes">#0000AAAA0000</col> | ||
175 | </row> | ||
176 | </data> | ||
177 | </object> | ||
178 | <object class="GtkListStore" id="main_window_search_mime_liststore"> | ||
179 | <columns> | ||
180 | <!-- column-name MIME --> | ||
181 | <column type="gchararray"/> | ||
182 | <!-- column-name Type --> | ||
183 | <column type="gchararray"/> | ||
184 | <!-- column-name Extension --> | ||
185 | <column type="gchararray"/> | ||
186 | <!-- column-name Lossyness --> | ||
187 | <column type="gchararray"/> | ||
188 | <!-- column-name Freedom --> | ||
189 | <column type="gchararray"/> | ||
190 | </columns> | ||
191 | <data> | ||
192 | <row> | ||
193 | <col id="0"> </col> | ||
194 | <col id="1" translatable="yes">Any</col> | ||
195 | <col id="2" translatable="yes"> </col> | ||
196 | <col id="3" translatable="yes"> </col> | ||
197 | <col id="4" translatable="yes"> </col> | ||
198 | </row> | ||
199 | <row> | ||
200 | <col id="0">plain/text</col> | ||
201 | <col id="1" translatable="yes">Text</col> | ||
202 | <col id="2">txt</col> | ||
203 | <col id="3" translatable="yes">N/A</col> | ||
204 | <col id="4" translatable="yes">N/A</col> | ||
205 | </row> | ||
206 | <row> | ||
207 | <col id="0">application/zip</col> | ||
208 | <col id="1" translatable="yes">Zip</col> | ||
209 | <col id="2">zip</col> | ||
210 | <col id="3" translatable="yes">lossless</col> | ||
211 | <col id="4" translatable="yes">free</col> | ||
212 | </row> | ||
213 | <row> | ||
214 | <col id="0">audio/mpeg</col> | ||
215 | <col id="1" translatable="yes">MPEG audio</col> | ||
216 | <col id="2">mp3, mp2, mpeg</col> | ||
217 | <col id="3" translatable="yes">lossy</col> | ||
218 | <col id="4" translatable="yes">non-free</col> | ||
219 | </row> | ||
220 | </data> | ||
221 | </object> | ||
222 | <object class="GtkTreeStore" id="main_window_search_namespace_treestore"> | ||
223 | <columns> | ||
224 | <!-- column-name Name --> | ||
225 | <column type="gchararray"/> | ||
226 | <!-- column-name Key --> | ||
227 | <column type="gpointer"/> | ||
228 | <!-- column-name Root --> | ||
229 | <column type="gchararray"/> | ||
230 | <!-- column-name Tooltip --> | ||
231 | <column type="gchararray"/> | ||
232 | </columns> | ||
233 | </object> | ||
234 | <object class="GtkTreeStore" id="GNUNET_GTK_file_sharing_publishing_tree_store"> | 15 | <object class="GtkTreeStore" id="GNUNET_GTK_file_sharing_publishing_tree_store"> |
235 | <columns> | 16 | <columns> |
236 | <!-- column-name filesize --> | 17 | <!-- column-name filesize --> |
@@ -251,944 +32,280 @@ | |||
251 | <column type="guint"/> | 32 | <column type="guint"/> |
252 | </columns> | 33 | </columns> |
253 | </object> | 34 | </object> |
254 | <object class="GtkWindow" id="GNUNET_GTK_edit_publication_window"> | 35 | <object class="GtkListStore" id="GNUNET_GTK_meta_data_list_store"> |
255 | <property name="border_width">4</property> | 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="GtkWindow" id="GNUNET_GTK_open_url_window"> | ||
48 | <property name="can_focus">False</property> | ||
49 | <property name="title" translatable="yes">Enter the URI to be downloaded</property> | ||
256 | <property name="modal">True</property> | 50 | <property name="modal">True</property> |
257 | <property name="window_position">center-on-parent</property> | 51 | <property name="default_width">640</property> |
52 | <property name="default_height">240</property> | ||
258 | <property name="destroy_with_parent">True</property> | 53 | <property name="destroy_with_parent">True</property> |
259 | <property name="skip_taskbar_hint">True</property> | 54 | <property name="skip_taskbar_hint">True</property> |
260 | <property name="skip_pager_hint">True</property> | 55 | <property name="skip_pager_hint">True</property> |
261 | <property name="deletable">False</property> | 56 | <property name="deletable">False</property> |
262 | <property name="transient_for">GNUNET_GTK_main_window</property> | 57 | <property name="transient_for">GNUNET_GTK_main_window</property> |
263 | <signal name="realize" handler="GNUNET_GTK_edit_publication_window_realize_cb"/> | 58 | <signal name="delete-event" handler="GNUNET_GTK_open_url_window_delete_event_cb" swapped="no"/> |
264 | <signal name="delete_event" handler="GNUNET_GTK_edit_publication_window_delete_event_cb"/> | ||
265 | <child> | 59 | <child> |
266 | <object class="GtkVBox" id="GNUNET_GTK_edit_publication_master_vbox"> | 60 | <object class="GtkVBox" id="GNUNET_GTK_open_url_dialog_main_vbox"> |
267 | <property name="visible">True</property> | 61 | <property name="visible">True</property> |
268 | <property name="orientation">vertical</property> | 62 | <property name="can_focus">False</property> |
269 | <property name="spacing">2</property> | 63 | <property name="spacing">2</property> |
270 | <child> | 64 | <child> |
271 | <object class="GtkVPaned" id="GNUNET_GTK_edit_publication_main_vpaned"> | 65 | <object class="GtkHBox" id="GNUNET_GTK_open_url_dialog_query_hbox"> |
272 | <property name="visible">True</property> | 66 | <property name="visible">True</property> |
273 | <property name="can_focus">True</property> | 67 | <property name="can_focus">False</property> |
274 | <property name="orientation">vertical</property> | ||
275 | <child> | 68 | <child> |
276 | <object class="GtkHPaned" id="GNUNET_GTK_edit_publication_top_hpaned"> | 69 | <object class="GtkLabel" id="GNUNET_GTK_open_url_dialog_url_label"> |
277 | <property name="visible">True</property> | 70 | <property name="visible">True</property> |
278 | <property name="can_focus">True</property> | 71 | <property name="can_focus">False</property> |
279 | <property name="position_set">True</property> | 72 | <property name="label" translatable="yes">_URI:</property> |
280 | <child> | 73 | <property name="use_underline">True</property> |
281 | <object class="GtkVBox" id="GNUNET_GTK_edit_publication_metadata_vbox"> | 74 | <property name="mnemonic_widget">GNUNET_GTK_open_url_dialog_url_textview</property> |
282 | <property name="visible">True</property> | ||
283 | <property name="orientation">vertical</property> | ||
284 | <property name="spacing">5</property> | ||
285 | <child> | ||
286 | <object class="GtkHBox" id="GNUNET_GTK_edit_publication_hbox"> | ||
287 | <property name="visible">True</property> | ||
288 | <child> | ||
289 | <object class="GtkLabel" id="GNUNET_GTK_edit_publication_type_label"> | ||
290 | <property name="visible">True</property> | ||
291 | <property name="label" translatable="yes">_Publication type:</property> | ||
292 | <property name="use_underline">True</property> | ||
293 | </object> | ||
294 | <packing> | ||
295 | <property name="expand">False</property> | ||
296 | <property name="fill">False</property> | ||
297 | <property name="position">0</property> | ||
298 | </packing> | ||
299 | </child> | ||
300 | <child> | ||
301 | <object class="GtkComboBox" id="GNUNET_GTK_edit_publication_type_combo"> | ||
302 | <property name="visible">True</property> | ||
303 | <property name="model">GNUNET_GTK_publication_types_liststore</property> | ||
304 | <property name="active">0</property> | ||
305 | <signal name="changed" handler="GNUNET_GTK_edit_publication_type_combo_changed_cb"/> | ||
306 | <child> | ||
307 | <object class="GtkCellRendererText" id="cellrenderertext2"/> | ||
308 | <attributes> | ||
309 | <attribute name="text">1</attribute> | ||
310 | </attributes> | ||
311 | </child> | ||
312 | </object> | ||
313 | <packing> | ||
314 | <property name="expand">False</property> | ||
315 | <property name="fill">False</property> | ||
316 | <property name="position">1</property> | ||
317 | </packing> | ||
318 | </child> | ||
319 | <child> | ||
320 | <object class="GtkButton" id="GNUNET_GTK_edit_publication_add_button"> | ||
321 | <property name="label">gtk-add</property> | ||
322 | <property name="visible">True</property> | ||
323 | <property name="can_focus">True</property> | ||
324 | <property name="receives_default">True</property> | ||
325 | <property name="use_stock">True</property> | ||
326 | <signal name="clicked" handler="GNUNET_GTK_edit_publication_add_button_clicked_cb"/> | ||
327 | </object> | ||
328 | <packing> | ||
329 | <property name="expand">False</property> | ||
330 | <property name="fill">False</property> | ||
331 | <property name="position">2</property> | ||
332 | </packing> | ||
333 | </child> | ||
334 | <child> | ||
335 | <object class="GtkButton" id="GNUNET_GTK_edit_publication_delete_button"> | ||
336 | <property name="label">gtk-delete</property> | ||
337 | <property name="visible">True</property> | ||
338 | <property name="sensitive">False</property> | ||
339 | <property name="can_focus">True</property> | ||
340 | <property name="receives_default">True</property> | ||
341 | <property name="use_stock">True</property> | ||
342 | <signal name="clicked" handler="GNUNET_GTK_edit_publication_delete_button_clicked_cb"/> | ||
343 | </object> | ||
344 | <packing> | ||
345 | <property name="expand">False</property> | ||
346 | <property name="fill">False</property> | ||
347 | <property name="padding">5</property> | ||
348 | <property name="position">3</property> | ||
349 | </packing> | ||
350 | </child> | ||
351 | </object> | ||
352 | <packing> | ||
353 | <property name="expand">False</property> | ||
354 | <property name="fill">False</property> | ||
355 | <property name="position">0</property> | ||
356 | </packing> | ||
357 | </child> | ||
358 | <child> | ||
359 | <object class="GtkScrolledWindow" id="GNUNET_GTK_edit_publication_metadata_scrolled_window"> | ||
360 | <property name="width_request">400</property> | ||
361 | <property name="height_request">120</property> | ||
362 | <property name="visible">True</property> | ||
363 | <property name="can_focus">True</property> | ||
364 | <property name="hscrollbar_policy">automatic</property> | ||
365 | <property name="vscrollbar_policy">automatic</property> | ||
366 | <property name="shadow_type">in</property> | ||
367 | <child> | ||
368 | <object class="GtkTreeView" id="GNUNET_GTK_edit_publication_metadata_tree_view"> | ||
369 | <property name="visible">True</property> | ||
370 | <property name="can_focus">True</property> | ||
371 | <property name="model">GNUNET_GTK_publication_metadata_liststore</property> | ||
372 | <property name="enable_search">False</property> | ||
373 | <property name="search_column">0</property> | ||
374 | <property name="tooltip_column">4</property> | ||
375 | <child> | ||
376 | <object class="GtkTreeViewColumn" id="GNUNET_GTK_edit_publication_metadata_tree_view_type_column"> | ||
377 | <property name="resizable">True</property> | ||
378 | <property name="title">Type</property> | ||
379 | <property name="clickable">True</property> | ||
380 | <property name="sort_column_id">2</property> | ||
381 | <child> | ||
382 | <object class="GtkCellRendererCombo" id="GNUNET_GTK_edit_publication_metadata_tree_view_type_renderer"> | ||
383 | <property name="editable">True</property> | ||
384 | <property name="has_entry">False</property> | ||
385 | <property name="text_column">2</property> | ||
386 | <property name="model">GNUNET_GTK_publication_metadata_types_liststore</property> | ||
387 | <signal name="edited" handler="GNUNET_GTK_edit_publication_metadata_tree_view_type_renderer_edited_cb"/> | ||
388 | <signal name="changed" handler="GNUNET_GTK_edit_publication_metadata_tree_view_type_renderer_changed_cb"/> | ||
389 | </object> | ||
390 | <attributes> | ||
391 | <attribute name="text">2</attribute> | ||
392 | </attributes> | ||
393 | </child> | ||
394 | </object> | ||
395 | </child> | ||
396 | <child> | ||
397 | <object class="GtkTreeViewColumn" id="GNUNET_GTK_edit_publication_metadata_tree_view_description_column"> | ||
398 | <property name="sizing">autosize</property> | ||
399 | <property name="title">Value</property> | ||
400 | <property name="expand">True</property> | ||
401 | <property name="clickable">True</property> | ||
402 | <property name="sort_column_id">3</property> | ||
403 | <child> | ||
404 | <object class="GtkCellRendererText" id="GNUNET_GTK_edit_publication_metadata_tree_view_value_renderer"> | ||
405 | <property name="editable">True</property> | ||
406 | <signal name="edited" handler="GNUNET_GTK_edit_publication_metadata_tree_view_value_renderer_edited_cb"/> | ||
407 | </object> | ||
408 | <attributes> | ||
409 | <attribute name="text">3</attribute> | ||
410 | </attributes> | ||
411 | </child> | ||
412 | </object> | ||
413 | </child> | ||
414 | </object> | ||
415 | </child> | ||
416 | </object> | ||
417 | <packing> | ||
418 | <property name="position">1</property> | ||
419 | </packing> | ||
420 | </child> | ||
421 | </object> | ||
422 | <packing> | ||
423 | <property name="resize">True</property> | ||
424 | <property name="shrink">False</property> | ||
425 | </packing> | ||
426 | </child> | ||
427 | <child> | ||
428 | <object class="GtkFrame" id="GNUNET_GTK_edit_publication_metadata_preview_frame"> | ||
429 | <property name="visible">True</property> | ||
430 | <property name="label_xalign">0</property> | ||
431 | <child> | ||
432 | <object class="GtkAlignment" id="GNUNET_GTK_edit_publication_metadata_preview_alignment"> | ||
433 | <property name="visible">True</property> | ||
434 | <property name="left_padding">12</property> | ||
435 | <child> | ||
436 | <object class="GtkVBox" id="GNUNET_GTK_edit_publication_metadata_preview_vbox"> | ||
437 | <property name="visible">True</property> | ||
438 | <child> | ||
439 | <object class="GtkFileChooserButton" id="GNUNET_GTK_edit_publication_metadata_preview_file_chooser_button"> | ||
440 | <property name="visible">True</property> | ||
441 | <property name="can_focus">True</property> | ||
442 | <property name="create_folders">False</property> | ||
443 | <property name="title" translatable="yes">Select file</property> | ||
444 | <signal name="file_set" handler="GNUNET_GTK_edit_publication_metadata_preview_file_chooser_button_file_set_cb"/> | ||
445 | </object> | ||
446 | <packing> | ||
447 | <property name="expand">False</property> | ||
448 | <property name="fill">False</property> | ||
449 | <property name="position">0</property> | ||
450 | </packing> | ||
451 | </child> | ||
452 | <child> | ||
453 | <object class="GtkScrolledWindow" id="GNUNET_GTK_edit_publication_metadata_preview_image_scrolled_window"> | ||
454 | <property name="visible">True</property> | ||
455 | <property name="can_focus">True</property> | ||
456 | <property name="hadjustment">GNUNET_GTK_edit_publication_metadata_preview_image_horizontal_adjustment</property> | ||
457 | <property name="vadjustment">GNUNET_GTK_edit_publication_metadata_preview_image_verticall_adjustment</property> | ||
458 | <property name="hscrollbar_policy">automatic</property> | ||
459 | <property name="vscrollbar_policy">automatic</property> | ||
460 | <child> | ||
461 | <object class="GtkViewport" id="GNUNET_GTK_edit_publication_metadata_preview_image_viewport"> | ||
462 | <property name="visible">True</property> | ||
463 | <property name="hadjustment">GNUNET_GTK_edit_publication_metadata_preview_image_horizontal_adjustment</property> | ||
464 | <property name="vadjustment">GNUNET_GTK_edit_publication_metadata_preview_image_verticall_adjustment</property> | ||
465 | <property name="shadow_type">none</property> | ||
466 | <child> | ||
467 | <object class="GtkImage" id="GNUNET_GTK_edit_publication_metadata_preview_image"> | ||
468 | <property name="visible">True</property> | ||
469 | <property name="stock">gtk-missing-image</property> | ||
470 | </object> | ||
471 | </child> | ||
472 | </object> | ||
473 | </child> | ||
474 | </object> | ||
475 | <packing> | ||
476 | <property name="position">1</property> | ||
477 | </packing> | ||
478 | </child> | ||
479 | </object> | ||
480 | </child> | ||
481 | </object> | ||
482 | </child> | ||
483 | <child type="label"> | ||
484 | <object class="GtkLabel" id="label1"> | ||
485 | <property name="visible">True</property> | ||
486 | <property name="label" translatable="yes">Preview:</property> | ||
487 | <property name="use_markup">True</property> | ||
488 | </object> | ||
489 | </child> | ||
490 | </object> | ||
491 | <packing> | ||
492 | <property name="resize">True</property> | ||
493 | <property name="shrink">False</property> | ||
494 | </packing> | ||
495 | </child> | ||
496 | </object> | 75 | </object> |
497 | <packing> | 76 | <packing> |
498 | <property name="resize">True</property> | 77 | <property name="expand">False</property> |
499 | <property name="shrink">False</property> | 78 | <property name="fill">False</property> |
79 | <property name="padding">4</property> | ||
80 | <property name="position">0</property> | ||
500 | </packing> | 81 | </packing> |
501 | </child> | 82 | </child> |
502 | <child> | 83 | <child> |
503 | <object class="GtkHBox" id="GNUNET_GTK_edit_publication_secondary_hbox"> | 84 | <object class="GtkFrame" id="frame1"> |
504 | <property name="visible">True</property> | 85 | <property name="visible">True</property> |
86 | <property name="can_focus">False</property> | ||
87 | <property name="label_xalign">0</property> | ||
88 | <property name="shadow_type">in</property> | ||
505 | <child> | 89 | <child> |
506 | <object class="GtkHBox" id="GNUNET_GTK_edit_publication_keyword_list_hbox"> | 90 | <object class="GtkAlignment" id="alignment1"> |
507 | <property name="visible">True</property> | 91 | <property name="visible">True</property> |
508 | <property name="orientation">vertical</property> | 92 | <property name="can_focus">False</property> |
509 | <child> | 93 | <child> |
510 | <object class="GtkVBox" id="vbox2"> | 94 | <object class="GtkTextView" id="GNUNET_GTK_open_url_dialog_url_textview"> |
511 | <property name="visible">True</property> | ||
512 | <property name="orientation">vertical</property> | ||
513 | <child> | ||
514 | <object class="GtkHBox" id="hbox3"> | ||
515 | <property name="visible">True</property> | ||
516 | <child> | ||
517 | <object class="GtkLabel" id="GNUNET_GTK_edit_publication_keyword_label"> | ||
518 | <property name="visible">True</property> | ||
519 | <property name="label" translatable="yes">_Keyword:</property> | ||
520 | <property name="use_underline">True</property> | ||
521 | <property name="mnemonic_widget">GNUNET_GTK_edit_publication_keyword_entry</property> | ||
522 | </object> | ||
523 | <packing> | ||
524 | <property name="expand">False</property> | ||
525 | <property name="fill">False</property> | ||
526 | <property name="position">0</property> | ||
527 | </packing> | ||
528 | </child> | ||
529 | <child> | ||
530 | <object class="GtkEntry" id="GNUNET_GTK_edit_publication_keyword_entry"> | ||
531 | <property name="visible">True</property> | ||
532 | <property name="can_focus">True</property> | ||
533 | <property name="invisible_char">●</property> | ||
534 | <property name="invisible_char_set">True</property> | ||
535 | <property name="caps_lock_warning">False</property> | ||
536 | <property name="primary_icon_sensitive">True</property> | ||
537 | <property name="secondary_icon_sensitive">True</property> | ||
538 | <signal name="key_press_event" handler="GNUNET_GTK_edit_publication_keyword_entry_key_press_event_cb"/> | ||
539 | </object> | ||
540 | <packing> | ||
541 | <property name="position">1</property> | ||
542 | </packing> | ||
543 | </child> | ||
544 | </object> | ||
545 | <packing> | ||
546 | <property name="expand">False</property> | ||
547 | <property name="position">0</property> | ||
548 | </packing> | ||
549 | </child> | ||
550 | <child> | ||
551 | <object class="GtkScrolledWindow" id="GNUNET_GTK_edit_publication_keyword_scrolled_window"> | ||
552 | <property name="width_request">400</property> | ||
553 | <property name="height_request">120</property> | ||
554 | <property name="visible">True</property> | ||
555 | <property name="can_focus">True</property> | ||
556 | <property name="hscrollbar_policy">never</property> | ||
557 | <property name="vscrollbar_policy">automatic</property> | ||
558 | <property name="shadow_type">in</property> | ||
559 | <child> | ||
560 | <object class="GtkTreeView" id="GNUNET_GTK_edit_publication_keyword_list_tree_view"> | ||
561 | <property name="visible">True</property> | ||
562 | <property name="can_focus">True</property> | ||
563 | <property name="model">GNUNET_GTK_publication_keywords_liststore</property> | ||
564 | <property name="search_column">0</property> | ||
565 | <child> | ||
566 | <object class="GtkTreeViewColumn" id="GNUNET_GTK_edit_publication_keyword_list_tree_view_column"> | ||
567 | <property name="title">Keywords</property> | ||
568 | <property name="clickable">True</property> | ||
569 | <property name="reorderable">True</property> | ||
570 | <property name="sort_column_id">0</property> | ||
571 | <child> | ||
572 | <object class="GtkCellRendererText" id="GNUNET_GTK_edit_publication_keyword_list_tree_view_renderer"/> | ||
573 | <attributes> | ||
574 | <attribute name="text">0</attribute> | ||
575 | </attributes> | ||
576 | </child> | ||
577 | </object> | ||
578 | </child> | ||
579 | </object> | ||
580 | </child> | ||
581 | </object> | ||
582 | <packing> | ||
583 | <property name="position">1</property> | ||
584 | </packing> | ||
585 | </child> | ||
586 | </object> | ||
587 | <packing> | ||
588 | <property name="position">0</property> | ||
589 | </packing> | ||
590 | </child> | ||
591 | <child> | ||
592 | <object class="GtkVBox" id="GNUNET_GTK_edit_publication_keyword_list_button_vbox"> | ||
593 | <property name="visible">True</property> | 95 | <property name="visible">True</property> |
594 | <property name="orientation">vertical</property> | 96 | <property name="can_focus">True</property> |
595 | <child> | 97 | <property name="events">GDK_KEY_PRESS_MASK | GDK_STRUCTURE_MASK</property> |
596 | <object class="GtkButton" id="GNUNET_GTK_edit_publication_keyword_list_add_button"> | 98 | <property name="wrap_mode">char</property> |
597 | <property name="label">Add key_word</property> | 99 | <property name="indent">20</property> |
598 | <property name="visible">True</property> | 100 | <property name="buffer">GNUNET_GTK_open_url_dialog_url_textview_buffer</property> |
599 | <property name="can_focus">True</property> | 101 | <property name="accepts_tab">False</property> |
600 | <property name="receives_default">True</property> | 102 | <signal name="key-press-event" handler="GNUNET_GTK_open_url_dialog_url_textview_key_press_event_cb" swapped="no"/> |
601 | <property name="image">add_stock_image</property> | ||
602 | <property name="use_underline">True</property> | ||
603 | <signal name="clicked" handler="GNUNET_GTK_edit_publication_keyword_list_add_button_clicked_cb"/> | ||
604 | </object> | ||
605 | <packing> | ||
606 | <property name="expand">False</property> | ||
607 | <property name="fill">False</property> | ||
608 | <property name="position">0</property> | ||
609 | </packing> | ||
610 | </child> | ||
611 | <child> | ||
612 | <object class="GtkButton" id="GNUNET_GTK_edit_publication_keyword_list_del_button"> | ||
613 | <property name="label">Delete _selected</property> | ||
614 | <property name="visible">True</property> | ||
615 | <property name="sensitive">False</property> | ||
616 | <property name="can_focus">True</property> | ||
617 | <property name="receives_default">True</property> | ||
618 | <property name="image">del_stock_image</property> | ||
619 | <property name="use_underline">True</property> | ||
620 | <signal name="clicked" handler="GNUNET_GTK_edit_publication_keyword_list_del_button_clicked_cb"/> | ||
621 | </object> | ||
622 | <packing> | ||
623 | <property name="expand">False</property> | ||
624 | <property name="fill">False</property> | ||
625 | <property name="padding">5</property> | ||
626 | <property name="pack_type">end</property> | ||
627 | <property name="position">1</property> | ||
628 | </packing> | ||
629 | </child> | ||
630 | </object> | 103 | </object> |
631 | <packing> | ||
632 | <property name="expand">False</property> | ||
633 | <property name="fill">False</property> | ||
634 | <property name="padding">5</property> | ||
635 | <property name="position">1</property> | ||
636 | </packing> | ||
637 | </child> | 104 | </child> |
638 | </object> | 105 | </object> |
639 | <packing> | ||
640 | <property name="padding">4</property> | ||
641 | <property name="position">0</property> | ||
642 | </packing> | ||
643 | </child> | 106 | </child> |
644 | <child> | 107 | <child type="label_item"> |
645 | <object class="GtkFrame" id="frame3"> | 108 | <placeholder/> |
646 | <property name="visible">True</property> | ||
647 | <property name="label_xalign">0</property> | ||
648 | <child> | ||
649 | <object class="GtkAlignment" id="alignment3"> | ||
650 | <property name="visible">True</property> | ||
651 | <property name="yalign">0</property> | ||
652 | <property name="yscale">0</property> | ||
653 | <property name="left_padding">4</property> | ||
654 | <property name="right_padding">4</property> | ||
655 | <child> | ||
656 | <object class="GtkVBox" id="GNUNET_GTK_edit_publication_misc_vbox"> | ||
657 | <property name="visible">True</property> | ||
658 | <property name="orientation">vertical</property> | ||
659 | <child> | ||
660 | <object class="GtkHBox" id="GNUNET_GTK_edit_publication_root_hbox"> | ||
661 | <property name="visible">True</property> | ||
662 | <child> | ||
663 | <object class="GtkLabel" id="GNUNET_GTK_edit_publication_root_label"> | ||
664 | <property name="visible">True</property> | ||
665 | <property name="xalign">1</property> | ||
666 | <property name="label" translatable="yes">_Root keyword:</property> | ||
667 | <property name="use_underline">True</property> | ||
668 | </object> | ||
669 | <packing> | ||
670 | <property name="expand">False</property> | ||
671 | <property name="fill">False</property> | ||
672 | <property name="padding">5</property> | ||
673 | <property name="position">0</property> | ||
674 | </packing> | ||
675 | </child> | ||
676 | <child> | ||
677 | <object class="GtkEntry" id="GNUNET_GTK_edit_publication_root_entry"> | ||
678 | <property name="visible">True</property> | ||
679 | <property name="can_focus">True</property> | ||
680 | <property name="invisible_char">•</property> | ||
681 | <property name="text">root</property> | ||
682 | <property name="invisible_char_set">True</property> | ||
683 | <property name="primary_icon_sensitive">True</property> | ||
684 | <property name="secondary_icon_sensitive">True</property> | ||
685 | </object> | ||
686 | <packing> | ||
687 | <property name="expand">False</property> | ||
688 | <property name="fill">False</property> | ||
689 | <property name="position">1</property> | ||
690 | </packing> | ||
691 | </child> | ||
692 | </object> | ||
693 | <packing> | ||
694 | <property name="expand">False</property> | ||
695 | <property name="fill">False</property> | ||
696 | <property name="position">0</property> | ||
697 | </packing> | ||
698 | </child> | ||
699 | <child> | ||
700 | <object class="GtkHBox" id="GNUNET_GTK_edit_publication_index_hbox"> | ||
701 | <property name="visible">True</property> | ||
702 | <child> | ||
703 | <object class="GtkLabel" id="GNUNET_GTK_edit_publication_index_label"> | ||
704 | <property name="visible">True</property> | ||
705 | <property name="xalign">1</property> | ||
706 | <property name="label" translatable="yes">_Index file:</property> | ||
707 | <property name="use_underline">True</property> | ||
708 | <property name="mnemonic_widget">GNUNET_GTK_edit_publication_index_checkbutton</property> | ||
709 | </object> | ||
710 | <packing> | ||
711 | <property name="expand">False</property> | ||
712 | <property name="fill">False</property> | ||
713 | <property name="padding">5</property> | ||
714 | <property name="position">0</property> | ||
715 | </packing> | ||
716 | </child> | ||
717 | <child> | ||
718 | <object class="GtkCheckButton" id="GNUNET_GTK_edit_publication_index_checkbutton"> | ||
719 | <property name="visible">True</property> | ||
720 | <property name="can_focus">True</property> | ||
721 | <property name="receives_default">False</property> | ||
722 | <property name="draw_indicator">True</property> | ||
723 | </object> | ||
724 | <packing> | ||
725 | <property name="expand">False</property> | ||
726 | <property name="fill">False</property> | ||
727 | <property name="position">1</property> | ||
728 | </packing> | ||
729 | </child> | ||
730 | </object> | ||
731 | <packing> | ||
732 | <property name="position">1</property> | ||
733 | </packing> | ||
734 | </child> | ||
735 | <child> | ||
736 | <object class="GtkHBox" id="GNUNET_GTK_edit_publication_anonymity_hbox"> | ||
737 | <property name="visible">True</property> | ||
738 | <child> | ||
739 | <object class="GtkLabel" id="GNUNET_GTK_edit_publication_anonymity_label"> | ||
740 | <property name="visible">True</property> | ||
741 | <property name="xalign">1</property> | ||
742 | <property name="label" translatable="yes">A_nonymity:</property> | ||
743 | <property name="use_underline">True</property> | ||
744 | </object> | ||
745 | <packing> | ||
746 | <property name="expand">False</property> | ||
747 | <property name="fill">False</property> | ||
748 | <property name="padding">5</property> | ||
749 | <property name="position">0</property> | ||
750 | </packing> | ||
751 | </child> | ||
752 | <child> | ||
753 | <object class="GtkAlignment" id="GNUNET_GTK_edit_publication_anonymity_combobox_alignment"> | ||
754 | <property name="visible">True</property> | ||
755 | <property name="yscale">0</property> | ||
756 | <child> | ||
757 | <object class="GtkComboBox" id="GNUNET_GTK_edit_publication_anonymity_combobox"> | ||
758 | <property name="visible">True</property> | ||
759 | <property name="model">main_window_search_anonymity_liststore</property> | ||
760 | <property name="active">1</property> | ||
761 | <child> | ||
762 | <object class="GtkCellRendererText" id="GNUNET_GTK_edit_publication_anonymity_combobox_renderer"/> | ||
763 | <attributes> | ||
764 | <attribute name="foreground">2</attribute> | ||
765 | <attribute name="text">0</attribute> | ||
766 | </attributes> | ||
767 | </child> | ||
768 | <child> | ||
769 | <object class="GtkCellRendererText" id="GNUNET_GTK_edit_publication_anonymity_combobox_renerer_level"/> | ||
770 | <attributes> | ||
771 | <attribute name="text">1</attribute> | ||
772 | </attributes> | ||
773 | </child> | ||
774 | </object> | ||
775 | </child> | ||
776 | </object> | ||
777 | <packing> | ||
778 | <property name="expand">False</property> | ||
779 | <property name="fill">False</property> | ||
780 | <property name="position">1</property> | ||
781 | </packing> | ||
782 | </child> | ||
783 | </object> | ||
784 | <packing> | ||
785 | <property name="expand">False</property> | ||
786 | <property name="fill">False</property> | ||
787 | <property name="position">2</property> | ||
788 | </packing> | ||
789 | </child> | ||
790 | <child> | ||
791 | <object class="GtkHBox" id="GNUNET_GTK_edit_publication_priority_hbox"> | ||
792 | <property name="visible">True</property> | ||
793 | <child> | ||
794 | <object class="GtkLabel" id="GNUNET_GTK_edit_publication_priority_label"> | ||
795 | <property name="visible">True</property> | ||
796 | <property name="xalign">1</property> | ||
797 | <property name="label" translatable="yes">_Priority:</property> | ||
798 | <property name="use_underline">True</property> | ||
799 | </object> | ||
800 | <packing> | ||
801 | <property name="expand">False</property> | ||
802 | <property name="fill">False</property> | ||
803 | <property name="padding">5</property> | ||
804 | <property name="position">0</property> | ||
805 | </packing> | ||
806 | </child> | ||
807 | <child> | ||
808 | <object class="GtkSpinButton" id="GNUNET_GTK_edit_publication_priority_spin_button"> | ||
809 | <property name="visible">True</property> | ||
810 | <property name="can_focus">True</property> | ||
811 | <property name="invisible_char">●</property> | ||
812 | <property name="invisible_char_set">True</property> | ||
813 | <property name="primary_icon_sensitive">True</property> | ||
814 | <property name="secondary_icon_sensitive">True</property> | ||
815 | <property name="adjustment">priority_adjustment</property> | ||
816 | <property name="numeric">True</property> | ||
817 | </object> | ||
818 | <packing> | ||
819 | <property name="expand">False</property> | ||
820 | <property name="fill">False</property> | ||
821 | <property name="position">1</property> | ||
822 | </packing> | ||
823 | </child> | ||
824 | </object> | ||
825 | <packing> | ||
826 | <property name="expand">False</property> | ||
827 | <property name="fill">False</property> | ||
828 | <property name="position">3</property> | ||
829 | </packing> | ||
830 | </child> | ||
831 | <child> | ||
832 | <object class="GtkHBox" id="hbox4"> | ||
833 | <property name="visible">True</property> | ||
834 | <child> | ||
835 | <object class="GtkLabel" id="GNUNET_GTK_edit_publication_expiration_label"> | ||
836 | <property name="visible">True</property> | ||
837 | <property name="xalign">1</property> | ||
838 | <property name="label" translatable="yes">_Expriation year:</property> | ||
839 | <property name="use_underline">True</property> | ||
840 | </object> | ||
841 | <packing> | ||
842 | <property name="expand">False</property> | ||
843 | <property name="fill">False</property> | ||
844 | <property name="padding">5</property> | ||
845 | <property name="position">0</property> | ||
846 | </packing> | ||
847 | </child> | ||
848 | <child> | ||
849 | <object class="GtkSpinButton" id="GNUNET_GTK_edit_publication_expiration_year_spin_button"> | ||
850 | <property name="visible">True</property> | ||
851 | <property name="can_focus">True</property> | ||
852 | <property name="max_length">4</property> | ||
853 | <property name="invisible_char">•</property> | ||
854 | <property name="invisible_char_set">True</property> | ||
855 | <property name="primary_icon_sensitive">True</property> | ||
856 | <property name="secondary_icon_sensitive">True</property> | ||
857 | <property name="adjustment">expiration_year_adjustment</property> | ||
858 | <property name="climb_rate">1</property> | ||
859 | <property name="numeric">True</property> | ||
860 | </object> | ||
861 | <packing> | ||
862 | <property name="expand">False</property> | ||
863 | <property name="fill">False</property> | ||
864 | <property name="position">1</property> | ||
865 | </packing> | ||
866 | </child> | ||
867 | </object> | ||
868 | <packing> | ||
869 | <property name="expand">False</property> | ||
870 | <property name="fill">False</property> | ||
871 | <property name="position">4</property> | ||
872 | </packing> | ||
873 | </child> | ||
874 | <child> | ||
875 | <object class="GtkHBox" id="hbox9"> | ||
876 | <property name="visible">True</property> | ||
877 | <child> | ||
878 | <object class="GtkLabel" id="GNUNET_GTK_edit_publication_replication_label"> | ||
879 | <property name="visible">True</property> | ||
880 | <property name="label" translatable="yes">_Replication:</property> | ||
881 | <property name="use_underline">True</property> | ||
882 | </object> | ||
883 | <packing> | ||
884 | <property name="position">0</property> | ||
885 | </packing> | ||
886 | </child> | ||
887 | <child> | ||
888 | <object class="GtkSpinButton" id="GNUNET_GTK_edit_publication_replication_spin_button"> | ||
889 | <property name="visible">True</property> | ||
890 | <property name="can_focus">True</property> | ||
891 | <property name="invisible_char">●</property> | ||
892 | <property name="adjustment">replication_adjustment</property> | ||
893 | </object> | ||
894 | <packing> | ||
895 | <property name="position">1</property> | ||
896 | </packing> | ||
897 | </child> | ||
898 | </object> | ||
899 | <packing> | ||
900 | <property name="position">5</property> | ||
901 | </packing> | ||
902 | </child> | ||
903 | </object> | ||
904 | </child> | ||
905 | </object> | ||
906 | </child> | ||
907 | <child type="label"> | ||
908 | <object class="GtkLabel" id="label2"> | ||
909 | <property name="visible">True</property> | ||
910 | <property name="label" translatable="yes">Publication options:</property> | ||
911 | <property name="use_markup">True</property> | ||
912 | </object> | ||
913 | </child> | ||
914 | </object> | ||
915 | <packing> | ||
916 | <property name="expand">False</property> | ||
917 | <property name="fill">False</property> | ||
918 | <property name="position">1</property> | ||
919 | </packing> | ||
920 | </child> | 109 | </child> |
921 | </object> | 110 | </object> |
922 | <packing> | 111 | <packing> |
923 | <property name="resize">True</property> | 112 | <property name="expand">True</property> |
924 | <property name="shrink">False</property> | 113 | <property name="fill">True</property> |
114 | <property name="position">1</property> | ||
925 | </packing> | 115 | </packing> |
926 | </child> | 116 | </child> |
927 | </object> | 117 | </object> |
928 | <packing> | 118 | <packing> |
119 | <property name="expand">True</property> | ||
120 | <property name="fill">True</property> | ||
121 | <property name="padding">5</property> | ||
929 | <property name="position">0</property> | 122 | <property name="position">0</property> |
930 | </packing> | 123 | </packing> |
931 | </child> | 124 | </child> |
932 | <child> | 125 | <child> |
933 | <object class="GtkHBox" id="GNUNET_GTK_edit_publication_buttons_hbox"> | 126 | <object class="GtkHBox" id="hbox1"> |
934 | <property name="visible">True</property> | 127 | <property name="visible">True</property> |
128 | <property name="can_focus">False</property> | ||
935 | <child> | 129 | <child> |
936 | <object class="GtkButton" id="GNUNET_GTK_edit_publication_cancel_button"> | 130 | <object class="GtkButton" id="GNUNET_GTK_open_url_dialog_execute_button"> |
937 | <property name="label">gtk-cancel</property> | 131 | <property name="label">_Execute</property> |
132 | <property name="use_action_appearance">False</property> | ||
938 | <property name="visible">True</property> | 133 | <property name="visible">True</property> |
134 | <property name="sensitive">False</property> | ||
939 | <property name="can_focus">True</property> | 135 | <property name="can_focus">True</property> |
940 | <property name="receives_default">True</property> | 136 | <property name="receives_default">True</property> |
941 | <property name="use_stock">True</property> | 137 | <property name="image">execute_stock_image</property> |
942 | <signal name="clicked" handler="GNUNET_GTK_edit_publication_cancel_button_clicked_cb"/> | 138 | <property name="use_underline">True</property> |
139 | <signal name="clicked" handler="GNUNET_GTK_open_url_dialog_execute_button_clicked_cb" swapped="no"/> | ||
943 | </object> | 140 | </object> |
944 | <packing> | 141 | <packing> |
945 | <property name="expand">False</property> | 142 | <property name="expand">False</property> |
946 | <property name="fill">False</property> | 143 | <property name="fill">False</property> |
947 | <property name="padding">4</property> | 144 | <property name="padding">4</property> |
948 | <property name="pack_type">end</property> | 145 | <property name="pack_type">end</property> |
949 | <property name="position">1</property> | 146 | <property name="position">0</property> |
950 | </packing> | 147 | </packing> |
951 | </child> | 148 | </child> |
952 | <child> | 149 | <child> |
953 | <object class="GtkButton" id="GNUNET_GTK_edit_publication_confirm_button"> | 150 | <object class="GtkButton" id="GNUNET_GTK_open_url_dialog_cancel_button"> |
954 | <property name="label">gtk-ok</property> | 151 | <property name="label">gtk-cancel</property> |
152 | <property name="use_action_appearance">False</property> | ||
955 | <property name="visible">True</property> | 153 | <property name="visible">True</property> |
956 | <property name="sensitive">False</property> | ||
957 | <property name="can_focus">True</property> | 154 | <property name="can_focus">True</property> |
958 | <property name="can_default">True</property> | ||
959 | <property name="has_default">True</property> | ||
960 | <property name="receives_default">True</property> | 155 | <property name="receives_default">True</property> |
961 | <property name="use_stock">True</property> | 156 | <property name="use_stock">True</property> |
962 | <signal name="clicked" handler="GNUNET_GTK_edit_publication_confirm_button_clicked_cb"/> | 157 | <signal name="clicked" handler="GNUNET_GTK_open_url_dialog_cancel_button_clicked_cb" swapped="no"/> |
963 | </object> | 158 | </object> |
964 | <packing> | 159 | <packing> |
965 | <property name="expand">False</property> | 160 | <property name="expand">False</property> |
966 | <property name="fill">False</property> | 161 | <property name="fill">False</property> |
967 | <property name="padding">4</property> | 162 | <property name="padding">4</property> |
968 | <property name="pack_type">end</property> | 163 | <property name="pack_type">end</property> |
969 | <property name="position">0</property> | 164 | <property name="position">1</property> |
970 | </packing> | 165 | </packing> |
971 | </child> | 166 | </child> |
972 | </object> | 167 | </object> |
973 | <packing> | 168 | <packing> |
974 | <property name="expand">False</property> | 169 | <property name="expand">False</property> |
975 | <property name="fill">False</property> | 170 | <property name="fill">False</property> |
976 | <property name="padding">1</property> | 171 | <property name="padding">4</property> |
977 | <property name="pack_type">end</property> | 172 | <property name="pack_type">end</property> |
978 | <property name="position">1</property> | 173 | <property name="position">1</property> |
979 | </packing> | 174 | </packing> |
980 | </child> | 175 | </child> |
981 | </object> | ||
982 | </child> | ||
983 | </object> | ||
984 | <object class="GtkWindow" id="GNUNET_GTK_main_window"> | ||
985 | <property name="title" translatable="yes">gnunet-fs-gtk</property> | ||
986 | <property name="window_position">center</property> | ||
987 | <property name="default_width">700</property> | ||
988 | <property name="default_height">500</property> | ||
989 | <property name="icon_name">gnunet-gtk</property> | ||
990 | <signal name="realize" handler="GNUNET_GTK_main_window_realize_cb"/> | ||
991 | <signal name="delete_event" handler="GNUNET_GTK_quit_cb" after="yes"/> | ||
992 | <child> | ||
993 | <object class="GtkVBox" id="GNUNET_GTK_main_window_vbox"> | ||
994 | <property name="visible">True</property> | ||
995 | <child> | 176 | <child> |
996 | <object class="GtkMenuBar" id="GNUNET_GTK_main_menu"> | 177 | <object class="GtkHBox" id="hbox8"> |
997 | <property name="visible">True</property> | 178 | <property name="visible">True</property> |
179 | <property name="can_focus">False</property> | ||
998 | <child> | 180 | <child> |
999 | <object class="GtkMenuItem" id="GNUNET_GTK_main_menu_file_sharing"> | 181 | <object class="GtkAlignment" id="GNUNET_GTK_open_url_dialog_anonymity_combobox_alignment"> |
1000 | <property name="visible">True</property> | ||
1001 | <property name="label" translatable="yes">_File sharing</property> | ||
1002 | <property name="use_underline">True</property> | ||
1003 | <child type="submenu"> | ||
1004 | <object class="GtkMenu" id="GNUNET_GTK_main_menu_file_sharing_box"> | ||
1005 | <child> | ||
1006 | <object class="GtkImageMenuItem" id="GNUNET_GTK_main_menu_file_create_pseudonym"> | ||
1007 | <property name="label" translatable="yes">_Create pseudonym</property> | ||
1008 | <property name="visible">True</property> | ||
1009 | <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> | ||
1010 | <property name="accel_path"><gnunet-fs-gtk>/File sharing/Create pseudonym</property> | ||
1011 | <property name="use_underline">True</property> | ||
1012 | <property name="image">new_stock_imag</property> | ||
1013 | <property name="use_stock">False</property> | ||
1014 | <accelerator key="n" signal="activate" modifiers="GDK_CONTROL_MASK"/> | ||
1015 | <signal name="activate" handler="GNUNET_GTK_main_menu_create_pseudonym_activate_cb"/> | ||
1016 | </object> | ||
1017 | </child> | ||
1018 | <child> | ||
1019 | <object class="GtkImageMenuItem" id="GNUNET_GTK_main_menu_file_advertise_pseudonym"> | ||
1020 | <property name="label" translatable="yes">_Advertise Pseudonym</property> | ||
1021 | <property name="visible">True</property> | ||
1022 | <property name="use_underline">True</property> | ||
1023 | <property name="image">index_stock_image</property> | ||
1024 | <property name="use_stock">False</property> | ||
1025 | <signal name="activate" handler="GNUNET_GTK_main_menu_file_advertise_pseudonym_activate_cb"/> | ||
1026 | </object> | ||
1027 | </child> | ||
1028 | <child> | ||
1029 | <object class="GtkImageMenuItem" id="GNUNET_GTK_main_menu_file_publish"> | ||
1030 | <property name="label" translatable="yes">_Publish</property> | ||
1031 | <property name="visible">True</property> | ||
1032 | <property name="tooltip_text" translatable="yes">Publish files or directories on GNUnet</property> | ||
1033 | <property name="accel_path"><gnunet-fs-gtk>/File sharing/Publish</property> | ||
1034 | <property name="use_underline">True</property> | ||
1035 | <property name="image">up_stock_image</property> | ||
1036 | <property name="use_stock">False</property> | ||
1037 | <accelerator key="a" signal="activate" modifiers="GDK_CONTROL_MASK"/> | ||
1038 | <signal name="activate" handler="GNUNET_GTK_main_menu_file_publish_activate_cb"/> | ||
1039 | </object> | ||
1040 | </child> | ||
1041 | <child> | ||
1042 | <object class="GtkSeparatorMenuItem" id="GNUNET_GTK_main_menu_file_sep1"/> | ||
1043 | </child> | ||
1044 | <child> | ||
1045 | <object class="GtkImageMenuItem" id="GNUNET_GTK_main_menu_file_download_uri"> | ||
1046 | <property name="label" translatable="yes">_Download</property> | ||
1047 | <property name="visible">True</property> | ||
1048 | <property name="tooltip_text" translatable="yes">Download a file or directory with a known URI.</property> | ||
1049 | <property name="accel_path"><gnunet-fs-gtk>/File sharing/Download</property> | ||
1050 | <property name="use_underline">True</property> | ||
1051 | <property name="image">down_stock_image</property> | ||
1052 | <property name="use_stock">False</property> | ||
1053 | <accelerator key="d" signal="activate" modifiers="GDK_CONTROL_MASK"/> | ||
1054 | <signal name="activate" handler="GNUNET_GTK_main_menu_file_download_uri_activate_cb"/> | ||
1055 | </object> | ||
1056 | </child> | ||
1057 | <child> | ||
1058 | <object class="GtkImageMenuItem" id="GNUNET_GTK_main_menu_file_open_gnunet_directory"> | ||
1059 | <property name="label" translatable="yes">_Open GNUnet directory</property> | ||
1060 | <property name="visible">True</property> | ||
1061 | <property name="tooltip_text" translatable="yes">Use this option to browse a GNUnet directory file that has been previously downloaded.</property> | ||
1062 | <property name="accel_path"><gnunet-fs-gtk>/File sharing/Open directory</property> | ||
1063 | <property name="use_underline">True</property> | ||
1064 | <property name="image">open_stock_image</property> | ||
1065 | <property name="use_stock">False</property> | ||
1066 | <accelerator key="F3" signal="activate"/> | ||
1067 | <signal name="activate" handler="GNUNET_GTK_main_menu_file_open_gnunet_directory_activate_cb"/> | ||
1068 | </object> | ||
1069 | </child> | ||
1070 | <child> | ||
1071 | <object class="GtkSeparatorMenuItem" id="GNUNET_GTK_main_menu_file_sep2"> | ||
1072 | <property name="visible">True</property> | ||
1073 | </object> | ||
1074 | </child> | ||
1075 | <child> | ||
1076 | <object class="GtkImageMenuItem" id="GNUNET_GTK_main_menu_file_quit"> | ||
1077 | <property name="label">gtk-quit</property> | ||
1078 | <property name="visible">True</property> | ||
1079 | <property name="tooltip_text" translatable="yes">Exit gnunet-fs-gtk. Active file-sharing operations will resume upon restart.</property> | ||
1080 | <property name="accel_path"><gnunet-fs-gtk>/Quit</property> | ||
1081 | <property name="use_underline">True</property> | ||
1082 | <property name="use_stock">True</property> | ||
1083 | <accelerator key="q" signal="activate" modifiers="GDK_CONTROL_MASK"/> | ||
1084 | <signal name="activate" handler="GNUNET_GTK_quit_cb"/> | ||
1085 | </object> | ||
1086 | </child> | ||
1087 | </object> | ||
1088 | </child> | ||
1089 | </object> | ||
1090 | </child> | ||
1091 | <child> | ||
1092 | <object class="GtkMenuItem" id="GNUNET_GTK_main_menu_edit"> | ||
1093 | <property name="label" translatable="yes">_Edit</property> | ||
1094 | <property name="use_underline">True</property> | ||
1095 | <child type="submenu"> | ||
1096 | <object class="GtkMenu" id="GNUNET_GTK_main_menu_edit_box"> | ||
1097 | <property name="visible">True</property> | ||
1098 | <child> | ||
1099 | <object class="GtkImageMenuItem" id="GNUNET_GTK_main_menu_edit_preferences"> | ||
1100 | <property name="label">gtk-preferences</property> | ||
1101 | <property name="visible">True</property> | ||
1102 | <property name="tooltip_text" translatable="yes">Edit the system configuration.</property> | ||
1103 | <property name="accel_path"><gnunet-fs-gtk>/Edit/Preferences</property> | ||
1104 | <property name="use_underline">True</property> | ||
1105 | <property name="use_stock">True</property> | ||
1106 | </object> | ||
1107 | </child> | ||
1108 | </object> | ||
1109 | </child> | ||
1110 | </object> | ||
1111 | </child> | ||
1112 | <child> | ||
1113 | <object class="GtkMenuItem" id="GNUNET_GTK_main_menu_view"> | ||
1114 | <property name="visible">True</property> | 182 | <property name="visible">True</property> |
1115 | <property name="label" translatable="yes">_View</property> | 183 | <property name="can_focus">False</property> |
1116 | <property name="use_underline">True</property> | 184 | <property name="yscale">0</property> |
1117 | <child type="submenu"> | 185 | <child> |
1118 | <object class="GtkMenu" id="GNUNET_GTK_main_menu_view_box"> | 186 | <object class="GtkComboBox" id="GNUNET_GTK_open_url_dialog_anonymity_combobox"> |
1119 | <property name="visible">True</property> | 187 | <property name="visible">True</property> |
188 | <property name="can_focus">False</property> | ||
189 | <property name="model">main_window_search_anonymity_liststore</property> | ||
190 | <property name="active">1</property> | ||
1120 | <child> | 191 | <child> |
1121 | <object class="GtkCheckMenuItem" id="GNUNET_GTK_main_menu_view_metadata"> | 192 | <object class="GtkCellRendererText" id="GNUNET_GTK_open_url_dialog_anonymity_combobox_renderer"/> |
1122 | <property name="visible">True</property> | 193 | <attributes> |
1123 | <property name="tooltip_text" translatable="yes">Show meta data in main window</property> | 194 | <attribute name="foreground">2</attribute> |
1124 | <property name="label" translatable="yes">Metadata</property> | 195 | <attribute name="text">0</attribute> |
1125 | <property name="use_underline">True</property> | 196 | </attributes> |
1126 | <property name="active">True</property> | ||
1127 | <signal name="toggled" handler="GNUNET_GTK_main_menu_view_metadata_toggled_cb"/> | ||
1128 | </object> | ||
1129 | </child> | ||
1130 | <child> | ||
1131 | <object class="GtkCheckMenuItem" id="GNUNET_GTK_main_menu_view_preview"> | ||
1132 | <property name="visible">True</property> | ||
1133 | <property name="tooltip_text" translatable="yes">Show preview (when available)</property> | ||
1134 | <property name="label" translatable="yes">Preview</property> | ||
1135 | <property name="use_underline">True</property> | ||
1136 | <property name="active">True</property> | ||
1137 | <signal name="toggled" handler="GNUNET_GTK_main_menu_view_preview_toggled_cb"/> | ||
1138 | </object> | ||
1139 | </child> | 197 | </child> |
1140 | <child> | 198 | <child> |
1141 | <object class="GtkCheckMenuItem" id="GNUNET_GTK_main_menu_search_preview"> | 199 | <object class="GtkCellRendererText" id="GNUNET_GTK_open_url_dialog_anonymity_combobox_renerer_level"/> |
1142 | <property name="visible">True</property> | 200 | <attributes> |
1143 | <property name="tooltip_text" translatable="yes">Show search box in main window</property> | 201 | <attribute name="text">1</attribute> |
1144 | <property name="label" translatable="yes">Search</property> | 202 | </attributes> |
1145 | <property name="use_underline">True</property> | ||
1146 | <property name="active">True</property> | ||
1147 | <signal name="toggled" handler="GNUNET_GTK_main_menu_view_search_toggled_cb"/> | ||
1148 | </object> | ||
1149 | </child> | 203 | </child> |
1150 | </object> | 204 | </object> |
1151 | </child> | 205 | </child> |
1152 | </object> | 206 | </object> |
207 | <packing> | ||
208 | <property name="expand">False</property> | ||
209 | <property name="fill">False</property> | ||
210 | <property name="pack_type">end</property> | ||
211 | <property name="position">0</property> | ||
212 | </packing> | ||
1153 | </child> | 213 | </child> |
1154 | <child> | 214 | <child> |
1155 | <object class="GtkMenuItem" id="GNUNET_GTK_main_menu_help"> | 215 | <object class="GtkLabel" id="GNUNET_GTK_open_url_dialog_anonymity_label"> |
1156 | <property name="visible">True</property> | 216 | <property name="visible">True</property> |
1157 | <property name="label" translatable="yes">_Help</property> | 217 | <property name="can_focus">False</property> |
218 | <property name="label" translatable="yes">_Anonymity:</property> | ||
1158 | <property name="use_underline">True</property> | 219 | <property name="use_underline">True</property> |
1159 | <child type="submenu"> | 220 | <property name="mnemonic_widget">GNUNET_GTK_open_url_dialog_anonymity_combobox</property> |
1160 | <object class="GtkMenu" id="GNUNET_GTK_main_menu_help_abou"> | ||
1161 | <property name="visible">True</property> | ||
1162 | <child> | ||
1163 | <object class="GtkImageMenuItem" id="GNUNET_GTK_main_menu_help_about"> | ||
1164 | <property name="label">gtk-about</property> | ||
1165 | <property name="visible">True</property> | ||
1166 | <property name="tooltip_text" translatable="yes">Display information about this version of gnunet-fs-gtk</property> | ||
1167 | <property name="accel_path"><gnunet-fs-gtk>/Help/About</property> | ||
1168 | <property name="use_underline">True</property> | ||
1169 | <property name="use_stock">True</property> | ||
1170 | <signal name="activate" handler="GNUNET_GTK_main_menu_help_about_activate_cb"/> | ||
1171 | </object> | ||
1172 | </child> | ||
1173 | </object> | ||
1174 | </child> | ||
1175 | </object> | 221 | </object> |
222 | <packing> | ||
223 | <property name="expand">False</property> | ||
224 | <property name="fill">False</property> | ||
225 | <property name="padding">4</property> | ||
226 | <property name="pack_type">end</property> | ||
227 | <property name="position">1</property> | ||
228 | </packing> | ||
1176 | </child> | 229 | </child> |
1177 | </object> | 230 | </object> |
1178 | <packing> | 231 | <packing> |
1179 | <property name="expand">False</property> | 232 | <property name="expand">False</property> |
1180 | <property name="position">1</property> | 233 | <property name="fill">False</property> |
234 | <property name="position">2</property> | ||
1181 | </packing> | 235 | </packing> |
1182 | </child> | 236 | </child> |
1183 | <child> | 237 | </object> |
1184 | <object class="GtkHBox" id="main_window_search_hbox"> | 238 | </child> |
239 | </object> | ||
240 | <object class="GtkListStore" id="GNUNET_GTK_peer_info_list_store"> | ||
241 | <columns> | ||
242 | <!-- column-name peer_identity --> | ||
243 | <column type="gchararray"/> | ||
244 | <!-- column-name number_of_known_addresses --> | ||
245 | <column type="guint"/> | ||
246 | <!-- column-name country_name --> | ||
247 | <column type="gchararray"/> | ||
248 | <!-- column-name country_flag --> | ||
249 | <column type="GdkPixbuf"/> | ||
250 | <!-- column-name bandwidth --> | ||
251 | <column type="guint64"/> | ||
252 | </columns> | ||
253 | </object> | ||
254 | <object class="GtkTreeStore" id="GNUNET_GTK_pseudonym_tree_store"> | ||
255 | <columns> | ||
256 | <!-- column-name local_name --> | ||
257 | <column type="gchararray"/> | ||
258 | <!-- column-name namespace_handle --> | ||
259 | <column type="gpointer"/> | ||
260 | <!-- column-name last_id --> | ||
261 | <column type="gchararray"/> | ||
262 | <!-- column-name last_uri --> | ||
263 | <column type="gchararray"/> | ||
264 | <!-- column-name last_meta --> | ||
265 | <column type="gpointer"/> | ||
266 | <!-- column-name next_id --> | ||
267 | <column type="gchararray"/> | ||
268 | <!-- column-name last_description_from_meta --> | ||
269 | <column type="gchararray"/> | ||
270 | <!-- column-name next_id_editable --> | ||
271 | <column type="gboolean"/> | ||
272 | <!-- column-name current_id_editable --> | ||
273 | <column type="gboolean"/> | ||
274 | </columns> | ||
275 | </object> | ||
276 | <object class="GtkFileChooserDialog" id="GNUNET_GTK_publish_directory_dialog"> | ||
277 | <property name="can_focus">False</property> | ||
278 | <property name="can_default">True</property> | ||
279 | <property name="events">GDK_FOCUS_CHANGE_MASK | GDK_STRUCTURE_MASK</property> | ||
280 | <property name="border_width">5</property> | ||
281 | <property name="modal">True</property> | ||
282 | <property name="destroy_with_parent">True</property> | ||
283 | <property name="type_hint">dialog</property> | ||
284 | <property name="skip_taskbar_hint">True</property> | ||
285 | <property name="skip_pager_hint">True</property> | ||
286 | <property name="transient_for">GNUNET_GTK_main_window</property> | ||
287 | <property name="action">select-folder</property> | ||
288 | <property name="create_folders">False</property> | ||
289 | <property name="select_multiple">True</property> | ||
290 | <signal name="response" handler="GNUNET_GTK_publish_directory_dialog_response_cb" swapped="no"/> | ||
291 | <child internal-child="vbox"> | ||
292 | <object class="GtkVBox" id="dialog-vbox1"> | ||
293 | <property name="visible">True</property> | ||
294 | <property name="can_focus">False</property> | ||
295 | <property name="spacing">2</property> | ||
296 | <child internal-child="action_area"> | ||
297 | <object class="GtkHButtonBox" id="dialog-action_area6"> | ||
1185 | <property name="visible">True</property> | 298 | <property name="visible">True</property> |
1186 | <property name="border_width">3</property> | 299 | <property name="can_focus">False</property> |
1187 | <property name="spacing">4</property> | 300 | <property name="layout_style">end</property> |
1188 | <child> | 301 | <child> |
1189 | <object class="GtkLabel" id="main_window_search_namespace_label"> | 302 | <object class="GtkButton" id="GNUNET_GTK_publish_dialog_cancel_button"> |
303 | <property name="label">gtk-cancel</property> | ||
304 | <property name="use_action_appearance">False</property> | ||
1190 | <property name="visible">True</property> | 305 | <property name="visible">True</property> |
1191 | <property name="label" translatable="yes">Namespace:</property> | 306 | <property name="can_focus">True</property> |
307 | <property name="receives_default">True</property> | ||
308 | <property name="use_stock">True</property> | ||
1192 | </object> | 309 | </object> |
1193 | <packing> | 310 | <packing> |
1194 | <property name="expand">False</property> | 311 | <property name="expand">False</property> |
@@ -1197,10 +314,14 @@ | |||
1197 | </packing> | 314 | </packing> |
1198 | </child> | 315 | </child> |
1199 | <child> | 316 | <child> |
1200 | <object class="GtkLabel" id="main_window_search_selected_namespace_label"> | 317 | <object class="GtkButton" id="GNUNET_GTK_publish_directory_dialog_ok_button"> |
318 | <property name="label">gtk-ok</property> | ||
319 | <property name="use_action_appearance">False</property> | ||
1201 | <property name="visible">True</property> | 320 | <property name="visible">True</property> |
1202 | <property name="label"><none></property> | 321 | <property name="can_focus">True</property> |
1203 | <property name="single_line_mode">True</property> | 322 | <property name="can_default">True</property> |
323 | <property name="receives_default">True</property> | ||
324 | <property name="use_stock">True</property> | ||
1204 | </object> | 325 | </object> |
1205 | <packing> | 326 | <packing> |
1206 | <property name="expand">False</property> | 327 | <property name="expand">False</property> |
@@ -1208,326 +329,550 @@ | |||
1208 | <property name="position">1</property> | 329 | <property name="position">1</property> |
1209 | </packing> | 330 | </packing> |
1210 | </child> | 331 | </child> |
332 | </object> | ||
333 | <packing> | ||
334 | <property name="expand">False</property> | ||
335 | <property name="fill">True</property> | ||
336 | <property name="pack_type">end</property> | ||
337 | <property name="position">0</property> | ||
338 | </packing> | ||
339 | </child> | ||
340 | <child> | ||
341 | <object class="GtkVBox" id="vbox3"> | ||
342 | <property name="visible">True</property> | ||
343 | <property name="can_focus">False</property> | ||
1211 | <child> | 344 | <child> |
1212 | <object class="GtkAlignment" id="main_window_search_namespace_combobox_alignment"> | 345 | <object class="GtkHBox" id="hbox6"> |
1213 | <property name="visible">True</property> | 346 | <property name="visible">True</property> |
1214 | <property name="xscale">0</property> | 347 | <property name="can_focus">False</property> |
1215 | <property name="yscale">0</property> | ||
1216 | <child> | 348 | <child> |
1217 | <object class="GtkToggleButton" id="main_window_search_namespace_dropdown_button"> | 349 | <object class="GtkCheckButton" id="GNUNET_GTK_publish_directory_dialog_do_index_checkbutton"> |
1218 | <property name="width_request">21</property> | 350 | <property name="label" translatable="yes">Index files</property> |
1219 | <property name="height_request">21</property> | 351 | <property name="use_action_appearance">False</property> |
1220 | <property name="visible">True</property> | 352 | <property name="visible">True</property> |
1221 | <property name="can_focus">True</property> | 353 | <property name="can_focus">True</property> |
1222 | <property name="receives_default">True</property> | 354 | <property name="receives_default">False</property> |
1223 | <property name="events">GDK_ENTER_NOTIFY_MASK | GDK_LEAVE_NOTIFY_MASK | GDK_STRUCTURE_MASK</property> | 355 | <property name="use_underline">True</property> |
1224 | <property name="image_position">right</property> | 356 | <property name="active">True</property> |
1225 | <signal name="leave_notify_event" handler="namespace_selector_window_leave_notify_event_cb"/> | 357 | <property name="draw_indicator">True</property> |
1226 | <signal name="toggled" handler="main_window_search_namespace_dropdown_button_toggled_cb"/> | ||
1227 | <signal name="enter_notify_event" handler="main_window_search_namespace_dropdown_button_enter_notify_event_cb"/> | ||
1228 | <child> | ||
1229 | <object class="GtkArrow" id="arrow1"> | ||
1230 | <property name="visible">True</property> | ||
1231 | <property name="arrow_type">down</property> | ||
1232 | </object> | ||
1233 | </child> | ||
1234 | </object> | 358 | </object> |
359 | <packing> | ||
360 | <property name="expand">False</property> | ||
361 | <property name="fill">False</property> | ||
362 | <property name="padding">20</property> | ||
363 | <property name="position">0</property> | ||
364 | </packing> | ||
1235 | </child> | 365 | </child> |
1236 | </object> | ||
1237 | <packing> | ||
1238 | <property name="expand">False</property> | ||
1239 | <property name="fill">False</property> | ||
1240 | <property name="position">2</property> | ||
1241 | </packing> | ||
1242 | </child> | ||
1243 | <child> | ||
1244 | <placeholder/> | ||
1245 | </child> | ||
1246 | <child> | ||
1247 | <object class="GtkAlignment" id="main_window_search_button_alignment"> | ||
1248 | <property name="visible">True</property> | ||
1249 | <property name="yscale">0</property> | ||
1250 | <child> | 366 | <child> |
1251 | <object class="GtkButton" id="main_window_search_button"> | 367 | <placeholder/> |
1252 | <property name="label" translatable="yes">Find:</property> | 368 | </child> |
369 | <child> | ||
370 | <object class="GtkLabel" id="GNUNET_GTK_publish_directory_dialog_priority_label"> | ||
371 | <property name="visible">True</property> | ||
372 | <property name="can_focus">False</property> | ||
373 | <property name="label" translatable="yes">Priority:</property> | ||
374 | </object> | ||
375 | <packing> | ||
376 | <property name="expand">False</property> | ||
377 | <property name="fill">True</property> | ||
378 | <property name="padding">13</property> | ||
379 | <property name="position">2</property> | ||
380 | </packing> | ||
381 | </child> | ||
382 | <child> | ||
383 | <object class="GtkSpinButton" id="GNUNET_GTK_publish_directory_dialog_priority_spin_button"> | ||
1253 | <property name="visible">True</property> | 384 | <property name="visible">True</property> |
1254 | <property name="can_focus">True</property> | 385 | <property name="can_focus">True</property> |
1255 | <property name="receives_default">True</property> | 386 | <property name="invisible_char">•</property> |
1256 | <property name="image">find_stock_image</property> | 387 | <property name="invisible_char_set">True</property> |
1257 | <signal name="clicked" handler="main_window_search_button_clicked_cb"/> | 388 | <property name="primary_icon_activatable">False</property> |
389 | <property name="secondary_icon_activatable">False</property> | ||
390 | <property name="primary_icon_sensitive">True</property> | ||
391 | <property name="secondary_icon_sensitive">True</property> | ||
392 | <property name="adjustment">priority_adjustment</property> | ||
393 | <property name="numeric">True</property> | ||
1258 | </object> | 394 | </object> |
395 | <packing> | ||
396 | <property name="expand">False</property> | ||
397 | <property name="fill">True</property> | ||
398 | <property name="padding">20</property> | ||
399 | <property name="position">3</property> | ||
400 | </packing> | ||
1259 | </child> | 401 | </child> |
1260 | </object> | 402 | </object> |
1261 | <packing> | 403 | <packing> |
1262 | <property name="expand">False</property> | 404 | <property name="expand">False</property> |
1263 | <property name="fill">False</property> | 405 | <property name="fill">False</property> |
1264 | <property name="position">4</property> | 406 | <property name="position">0</property> |
1265 | </packing> | ||
1266 | </child> | ||
1267 | <child> | ||
1268 | <object class="GtkEntry" id="main_window_search_entry"> | ||
1269 | <property name="visible">True</property> | ||
1270 | <property name="can_focus">True</property> | ||
1271 | <property name="has_focus">True</property> | ||
1272 | <property name="invisible_char">●</property> | ||
1273 | <property name="invisible_char_set">True</property> | ||
1274 | <property name="primary_icon_sensitive">True</property> | ||
1275 | <property name="secondary_icon_sensitive">True</property> | ||
1276 | <signal name="key_press_event" handler="main_window_search_entry_key_press_event_cb"/> | ||
1277 | </object> | ||
1278 | <packing> | ||
1279 | <property name="position">5</property> | ||
1280 | </packing> | 407 | </packing> |
1281 | </child> | 408 | </child> |
1282 | <child> | 409 | <child> |
1283 | <object class="GtkLabel" id="main_window_search_anonymity_label"> | 410 | <object class="GtkHBox" id="hbox7"> |
1284 | <property name="visible">True</property> | 411 | <property name="visible">True</property> |
1285 | <property name="label" translatable="yes">Anonymity:</property> | 412 | <property name="can_focus">False</property> |
413 | <child> | ||
414 | <object class="GtkLabel" id="GNUNET_GTK_publish_directory_dialog_expiration_label"> | ||
415 | <property name="visible">True</property> | ||
416 | <property name="can_focus">False</property> | ||
417 | <property name="label" translatable="yes">Expiration year:</property> | ||
418 | </object> | ||
419 | <packing> | ||
420 | <property name="expand">False</property> | ||
421 | <property name="fill">False</property> | ||
422 | <property name="padding">20</property> | ||
423 | <property name="position">0</property> | ||
424 | </packing> | ||
425 | </child> | ||
426 | <child> | ||
427 | <object class="GtkSpinButton" id="GNUNET_GTK_publish_directory_dialog_expiration_year_spin_button"> | ||
428 | <property name="visible">True</property> | ||
429 | <property name="can_focus">True</property> | ||
430 | <property name="invisible_char">•</property> | ||
431 | <property name="invisible_char_set">True</property> | ||
432 | <property name="primary_icon_activatable">False</property> | ||
433 | <property name="secondary_icon_activatable">False</property> | ||
434 | <property name="primary_icon_sensitive">True</property> | ||
435 | <property name="secondary_icon_sensitive">True</property> | ||
436 | <property name="adjustment">expiration_year_adjustment</property> | ||
437 | </object> | ||
438 | <packing> | ||
439 | <property name="expand">False</property> | ||
440 | <property name="fill">False</property> | ||
441 | <property name="position">1</property> | ||
442 | </packing> | ||
443 | </child> | ||
444 | <child> | ||
445 | <object class="GtkLabel" id="GNUNET_GTK_publish_directory_dialog_anonymity_label"> | ||
446 | <property name="visible">True</property> | ||
447 | <property name="can_focus">False</property> | ||
448 | <property name="label" translatable="yes">Anonymity:</property> | ||
449 | </object> | ||
450 | <packing> | ||
451 | <property name="expand">False</property> | ||
452 | <property name="fill">True</property> | ||
453 | <property name="padding">5</property> | ||
454 | <property name="position">2</property> | ||
455 | </packing> | ||
456 | </child> | ||
457 | <child> | ||
458 | <object class="GtkAlignment" id="GNUNET_GTK_publish_directory_dialog_anonymity_combobox_alignment"> | ||
459 | <property name="visible">True</property> | ||
460 | <property name="can_focus">False</property> | ||
461 | <property name="yscale">0</property> | ||
462 | <child> | ||
463 | <object class="GtkComboBox" id="GNUNET_GTK_publish_directory_dialog_anonymity_combobox"> | ||
464 | <property name="visible">True</property> | ||
465 | <property name="can_focus">False</property> | ||
466 | <property name="model">main_window_search_anonymity_liststore</property> | ||
467 | <property name="active">1</property> | ||
468 | <child> | ||
469 | <object class="GtkCellRendererText" id="GNUNET_GTK_publish_directory_dialog_anonymity_combobox_renderer"/> | ||
470 | <attributes> | ||
471 | <attribute name="foreground">2</attribute> | ||
472 | <attribute name="text">0</attribute> | ||
473 | </attributes> | ||
474 | </child> | ||
475 | <child> | ||
476 | <object class="GtkCellRendererText" id="GNUNET_GTK_publish_directory_dialog_anonymity_combobox_renerer_level"/> | ||
477 | <attributes> | ||
478 | <attribute name="text">1</attribute> | ||
479 | </attributes> | ||
480 | </child> | ||
481 | </object> | ||
482 | </child> | ||
483 | </object> | ||
484 | <packing> | ||
485 | <property name="expand">False</property> | ||
486 | <property name="fill">False</property> | ||
487 | <property name="position">3</property> | ||
488 | </packing> | ||
489 | </child> | ||
1286 | </object> | 490 | </object> |
1287 | <packing> | 491 | <packing> |
1288 | <property name="expand">False</property> | 492 | <property name="expand">False</property> |
1289 | <property name="fill">False</property> | 493 | <property name="fill">False</property> |
1290 | <property name="position">6</property> | 494 | <property name="position">1</property> |
1291 | </packing> | 495 | </packing> |
1292 | </child> | 496 | </child> |
1293 | <child> | 497 | <child> |
1294 | <object class="GtkAlignment" id="main_window_search_anonymity_combobox_alignment"> | 498 | <object class="GtkHBox" id="hbox10"> |
1295 | <property name="visible">True</property> | 499 | <property name="visible">True</property> |
1296 | <property name="yscale">0</property> | 500 | <property name="can_focus">False</property> |
1297 | <child> | 501 | <child> |
1298 | <object class="GtkComboBox" id="main_window_search_anonymity_combobox"> | 502 | <object class="GtkLabel" id="GNUNET_GTK_publish_directory_dialog_replication_label"> |
1299 | <property name="visible">True</property> | 503 | <property name="visible">True</property> |
1300 | <property name="model">main_window_search_anonymity_liststore</property> | 504 | <property name="can_focus">False</property> |
1301 | <property name="active">1</property> | 505 | <property name="label" translatable="yes">_Replication:</property> |
1302 | <child> | 506 | <property name="use_underline">True</property> |
1303 | <object class="GtkCellRendererText" id="main_window_search_anonymity_combobox_renderer"/> | 507 | </object> |
1304 | <attributes> | 508 | <packing> |
1305 | <attribute name="foreground">2</attribute> | 509 | <property name="expand">False</property> |
1306 | <attribute name="text">0</attribute> | 510 | <property name="fill">True</property> |
1307 | </attributes> | 511 | <property name="padding">20</property> |
1308 | </child> | 512 | <property name="position">0</property> |
1309 | <child> | 513 | </packing> |
1310 | <object class="GtkCellRendererText" id="main_window_search_anonymity_combobox_renerer_level"/> | 514 | </child> |
1311 | <attributes> | 515 | <child> |
1312 | <attribute name="text">1</attribute> | 516 | <object class="GtkSpinButton" id="GNUNET_GTK_publish_directory_dialog_replication_spin_button"> |
1313 | </attributes> | 517 | <property name="visible">True</property> |
1314 | </child> | 518 | <property name="can_focus">True</property> |
519 | <property name="invisible_char">●</property> | ||
520 | <property name="primary_icon_activatable">False</property> | ||
521 | <property name="secondary_icon_activatable">False</property> | ||
522 | <property name="primary_icon_sensitive">True</property> | ||
523 | <property name="secondary_icon_sensitive">True</property> | ||
524 | <property name="numeric">True</property> | ||
1315 | </object> | 525 | </object> |
526 | <packing> | ||
527 | <property name="expand">False</property> | ||
528 | <property name="fill">True</property> | ||
529 | <property name="padding">1</property> | ||
530 | <property name="position">1</property> | ||
531 | </packing> | ||
532 | </child> | ||
533 | <child> | ||
534 | <placeholder/> | ||
535 | </child> | ||
536 | <child> | ||
537 | <placeholder/> | ||
1316 | </child> | 538 | </child> |
1317 | </object> | 539 | </object> |
1318 | <packing> | 540 | <packing> |
1319 | <property name="expand">False</property> | 541 | <property name="expand">False</property> |
1320 | <property name="fill">False</property> | 542 | <property name="fill">True</property> |
1321 | <property name="position">7</property> | 543 | <property name="position">2</property> |
1322 | </packing> | 544 | </packing> |
1323 | </child> | 545 | </child> |
546 | </object> | ||
547 | <packing> | ||
548 | <property name="expand">False</property> | ||
549 | <property name="fill">False</property> | ||
550 | <property name="position">2</property> | ||
551 | </packing> | ||
552 | </child> | ||
553 | </object> | ||
554 | </child> | ||
555 | <action-widgets> | ||
556 | <action-widget response="-6">GNUNET_GTK_publish_dialog_cancel_button</action-widget> | ||
557 | <action-widget response="-5">GNUNET_GTK_publish_directory_dialog_ok_button</action-widget> | ||
558 | </action-widgets> | ||
559 | </object> | ||
560 | <object class="GtkFileChooserDialog" id="GNUNET_GTK_publish_file_dialog"> | ||
561 | <property name="can_focus">False</property> | ||
562 | <property name="can_default">True</property> | ||
563 | <property name="border_width">5</property> | ||
564 | <property name="title" translatable="yes">Publish file...</property> | ||
565 | <property name="modal">True</property> | ||
566 | <property name="destroy_with_parent">True</property> | ||
567 | <property name="type_hint">normal</property> | ||
568 | <property name="skip_taskbar_hint">True</property> | ||
569 | <property name="skip_pager_hint">True</property> | ||
570 | <property name="transient_for">GNUNET_GTK_main_window</property> | ||
571 | <property name="create_folders">False</property> | ||
572 | <property name="select_multiple">True</property> | ||
573 | <signal name="delete-event" handler="gtk_widget_hide_on_delete" swapped="no"/> | ||
574 | <signal name="response" handler="GNUNET_GTK_publish_file_dialog_response_cb" swapped="no"/> | ||
575 | <child internal-child="vbox"> | ||
576 | <object class="GtkVBox" id="dialog-vbox5"> | ||
577 | <property name="visible">True</property> | ||
578 | <property name="can_focus">False</property> | ||
579 | <property name="spacing">2</property> | ||
580 | <child internal-child="action_area"> | ||
581 | <object class="GtkHButtonBox" id="dialog-action_area5"> | ||
582 | <property name="visible">True</property> | ||
583 | <property name="can_focus">False</property> | ||
584 | <property name="layout_style">end</property> | ||
1324 | <child> | 585 | <child> |
1325 | <object class="GtkLabel" id="main_window_search_mime_label"> | 586 | <object class="GtkButton" id="GNUNET_GTK_publish_file_dialog_cancel_button"> |
587 | <property name="label">gtk-cancel</property> | ||
588 | <property name="use_action_appearance">False</property> | ||
1326 | <property name="visible">True</property> | 589 | <property name="visible">True</property> |
1327 | <property name="label" translatable="yes">Type:</property> | 590 | <property name="can_focus">True</property> |
591 | <property name="receives_default">True</property> | ||
592 | <property name="use_stock">True</property> | ||
1328 | </object> | 593 | </object> |
1329 | <packing> | 594 | <packing> |
1330 | <property name="expand">False</property> | 595 | <property name="expand">False</property> |
1331 | <property name="fill">False</property> | 596 | <property name="fill">False</property> |
1332 | <property name="position">8</property> | 597 | <property name="position">0</property> |
1333 | </packing> | 598 | </packing> |
1334 | </child> | 599 | </child> |
1335 | <child> | 600 | <child> |
1336 | <object class="GtkAlignment" id="main_window_search_mime_combobox_alignment"> | 601 | <object class="GtkButton" id="GNUNET_GTK_publish_file_dialog_ok_button"> |
602 | <property name="label">gtk-ok</property> | ||
603 | <property name="use_action_appearance">False</property> | ||
1337 | <property name="visible">True</property> | 604 | <property name="visible">True</property> |
1338 | <property name="yscale">0</property> | 605 | <property name="can_focus">True</property> |
1339 | <child> | 606 | <property name="can_default">True</property> |
1340 | <object class="GtkComboBox" id="main_window_search_mime_combobox"> | 607 | <property name="receives_default">True</property> |
1341 | <property name="visible">True</property> | 608 | <property name="use_stock">True</property> |
1342 | <property name="model">main_window_search_mime_liststore</property> | ||
1343 | <property name="active">0</property> | ||
1344 | <child> | ||
1345 | <object class="GtkCellRendererText" id="main_window_search_mime_renderer_description"/> | ||
1346 | <attributes> | ||
1347 | <attribute name="text">1</attribute> | ||
1348 | </attributes> | ||
1349 | </child> | ||
1350 | <child> | ||
1351 | <object class="GtkCellRendererText" id="main_window_search_mime_renderer_type"> | ||
1352 | <property name="visible">False</property> | ||
1353 | </object> | ||
1354 | <attributes> | ||
1355 | <attribute name="text">0</attribute> | ||
1356 | </attributes> | ||
1357 | </child> | ||
1358 | <child> | ||
1359 | <object class="GtkCellRendererText" id="main_window_search_mime_renderer_extension"/> | ||
1360 | <attributes> | ||
1361 | <attribute name="text">2</attribute> | ||
1362 | </attributes> | ||
1363 | </child> | ||
1364 | <child> | ||
1365 | <object class="GtkCellRendererText" id="main_window_search_mime_renderer_lossyness"> | ||
1366 | <property name="visible">False</property> | ||
1367 | </object> | ||
1368 | <attributes> | ||
1369 | <attribute name="text">3</attribute> | ||
1370 | </attributes> | ||
1371 | </child> | ||
1372 | <child> | ||
1373 | <object class="GtkCellRendererText" id="main_window_search_mime_renderer_freedom"> | ||
1374 | <property name="visible">False</property> | ||
1375 | </object> | ||
1376 | <attributes> | ||
1377 | <attribute name="text">4</attribute> | ||
1378 | </attributes> | ||
1379 | </child> | ||
1380 | </object> | ||
1381 | </child> | ||
1382 | </object> | 609 | </object> |
1383 | <packing> | 610 | <packing> |
1384 | <property name="expand">False</property> | 611 | <property name="expand">False</property> |
1385 | <property name="fill">False</property> | 612 | <property name="fill">False</property> |
1386 | <property name="position">9</property> | 613 | <property name="position">1</property> |
1387 | </packing> | 614 | </packing> |
1388 | </child> | 615 | </child> |
1389 | </object> | 616 | </object> |
1390 | <packing> | 617 | <packing> |
1391 | <property name="expand">False</property> | 618 | <property name="expand">False</property> |
1392 | <property name="fill">False</property> | 619 | <property name="fill">True</property> |
1393 | <property name="position">2</property> | 620 | <property name="pack_type">end</property> |
621 | <property name="position">0</property> | ||
1394 | </packing> | 622 | </packing> |
1395 | </child> | 623 | </child> |
1396 | <child> | 624 | <child> |
1397 | <object class="GtkHPaned" id="main_window_hpaned"> | 625 | <object class="GtkVBox" id="vbox1"> |
1398 | <property name="visible">True</property> | 626 | <property name="visible">True</property> |
1399 | <property name="can_focus">True</property> | 627 | <property name="can_focus">False</property> |
1400 | <child> | 628 | <child> |
1401 | <object class="GtkNotebook" id="GNUNET_GTK_main_window_notebook"> | 629 | <object class="GtkHBox" id="hbox2"> |
1402 | <property name="visible">True</property> | 630 | <property name="visible">True</property> |
1403 | <property name="can_focus">True</property> | 631 | <property name="can_focus">False</property> |
1404 | <property name="scrollable">True</property> | 632 | <child> |
1405 | <property name="tab_border">0</property> | 633 | <object class="GtkCheckButton" id="GNUNET_GTK_publish_file_dialog_do_index_checkbutton"> |
1406 | <property name="tab_hborder">0</property> | 634 | <property name="label" translatable="yes">Index file</property> |
1407 | <property name="tab_vborder">0</property> | 635 | <property name="use_action_appearance">False</property> |
1408 | <signal name="switch_page" handler="GNUNET_GTK_main_window_notebook_switch_page_cb" after="yes"/> | 636 | <property name="visible">True</property> |
637 | <property name="can_focus">True</property> | ||
638 | <property name="receives_default">False</property> | ||
639 | <property name="use_underline">True</property> | ||
640 | <property name="active">True</property> | ||
641 | <property name="draw_indicator">True</property> | ||
642 | </object> | ||
643 | <packing> | ||
644 | <property name="expand">False</property> | ||
645 | <property name="fill">False</property> | ||
646 | <property name="padding">20</property> | ||
647 | <property name="position">0</property> | ||
648 | </packing> | ||
649 | </child> | ||
650 | <child> | ||
651 | <placeholder/> | ||
652 | </child> | ||
653 | <child> | ||
654 | <object class="GtkLabel" id="GNUNET_GTK_publish_file_dialog_priority_label"> | ||
655 | <property name="visible">True</property> | ||
656 | <property name="can_focus">False</property> | ||
657 | <property name="label" translatable="yes">Priority:</property> | ||
658 | </object> | ||
659 | <packing> | ||
660 | <property name="expand">False</property> | ||
661 | <property name="fill">True</property> | ||
662 | <property name="padding">13</property> | ||
663 | <property name="position">2</property> | ||
664 | </packing> | ||
665 | </child> | ||
666 | <child> | ||
667 | <object class="GtkSpinButton" id="GNUNET_GTK_publish_file_dialog_priority_spin_button"> | ||
668 | <property name="visible">True</property> | ||
669 | <property name="can_focus">True</property> | ||
670 | <property name="invisible_char">•</property> | ||
671 | <property name="invisible_char_set">True</property> | ||
672 | <property name="primary_icon_activatable">False</property> | ||
673 | <property name="secondary_icon_activatable">False</property> | ||
674 | <property name="primary_icon_sensitive">True</property> | ||
675 | <property name="secondary_icon_sensitive">True</property> | ||
676 | <property name="adjustment">priority_adjustment</property> | ||
677 | <property name="numeric">True</property> | ||
678 | </object> | ||
679 | <packing> | ||
680 | <property name="expand">False</property> | ||
681 | <property name="fill">True</property> | ||
682 | <property name="padding">20</property> | ||
683 | <property name="position">3</property> | ||
684 | </packing> | ||
685 | </child> | ||
1409 | </object> | 686 | </object> |
1410 | <packing> | 687 | <packing> |
1411 | <property name="resize">True</property> | 688 | <property name="expand">False</property> |
1412 | <property name="shrink">False</property> | 689 | <property name="fill">False</property> |
690 | <property name="position">0</property> | ||
1413 | </packing> | 691 | </packing> |
1414 | </child> | 692 | </child> |
1415 | <child> | 693 | <child> |
1416 | <object class="GtkVBox" id="GNUNET_GTK_main_window_extras_vbox"> | 694 | <object class="GtkHBox" id="hbox5"> |
1417 | <property name="visible">True</property> | 695 | <property name="visible">True</property> |
696 | <property name="can_focus">False</property> | ||
1418 | <child> | 697 | <child> |
1419 | <object class="GtkImage" id="GNUNET_GTK_main_window_preview_image"> | 698 | <object class="GtkLabel" id="GNUNET_GTK_publish_file_dialog_expiration_label"> |
1420 | <property name="width_request">128</property> | ||
1421 | <property name="height_request">128</property> | ||
1422 | <property name="visible">True</property> | 699 | <property name="visible">True</property> |
1423 | <property name="has_tooltip">True</property> | 700 | <property name="can_focus">False</property> |
1424 | <property name="tooltip_text" translatable="yes">Thumbnail associated with the currently selected content</property> | 701 | <property name="label" translatable="yes">Expiration year:</property> |
1425 | <property name="pixel_size">256</property> | ||
1426 | </object> | 702 | </object> |
1427 | <packing> | 703 | <packing> |
1428 | <property name="expand">False</property> | 704 | <property name="expand">False</property> |
1429 | <property name="fill">False</property> | 705 | <property name="fill">False</property> |
706 | <property name="padding">20</property> | ||
1430 | <property name="position">0</property> | 707 | <property name="position">0</property> |
1431 | </packing> | 708 | </packing> |
1432 | </child> | 709 | </child> |
1433 | <child> | 710 | <child> |
1434 | <object class="GtkScrolledWindow" id="GNUNET_GTK_main_window_metadata_scroll"> | 711 | <object class="GtkSpinButton" id="GNUNET_GTK_publish_file_dialog_expiration_year_spin_button"> |
1435 | <property name="visible">True</property> | 712 | <property name="visible">True</property> |
1436 | <property name="can_focus">True</property> | 713 | <property name="can_focus">True</property> |
1437 | <property name="hadjustment">adjustment1</property> | 714 | <property name="invisible_char">•</property> |
1438 | <property name="vadjustment">adjustment2</property> | 715 | <property name="invisible_char_set">True</property> |
1439 | <property name="hscrollbar_policy">automatic</property> | 716 | <property name="primary_icon_activatable">False</property> |
1440 | <property name="vscrollbar_policy">automatic</property> | 717 | <property name="secondary_icon_activatable">False</property> |
1441 | <property name="shadow_type">in</property> | 718 | <property name="primary_icon_sensitive">True</property> |
719 | <property name="secondary_icon_sensitive">True</property> | ||
720 | <property name="adjustment">expiration_year_adjustment</property> | ||
721 | <property name="numeric">True</property> | ||
722 | </object> | ||
723 | <packing> | ||
724 | <property name="expand">False</property> | ||
725 | <property name="fill">False</property> | ||
726 | <property name="position">1</property> | ||
727 | </packing> | ||
728 | </child> | ||
729 | <child> | ||
730 | <object class="GtkLabel" id="GNUNET_GTK_publish_file_dialog_anonymity_label"> | ||
731 | <property name="visible">True</property> | ||
732 | <property name="can_focus">False</property> | ||
733 | <property name="label" translatable="yes">Anonymity:</property> | ||
734 | </object> | ||
735 | <packing> | ||
736 | <property name="expand">False</property> | ||
737 | <property name="fill">True</property> | ||
738 | <property name="padding">5</property> | ||
739 | <property name="position">2</property> | ||
740 | </packing> | ||
741 | </child> | ||
742 | <child> | ||
743 | <object class="GtkAlignment" id="GNUNET_GTK_publish_file_dialog_anonymity_combobox_alignment"> | ||
744 | <property name="visible">True</property> | ||
745 | <property name="can_focus">False</property> | ||
746 | <property name="yscale">0</property> | ||
1442 | <child> | 747 | <child> |
1443 | <object class="GtkTreeView" id="GNUNET_GTK_main_window_metadata_treeview"> | 748 | <object class="GtkComboBox" id="GNUNET_GTK_publish_file_dialog_anonymity_combobox"> |
1444 | <property name="visible">True</property> | 749 | <property name="visible">True</property> |
1445 | <property name="can_focus">True</property> | 750 | <property name="can_focus">False</property> |
1446 | <property name="model">GNUNET_GTK_meta_data_list_store</property> | 751 | <property name="model">main_window_search_anonymity_liststore</property> |
1447 | <property name="hadjustment">adjustment1</property> | 752 | <property name="active">1</property> |
1448 | <property name="vadjustment">adjustment2</property> | ||
1449 | <property name="search_column">0</property> | ||
1450 | <property name="rubber_banding">True</property> | ||
1451 | <property name="enable_grid_lines">both</property> | ||
1452 | <signal name="button_press_event" handler="GNUNET_GTK_main_window_metadata_treeview_button_press_event_cb"/> | ||
1453 | <signal name="popup_menu" handler="GNUNET_GTK_main_window_metadata_treeview_popup_menu_cb"/> | ||
1454 | <child> | 753 | <child> |
1455 | <object class="GtkTreeViewColumn" id="GNUNET_GTK_main_window_metadata_type_column"> | 754 | <object class="GtkCellRendererText" id="GNUNET_GTK_publish_file_dialog_anonymity_combobox_renderer"/> |
1456 | <property name="sizing">autosize</property> | 755 | <attributes> |
1457 | <property name="title">Type</property> | 756 | <attribute name="foreground">2</attribute> |
1458 | <property name="clickable">True</property> | 757 | <attribute name="text">0</attribute> |
1459 | <property name="reorderable">True</property> | 758 | </attributes> |
1460 | <property name="sort_indicator">True</property> | ||
1461 | <child> | ||
1462 | <object class="GtkCellRendererText" id="GNUNET_GTK_main_window_metadata_type_renderer"/> | ||
1463 | <attributes> | ||
1464 | <attribute name="text">2</attribute> | ||
1465 | </attributes> | ||
1466 | </child> | ||
1467 | </object> | ||
1468 | </child> | 759 | </child> |
1469 | <child> | 760 | <child> |
1470 | <object class="GtkTreeViewColumn" id="GNUNET_GTK_main_window_metadata_value_column"> | 761 | <object class="GtkCellRendererText" id="GNUNET_GTK_publish_file_dialog_anonymity_combobox_renerer_level"/> |
1471 | <property name="sizing">autosize</property> | 762 | <attributes> |
1472 | <property name="title">Value</property> | 763 | <attribute name="text">1</attribute> |
1473 | <property name="expand">True</property> | 764 | </attributes> |
1474 | <property name="clickable">True</property> | ||
1475 | <property name="reorderable">True</property> | ||
1476 | <property name="sort_indicator">True</property> | ||
1477 | <child> | ||
1478 | <object class="GtkCellRendererText" id="GNUNET_GTK_main_window_metadata_value_renderer"> | ||
1479 | <property name="wrap_mode">word</property> | ||
1480 | </object> | ||
1481 | <attributes> | ||
1482 | <attribute name="text">3</attribute> | ||
1483 | </attributes> | ||
1484 | </child> | ||
1485 | </object> | ||
1486 | </child> | 765 | </child> |
1487 | </object> | 766 | </object> |
1488 | </child> | 767 | </child> |
1489 | </object> | 768 | </object> |
1490 | <packing> | 769 | <packing> |
770 | <property name="expand">False</property> | ||
771 | <property name="fill">False</property> | ||
772 | <property name="position">3</property> | ||
773 | </packing> | ||
774 | </child> | ||
775 | </object> | ||
776 | <packing> | ||
777 | <property name="expand">False</property> | ||
778 | <property name="fill">True</property> | ||
779 | <property name="position">1</property> | ||
780 | </packing> | ||
781 | </child> | ||
782 | <child> | ||
783 | <object class="GtkHBox" id="hbox11"> | ||
784 | <property name="visible">True</property> | ||
785 | <property name="can_focus">False</property> | ||
786 | <child> | ||
787 | <object class="GtkLabel" id="GNUNET_GTK_publish_file_dialog_replication_label"> | ||
788 | <property name="visible">True</property> | ||
789 | <property name="can_focus">False</property> | ||
790 | <property name="label" translatable="yes">_Replication:</property> | ||
791 | <property name="use_underline">True</property> | ||
792 | </object> | ||
793 | <packing> | ||
794 | <property name="expand">False</property> | ||
795 | <property name="fill">True</property> | ||
796 | <property name="padding">20</property> | ||
797 | <property name="position">0</property> | ||
798 | </packing> | ||
799 | </child> | ||
800 | <child> | ||
801 | <object class="GtkSpinButton" id="GNUNET_GTK_publish_file_dialog_replication_spin_button"> | ||
802 | <property name="visible">True</property> | ||
803 | <property name="can_focus">True</property> | ||
804 | <property name="invisible_char">●</property> | ||
805 | <property name="primary_icon_activatable">False</property> | ||
806 | <property name="secondary_icon_activatable">False</property> | ||
807 | <property name="primary_icon_sensitive">True</property> | ||
808 | <property name="secondary_icon_sensitive">True</property> | ||
809 | <property name="adjustment">replication_adjustment</property> | ||
810 | <property name="numeric">True</property> | ||
811 | </object> | ||
812 | <packing> | ||
813 | <property name="expand">False</property> | ||
814 | <property name="fill">True</property> | ||
815 | <property name="padding">1</property> | ||
1491 | <property name="position">1</property> | 816 | <property name="position">1</property> |
1492 | </packing> | 817 | </packing> |
1493 | </child> | 818 | </child> |
819 | <child> | ||
820 | <placeholder/> | ||
821 | </child> | ||
822 | <child> | ||
823 | <placeholder/> | ||
824 | </child> | ||
1494 | </object> | 825 | </object> |
1495 | <packing> | 826 | <packing> |
1496 | <property name="resize">True</property> | 827 | <property name="expand">False</property> |
1497 | <property name="shrink">False</property> | 828 | <property name="fill">True</property> |
829 | <property name="position">2</property> | ||
1498 | </packing> | 830 | </packing> |
1499 | </child> | 831 | </child> |
1500 | </object> | 832 | </object> |
1501 | <packing> | 833 | <packing> |
1502 | <property name="position">3</property> | ||
1503 | </packing> | ||
1504 | </child> | ||
1505 | <child> | ||
1506 | <object class="GtkStatusbar" id="GNUNET_GTK_status_bar"> | ||
1507 | <property name="visible">True</property> | ||
1508 | <property name="spacing">2</property> | ||
1509 | </object> | ||
1510 | <packing> | ||
1511 | <property name="expand">False</property> | 834 | <property name="expand">False</property> |
1512 | <property name="pack_type">end</property> | 835 | <property name="fill">False</property> |
1513 | <property name="position">0</property> | 836 | <property name="position">2</property> |
1514 | </packing> | 837 | </packing> |
1515 | </child> | 838 | </child> |
1516 | </object> | 839 | </object> |
1517 | </child> | 840 | </child> |
841 | <action-widgets> | ||
842 | <action-widget response="-6">GNUNET_GTK_publish_file_dialog_cancel_button</action-widget> | ||
843 | <action-widget response="-5">GNUNET_GTK_publish_file_dialog_ok_button</action-widget> | ||
844 | </action-widgets> | ||
845 | </object> | ||
846 | <object class="GtkListStore" id="GNUNET_GTK_publish_file_dialog_expiration_list_store"> | ||
847 | <columns> | ||
848 | <!-- column-name human_readable_time --> | ||
849 | <column type="gchararray"/> | ||
850 | <!-- column-name time_in_ms --> | ||
851 | <column type="guint64"/> | ||
852 | </columns> | ||
853 | </object> | ||
854 | <object class="GtkListStore" id="GNUNET_GTK_select_pseudonym_liststore"> | ||
855 | <columns> | ||
856 | <!-- column-name namespace_name --> | ||
857 | <column type="gchararray"/> | ||
858 | <!-- column-name namespace_handle --> | ||
859 | <column type="gpointer"/> | ||
860 | </columns> | ||
1518 | </object> | 861 | </object> |
1519 | <object class="GtkWindow" id="GNUNET_GTK_master_publish_dialog"> | 862 | <object class="GtkWindow" id="GNUNET_GTK_master_publish_dialog"> |
1520 | <property name="height_request">500</property> | 863 | <property name="height_request">500</property> |
864 | <property name="can_focus">False</property> | ||
1521 | <property name="title" translatable="yes">Publish content on GNUnet</property> | 865 | <property name="title" translatable="yes">Publish content on GNUnet</property> |
1522 | <property name="window_position">center-on-parent</property> | 866 | <property name="window_position">center-on-parent</property> |
1523 | <property name="destroy_with_parent">True</property> | 867 | <property name="destroy_with_parent">True</property> |
1524 | <property name="deletable">False</property> | 868 | <property name="deletable">False</property> |
1525 | <property name="transient_for">GNUNET_GTK_main_window</property> | 869 | <property name="transient_for">GNUNET_GTK_main_window</property> |
1526 | <signal name="realize" handler="GNUNET_GTK_master_publish_dialog_realize_cb"/> | 870 | <signal name="realize" handler="GNUNET_GTK_master_publish_dialog_realize_cb" swapped="no"/> |
1527 | <signal name="delete_event" handler="GNUNET_GTK_master_publish_dialog_delete_event_cb"/> | 871 | <signal name="delete-event" handler="GNUNET_GTK_master_publish_dialog_delete_event_cb" swapped="no"/> |
1528 | <child> | 872 | <child> |
1529 | <object class="GtkVBox" id="GNUNET_GTK_master_publish_dialog_vbox"> | 873 | <object class="GtkVBox" id="GNUNET_GTK_master_publish_dialog_vbox"> |
1530 | <property name="visible">True</property> | 874 | <property name="visible">True</property> |
875 | <property name="can_focus">False</property> | ||
1531 | <property name="border_width">4</property> | 876 | <property name="border_width">4</property> |
1532 | <property name="spacing">7</property> | 877 | <property name="spacing">7</property> |
1533 | <child> | 878 | <child> |
@@ -1581,36 +926,42 @@ | |||
1581 | </child> | 926 | </child> |
1582 | </object> | 927 | </object> |
1583 | <packing> | 928 | <packing> |
929 | <property name="expand">True</property> | ||
930 | <property name="fill">True</property> | ||
1584 | <property name="position">0</property> | 931 | <property name="position">0</property> |
1585 | </packing> | 932 | </packing> |
1586 | </child> | 933 | </child> |
1587 | <child> | 934 | <child> |
1588 | <object class="GtkHBox" id="GNUNET_GTK_master_dialog_modification_button_hbox"> | 935 | <object class="GtkHBox" id="GNUNET_GTK_master_dialog_modification_button_hbox"> |
1589 | <property name="visible">True</property> | 936 | <property name="visible">True</property> |
937 | <property name="can_focus">False</property> | ||
1590 | <child> | 938 | <child> |
1591 | <object class="GtkTable" id="GNUNET_GTK_master_publish_dialog_action_table"> | 939 | <object class="GtkTable" id="GNUNET_GTK_master_publish_dialog_action_table"> |
1592 | <property name="visible">True</property> | 940 | <property name="visible">True</property> |
941 | <property name="can_focus">False</property> | ||
1593 | <property name="n_rows">2</property> | 942 | <property name="n_rows">2</property> |
1594 | <property name="n_columns">3</property> | 943 | <property name="n_columns">3</property> |
1595 | <child> | 944 | <child> |
1596 | <object class="GtkButton" id="GNUNET_GTK_master_publish_dialog_add_button"> | 945 | <object class="GtkButton" id="GNUNET_GTK_master_publish_dialog_add_button"> |
1597 | <property name="label" translatable="yes">Add _File</property> | 946 | <property name="label" translatable="yes">Add _File</property> |
947 | <property name="use_action_appearance">False</property> | ||
1598 | <property name="visible">True</property> | 948 | <property name="visible">True</property> |
1599 | <property name="can_focus">True</property> | 949 | <property name="can_focus">True</property> |
1600 | <property name="receives_default">True</property> | 950 | <property name="receives_default">True</property> |
1601 | <property name="use_underline">True</property> | 951 | <property name="use_underline">True</property> |
1602 | <signal name="clicked" handler="GNUNET_GTK_master_publish_dialog_add_button_clicked_cb"/> | 952 | <signal name="clicked" handler="GNUNET_GTK_master_publish_dialog_add_button_clicked_cb" swapped="no"/> |
1603 | </object> | 953 | </object> |
1604 | </child> | 954 | </child> |
1605 | <child> | 955 | <child> |
1606 | <object class="GtkButton" id="GNUNET_GTK_master_publish_dialog_new_button"> | 956 | <object class="GtkButton" id="GNUNET_GTK_master_publish_dialog_new_button"> |
1607 | <property name="label" translatable="yes">_Create empty directory</property> | 957 | <property name="label" translatable="yes">_Create empty directory</property> |
958 | <property name="use_action_appearance">False</property> | ||
1608 | <property name="visible">True</property> | 959 | <property name="visible">True</property> |
1609 | <property name="can_focus">True</property> | 960 | <property name="can_focus">True</property> |
1610 | <property name="receives_default">True</property> | 961 | <property name="receives_default">True</property> |
1611 | <property name="image">new_stock_image</property> | 962 | <property name="image">new_stock_image</property> |
1612 | <property name="use_underline">True</property> | 963 | <property name="use_underline">True</property> |
1613 | <signal name="clicked" handler="GNUNET_GTK_master_publish_dialog_new_button_clicked_cb"/> | 964 | <signal name="clicked" handler="GNUNET_GTK_master_publish_dialog_new_button_clicked_cb" swapped="no"/> |
1614 | </object> | 965 | </object> |
1615 | <packing> | 966 | <packing> |
1616 | <property name="left_attach">1</property> | 967 | <property name="left_attach">1</property> |
@@ -1620,11 +971,12 @@ | |||
1620 | <child> | 971 | <child> |
1621 | <object class="GtkButton" id="GNUNET_GTK_master_publish_dialog_open_button"> | 972 | <object class="GtkButton" id="GNUNET_GTK_master_publish_dialog_open_button"> |
1622 | <property name="label" translatable="yes">Add _Directory</property> | 973 | <property name="label" translatable="yes">Add _Directory</property> |
974 | <property name="use_action_appearance">False</property> | ||
1623 | <property name="visible">True</property> | 975 | <property name="visible">True</property> |
1624 | <property name="can_focus">True</property> | 976 | <property name="can_focus">True</property> |
1625 | <property name="receives_default">True</property> | 977 | <property name="receives_default">True</property> |
1626 | <property name="use_underline">True</property> | 978 | <property name="use_underline">True</property> |
1627 | <signal name="clicked" handler="GNUNET_GTK_master_publish_dialog_open_button_clicked_cb"/> | 979 | <signal name="clicked" handler="GNUNET_GTK_master_publish_dialog_open_button_clicked_cb" swapped="no"/> |
1628 | </object> | 980 | </object> |
1629 | <packing> | 981 | <packing> |
1630 | <property name="top_attach">1</property> | 982 | <property name="top_attach">1</property> |
@@ -1634,12 +986,13 @@ | |||
1634 | <child> | 986 | <child> |
1635 | <object class="GtkButton" id="GNUNET_GTK_master_publish_dialog_edit_button"> | 987 | <object class="GtkButton" id="GNUNET_GTK_master_publish_dialog_edit_button"> |
1636 | <property name="label">gtk-edit</property> | 988 | <property name="label">gtk-edit</property> |
989 | <property name="use_action_appearance">False</property> | ||
1637 | <property name="visible">True</property> | 990 | <property name="visible">True</property> |
1638 | <property name="sensitive">False</property> | 991 | <property name="sensitive">False</property> |
1639 | <property name="can_focus">True</property> | 992 | <property name="can_focus">True</property> |
1640 | <property name="receives_default">True</property> | 993 | <property name="receives_default">True</property> |
1641 | <property name="use_stock">True</property> | 994 | <property name="use_stock">True</property> |
1642 | <signal name="clicked" handler="GNUNET_GTK_master_publish_dialog_edit_button_clicked_cb"/> | 995 | <signal name="clicked" handler="GNUNET_GTK_master_publish_dialog_edit_button_clicked_cb" swapped="no"/> |
1643 | </object> | 996 | </object> |
1644 | <packing> | 997 | <packing> |
1645 | <property name="left_attach">1</property> | 998 | <property name="left_attach">1</property> |
@@ -1651,12 +1004,13 @@ | |||
1651 | <child> | 1004 | <child> |
1652 | <object class="GtkButton" id="GNUNET_GTK_master_publish_dialog_delete_button"> | 1005 | <object class="GtkButton" id="GNUNET_GTK_master_publish_dialog_delete_button"> |
1653 | <property name="label">gtk-delete</property> | 1006 | <property name="label">gtk-delete</property> |
1007 | <property name="use_action_appearance">False</property> | ||
1654 | <property name="visible">True</property> | 1008 | <property name="visible">True</property> |
1655 | <property name="sensitive">False</property> | 1009 | <property name="sensitive">False</property> |
1656 | <property name="can_focus">True</property> | 1010 | <property name="can_focus">True</property> |
1657 | <property name="receives_default">True</property> | 1011 | <property name="receives_default">True</property> |
1658 | <property name="use_stock">True</property> | 1012 | <property name="use_stock">True</property> |
1659 | <signal name="clicked" handler="GNUNET_GTK_master_publish_dialog_delete_button_clicked_cb"/> | 1013 | <signal name="clicked" handler="GNUNET_GTK_master_publish_dialog_delete_button_clicked_cb" swapped="no"/> |
1660 | </object> | 1014 | </object> |
1661 | <packing> | 1015 | <packing> |
1662 | <property name="left_attach">2</property> | 1016 | <property name="left_attach">2</property> |
@@ -1668,6 +1022,7 @@ | |||
1668 | </object> | 1022 | </object> |
1669 | <packing> | 1023 | <packing> |
1670 | <property name="expand">False</property> | 1024 | <property name="expand">False</property> |
1025 | <property name="fill">True</property> | ||
1671 | <property name="padding">25</property> | 1026 | <property name="padding">25</property> |
1672 | <property name="position">0</property> | 1027 | <property name="position">0</property> |
1673 | </packing> | 1028 | </packing> |
@@ -1675,18 +1030,20 @@ | |||
1675 | <child> | 1030 | <child> |
1676 | <object class="GtkTable" id="GNUNET_GTK_master_publish_dialog_arrow_table"> | 1031 | <object class="GtkTable" id="GNUNET_GTK_master_publish_dialog_arrow_table"> |
1677 | <property name="visible">True</property> | 1032 | <property name="visible">True</property> |
1033 | <property name="can_focus">False</property> | ||
1678 | <property name="n_rows">2</property> | 1034 | <property name="n_rows">2</property> |
1679 | <property name="n_columns">3</property> | 1035 | <property name="n_columns">3</property> |
1680 | <property name="homogeneous">True</property> | 1036 | <property name="homogeneous">True</property> |
1681 | <child> | 1037 | <child> |
1682 | <object class="GtkButton" id="GNUNET_GTK_master_publish_dialog_up_button"> | 1038 | <object class="GtkButton" id="GNUNET_GTK_master_publish_dialog_up_button"> |
1683 | <property name="label">gtk-go-up</property> | 1039 | <property name="label">gtk-go-up</property> |
1040 | <property name="use_action_appearance">False</property> | ||
1684 | <property name="visible">True</property> | 1041 | <property name="visible">True</property> |
1685 | <property name="sensitive">False</property> | 1042 | <property name="sensitive">False</property> |
1686 | <property name="can_focus">True</property> | 1043 | <property name="can_focus">True</property> |
1687 | <property name="receives_default">True</property> | 1044 | <property name="receives_default">True</property> |
1688 | <property name="use_stock">True</property> | 1045 | <property name="use_stock">True</property> |
1689 | <signal name="clicked" handler="GNUNET_GTK_master_publish_dialog_up_button_clicked_cb"/> | 1046 | <signal name="clicked" handler="GNUNET_GTK_master_publish_dialog_up_button_clicked_cb" swapped="no"/> |
1690 | </object> | 1047 | </object> |
1691 | <packing> | 1048 | <packing> |
1692 | <property name="left_attach">1</property> | 1049 | <property name="left_attach">1</property> |
@@ -1696,13 +1053,14 @@ | |||
1696 | <child> | 1053 | <child> |
1697 | <object class="GtkButton" id="GNUNET_GTK_master_publish_dialog_left_button"> | 1054 | <object class="GtkButton" id="GNUNET_GTK_master_publish_dialog_left_button"> |
1698 | <property name="label" translatable="yes">_Left</property> | 1055 | <property name="label" translatable="yes">_Left</property> |
1056 | <property name="use_action_appearance">False</property> | ||
1699 | <property name="visible">True</property> | 1057 | <property name="visible">True</property> |
1700 | <property name="sensitive">False</property> | 1058 | <property name="sensitive">False</property> |
1701 | <property name="can_focus">True</property> | 1059 | <property name="can_focus">True</property> |
1702 | <property name="receives_default">True</property> | 1060 | <property name="receives_default">True</property> |
1703 | <property name="image">left_stock_image</property> | 1061 | <property name="image">left_stock_image</property> |
1704 | <property name="use_underline">True</property> | 1062 | <property name="use_underline">True</property> |
1705 | <signal name="clicked" handler="GNUNET_GTK_master_publish_dialog_left_button_clicked_cb"/> | 1063 | <signal name="clicked" handler="GNUNET_GTK_master_publish_dialog_left_button_clicked_cb" swapped="no"/> |
1706 | </object> | 1064 | </object> |
1707 | <packing> | 1065 | <packing> |
1708 | <property name="top_attach">1</property> | 1066 | <property name="top_attach">1</property> |
@@ -1712,12 +1070,13 @@ | |||
1712 | <child> | 1070 | <child> |
1713 | <object class="GtkButton" id="GNUNET_GTK_master_publish_dialog_down_button"> | 1071 | <object class="GtkButton" id="GNUNET_GTK_master_publish_dialog_down_button"> |
1714 | <property name="label">gtk-go-down</property> | 1072 | <property name="label">gtk-go-down</property> |
1073 | <property name="use_action_appearance">False</property> | ||
1715 | <property name="visible">True</property> | 1074 | <property name="visible">True</property> |
1716 | <property name="sensitive">False</property> | 1075 | <property name="sensitive">False</property> |
1717 | <property name="can_focus">True</property> | 1076 | <property name="can_focus">True</property> |
1718 | <property name="receives_default">True</property> | 1077 | <property name="receives_default">True</property> |
1719 | <property name="use_stock">True</property> | 1078 | <property name="use_stock">True</property> |
1720 | <signal name="clicked" handler="GNUNET_GTK_master_publish_dialog_down_button_clicked_cb"/> | 1079 | <signal name="clicked" handler="GNUNET_GTK_master_publish_dialog_down_button_clicked_cb" swapped="no"/> |
1721 | </object> | 1080 | </object> |
1722 | <packing> | 1081 | <packing> |
1723 | <property name="left_attach">1</property> | 1082 | <property name="left_attach">1</property> |
@@ -1729,13 +1088,14 @@ | |||
1729 | <child> | 1088 | <child> |
1730 | <object class="GtkButton" id="GNUNET_GTK_master_publish_dialog_right_button"> | 1089 | <object class="GtkButton" id="GNUNET_GTK_master_publish_dialog_right_button"> |
1731 | <property name="label" translatable="yes">_Right</property> | 1090 | <property name="label" translatable="yes">_Right</property> |
1091 | <property name="use_action_appearance">False</property> | ||
1732 | <property name="visible">True</property> | 1092 | <property name="visible">True</property> |
1733 | <property name="sensitive">False</property> | 1093 | <property name="sensitive">False</property> |
1734 | <property name="can_focus">True</property> | 1094 | <property name="can_focus">True</property> |
1735 | <property name="receives_default">True</property> | 1095 | <property name="receives_default">True</property> |
1736 | <property name="image">right_stock_image</property> | 1096 | <property name="image">right_stock_image</property> |
1737 | <property name="use_underline">True</property> | 1097 | <property name="use_underline">True</property> |
1738 | <signal name="clicked" handler="GNUNET_GTK_master_publish_dialog_right_button_clicked_cb"/> | 1098 | <signal name="clicked" handler="GNUNET_GTK_master_publish_dialog_right_button_clicked_cb" swapped="no"/> |
1739 | </object> | 1099 | </object> |
1740 | <packing> | 1100 | <packing> |
1741 | <property name="left_attach">2</property> | 1101 | <property name="left_attach">2</property> |
@@ -1753,6 +1113,7 @@ | |||
1753 | </object> | 1113 | </object> |
1754 | <packing> | 1114 | <packing> |
1755 | <property name="expand">False</property> | 1115 | <property name="expand">False</property> |
1116 | <property name="fill">True</property> | ||
1756 | <property name="padding">25</property> | 1117 | <property name="padding">25</property> |
1757 | <property name="position">1</property> | 1118 | <property name="position">1</property> |
1758 | </packing> | 1119 | </packing> |
@@ -1760,6 +1121,7 @@ | |||
1760 | </object> | 1121 | </object> |
1761 | <packing> | 1122 | <packing> |
1762 | <property name="expand">False</property> | 1123 | <property name="expand">False</property> |
1124 | <property name="fill">True</property> | ||
1763 | <property name="position">1</property> | 1125 | <property name="position">1</property> |
1764 | </packing> | 1126 | </packing> |
1765 | </child> | 1127 | </child> |
@@ -1844,43 +1206,48 @@ | |||
1844 | </child> | 1206 | </child> |
1845 | </object> | 1207 | </object> |
1846 | <packing> | 1208 | <packing> |
1209 | <property name="expand">True</property> | ||
1210 | <property name="fill">True</property> | ||
1847 | <property name="position">2</property> | 1211 | <property name="position">2</property> |
1848 | </packing> | 1212 | </packing> |
1849 | </child> | 1213 | </child> |
1850 | <child> | 1214 | <child> |
1851 | <object class="GtkHBox" id="GNUNET_GTK_master_publish_dialog_master_buttons_hbox"> | 1215 | <object class="GtkHBox" id="GNUNET_GTK_master_publish_dialog_master_buttons_hbox"> |
1852 | <property name="visible">True</property> | 1216 | <property name="visible">True</property> |
1217 | <property name="can_focus">False</property> | ||
1853 | <property name="spacing">2</property> | 1218 | <property name="spacing">2</property> |
1854 | <child> | 1219 | <child> |
1855 | <object class="GtkButton" id="GNUNET_GTK_master_publish_dialog_cancel_button"> | 1220 | <object class="GtkButton" id="GNUNET_GTK_master_publish_dialog_execute_button"> |
1856 | <property name="label" translatable="yes">_Cancel</property> | 1221 | <property name="label" translatable="yes">_Execute</property> |
1222 | <property name="use_action_appearance">False</property> | ||
1857 | <property name="visible">True</property> | 1223 | <property name="visible">True</property> |
1858 | <property name="can_focus">True</property> | 1224 | <property name="can_focus">True</property> |
1859 | <property name="receives_default">True</property> | 1225 | <property name="receives_default">True</property> |
1860 | <property name="use_underline">True</property> | 1226 | <property name="use_underline">True</property> |
1861 | <signal name="clicked" handler="GNUNET_GTK_master_publish_dialog_cancel_button_clicked_cb"/> | 1227 | <signal name="clicked" handler="GNUNET_GTK_master_publish_dialog_execute_button_clicked_cb" swapped="no"/> |
1862 | </object> | 1228 | </object> |
1863 | <packing> | 1229 | <packing> |
1864 | <property name="expand">False</property> | 1230 | <property name="expand">False</property> |
1865 | <property name="fill">False</property> | 1231 | <property name="fill">False</property> |
1866 | <property name="pack_type">end</property> | 1232 | <property name="pack_type">end</property> |
1867 | <property name="position">1</property> | 1233 | <property name="position">0</property> |
1868 | </packing> | 1234 | </packing> |
1869 | </child> | 1235 | </child> |
1870 | <child> | 1236 | <child> |
1871 | <object class="GtkButton" id="GNUNET_GTK_master_publish_dialog_execute_button"> | 1237 | <object class="GtkButton" id="GNUNET_GTK_master_publish_dialog_cancel_button"> |
1872 | <property name="label" translatable="yes">_Execute</property> | 1238 | <property name="label" translatable="yes">_Cancel</property> |
1239 | <property name="use_action_appearance">False</property> | ||
1873 | <property name="visible">True</property> | 1240 | <property name="visible">True</property> |
1874 | <property name="can_focus">True</property> | 1241 | <property name="can_focus">True</property> |
1875 | <property name="receives_default">True</property> | 1242 | <property name="receives_default">True</property> |
1876 | <property name="use_underline">True</property> | 1243 | <property name="use_underline">True</property> |
1877 | <signal name="clicked" handler="GNUNET_GTK_master_publish_dialog_execute_button_clicked_cb"/> | 1244 | <signal name="clicked" handler="GNUNET_GTK_master_publish_dialog_cancel_button_clicked_cb" swapped="no"/> |
1878 | </object> | 1245 | </object> |
1879 | <packing> | 1246 | <packing> |
1880 | <property name="expand">False</property> | 1247 | <property name="expand">False</property> |
1881 | <property name="fill">False</property> | 1248 | <property name="fill">False</property> |
1882 | <property name="pack_type">end</property> | 1249 | <property name="pack_type">end</property> |
1883 | <property name="position">0</property> | 1250 | <property name="position">1</property> |
1884 | </packing> | 1251 | </packing> |
1885 | </child> | 1252 | </child> |
1886 | </object> | 1253 | </object> |
@@ -1894,403 +1261,533 @@ | |||
1894 | </child> | 1261 | </child> |
1895 | </object> | 1262 | </object> |
1896 | <object class="GtkTextBuffer" id="GNUNET_GTK_open_url_dialog_url_textview_buffer"> | 1263 | <object class="GtkTextBuffer" id="GNUNET_GTK_open_url_dialog_url_textview_buffer"> |
1897 | <signal name="changed" handler="GNUNET_GTK_open_url_dialog_url_textview_buffer_changed_cb"/> | 1264 | <signal name="changed" handler="GNUNET_GTK_open_url_dialog_url_textview_buffer_changed_cb" swapped="no"/> |
1898 | </object> | 1265 | </object> |
1899 | <object class="GtkWindow" id="GNUNET_GTK_open_url_window"> | 1266 | <object class="GtkDialog" id="GNUNET_GTK_select_pseudonym_dialog"> |
1900 | <property name="title" translatable="yes">Enter the URI to be downloaded</property> | 1267 | <property name="can_focus">False</property> |
1268 | <property name="border_width">5</property> | ||
1269 | <property name="title" translatable="yes">Select pseudonym...</property> | ||
1901 | <property name="modal">True</property> | 1270 | <property name="modal">True</property> |
1902 | <property name="default_width">640</property> | 1271 | <property name="default_width">400</property> |
1903 | <property name="default_height">240</property> | 1272 | <property name="default_height">300</property> |
1904 | <property name="destroy_with_parent">True</property> | 1273 | <property name="destroy_with_parent">True</property> |
1905 | <property name="skip_taskbar_hint">True</property> | 1274 | <property name="type_hint">normal</property> |
1906 | <property name="skip_pager_hint">True</property> | 1275 | <signal name="realize" handler="GNUNET_GTK_select_pseudonym_dialog_realize_cb" swapped="no"/> |
1907 | <property name="deletable">False</property> | 1276 | <signal name="delete-event" handler="GNUNET_GTK_select_pseudonym_dialog_delete_event_cb" swapped="no"/> |
1908 | <property name="transient_for">GNUNET_GTK_main_window</property> | 1277 | <signal name="response" handler="GNUNET_GTK_select_pseudonym_dialog_response_cb" swapped="no"/> |
1909 | <signal name="delete_event" handler="GNUNET_GTK_open_url_window_delete_event_cb"/> | 1278 | <child internal-child="vbox"> |
1910 | <child> | 1279 | <object class="GtkVBox" id="dialog-vbox3"> |
1911 | <object class="GtkVBox" id="GNUNET_GTK_open_url_dialog_main_vbox"> | ||
1912 | <property name="visible">True</property> | 1280 | <property name="visible">True</property> |
1281 | <property name="can_focus">False</property> | ||
1913 | <property name="spacing">2</property> | 1282 | <property name="spacing">2</property> |
1914 | <child> | 1283 | <child internal-child="action_area"> |
1915 | <object class="GtkHBox" id="GNUNET_GTK_open_url_dialog_query_hbox"> | 1284 | <object class="GtkHButtonBox" id="dialog-action_area3"> |
1916 | <property name="visible">True</property> | 1285 | <property name="visible">True</property> |
1286 | <property name="can_focus">False</property> | ||
1287 | <property name="layout_style">end</property> | ||
1917 | <child> | 1288 | <child> |
1918 | <object class="GtkLabel" id="GNUNET_GTK_open_url_dialog_url_label"> | 1289 | <object class="GtkButton" id="GNUNET_GTK_select_pseudonym_cancel_button"> |
1290 | <property name="label">gtk-cancel</property> | ||
1291 | <property name="use_action_appearance">False</property> | ||
1919 | <property name="visible">True</property> | 1292 | <property name="visible">True</property> |
1920 | <property name="label" translatable="yes">_URI:</property> | 1293 | <property name="can_focus">True</property> |
1921 | <property name="use_underline">True</property> | 1294 | <property name="receives_default">True</property> |
1922 | <property name="mnemonic_widget">GNUNET_GTK_open_url_dialog_url_textview</property> | 1295 | <property name="use_stock">True</property> |
1923 | </object> | 1296 | </object> |
1924 | <packing> | 1297 | <packing> |
1925 | <property name="expand">False</property> | 1298 | <property name="expand">False</property> |
1926 | <property name="fill">False</property> | 1299 | <property name="fill">False</property> |
1927 | <property name="padding">4</property> | ||
1928 | <property name="position">0</property> | 1300 | <property name="position">0</property> |
1929 | </packing> | 1301 | </packing> |
1930 | </child> | 1302 | </child> |
1931 | <child> | 1303 | <child> |
1932 | <object class="GtkFrame" id="frame1"> | 1304 | <object class="GtkButton" id="GNUNET_GTK_select_pseudonym_ok_button"> |
1305 | <property name="label">gtk-ok</property> | ||
1306 | <property name="use_action_appearance">False</property> | ||
1933 | <property name="visible">True</property> | 1307 | <property name="visible">True</property> |
1934 | <property name="label_xalign">0</property> | 1308 | <property name="sensitive">False</property> |
1935 | <property name="shadow_type">in</property> | 1309 | <property name="can_focus">True</property> |
1936 | <child> | 1310 | <property name="receives_default">True</property> |
1937 | <object class="GtkAlignment" id="alignment1"> | 1311 | <property name="use_stock">True</property> |
1938 | <property name="visible">True</property> | ||
1939 | <child> | ||
1940 | <object class="GtkTextView" id="GNUNET_GTK_open_url_dialog_url_textview"> | ||
1941 | <property name="visible">True</property> | ||
1942 | <property name="can_focus">True</property> | ||
1943 | <property name="events">GDK_KEY_PRESS_MASK | GDK_STRUCTURE_MASK</property> | ||
1944 | <property name="wrap_mode">char</property> | ||
1945 | <property name="indent">20</property> | ||
1946 | <property name="buffer">GNUNET_GTK_open_url_dialog_url_textview_buffer</property> | ||
1947 | <property name="accepts_tab">False</property> | ||
1948 | <signal name="key_press_event" handler="GNUNET_GTK_open_url_dialog_url_textview_key_press_event_cb"/> | ||
1949 | </object> | ||
1950 | </child> | ||
1951 | </object> | ||
1952 | </child> | ||
1953 | <child type="label_item"> | ||
1954 | <placeholder/> | ||
1955 | </child> | ||
1956 | </object> | 1312 | </object> |
1957 | <packing> | 1313 | <packing> |
1314 | <property name="expand">False</property> | ||
1315 | <property name="fill">False</property> | ||
1958 | <property name="position">1</property> | 1316 | <property name="position">1</property> |
1959 | </packing> | 1317 | </packing> |
1960 | </child> | 1318 | </child> |
1961 | </object> | 1319 | </object> |
1962 | <packing> | 1320 | <packing> |
1963 | <property name="padding">5</property> | 1321 | <property name="expand">False</property> |
1322 | <property name="fill">True</property> | ||
1323 | <property name="pack_type">end</property> | ||
1964 | <property name="position">0</property> | 1324 | <property name="position">0</property> |
1965 | </packing> | 1325 | </packing> |
1966 | </child> | 1326 | </child> |
1967 | <child> | 1327 | <child> |
1968 | <object class="GtkHBox" id="hbox8"> | 1328 | <object class="GtkScrolledWindow" id="GNUNET_GTK_select_pseudonym_scrolledwindow"> |
1969 | <property name="visible">True</property> | 1329 | <property name="visible">True</property> |
1330 | <property name="can_focus">True</property> | ||
1331 | <property name="hadjustment">adjustment3</property> | ||
1332 | <property name="vadjustment">adjustment4</property> | ||
1333 | <property name="hscrollbar_policy">automatic</property> | ||
1334 | <property name="vscrollbar_policy">automatic</property> | ||
1335 | <property name="shadow_type">in</property> | ||
1970 | <child> | 1336 | <child> |
1971 | <object class="GtkLabel" id="GNUNET_GTK_open_url_dialog_anonymity_label"> | 1337 | <object class="GtkTreeView" id="GNUNET_GTK_select_pseudonym_tree_view"> |
1972 | <property name="visible">True</property> | ||
1973 | <property name="label" translatable="yes">_Anonymity:</property> | ||
1974 | <property name="use_underline">True</property> | ||
1975 | <property name="mnemonic_widget">GNUNET_GTK_open_url_dialog_anonymity_combobox</property> | ||
1976 | </object> | ||
1977 | <packing> | ||
1978 | <property name="expand">False</property> | ||
1979 | <property name="fill">False</property> | ||
1980 | <property name="padding">4</property> | ||
1981 | <property name="pack_type">end</property> | ||
1982 | <property name="position">1</property> | ||
1983 | </packing> | ||
1984 | </child> | ||
1985 | <child> | ||
1986 | <object class="GtkAlignment" id="GNUNET_GTK_open_url_dialog_anonymity_combobox_alignment"> | ||
1987 | <property name="visible">True</property> | 1338 | <property name="visible">True</property> |
1988 | <property name="yscale">0</property> | 1339 | <property name="can_focus">True</property> |
1340 | <property name="model">GNUNET_GTK_select_pseudonym_liststore</property> | ||
1341 | <property name="hadjustment">adjustment3</property> | ||
1342 | <property name="vadjustment">adjustment4</property> | ||
1343 | <property name="search_column">0</property> | ||
1989 | <child> | 1344 | <child> |
1990 | <object class="GtkComboBox" id="GNUNET_GTK_open_url_dialog_anonymity_combobox"> | 1345 | <object class="GtkTreeViewColumn" id="GNUNET_GTK_select_pseudonym_tree_view_column"> |
1991 | <property name="visible">True</property> | 1346 | <property name="title">Name</property> |
1992 | <property name="model">main_window_search_anonymity_liststore</property> | 1347 | <property name="expand">True</property> |
1993 | <property name="active">1</property> | 1348 | <property name="clickable">True</property> |
1349 | <property name="reorderable">True</property> | ||
1350 | <property name="sort_indicator">True</property> | ||
1351 | <property name="sort_column_id">0</property> | ||
1994 | <child> | 1352 | <child> |
1995 | <object class="GtkCellRendererText" id="GNUNET_GTK_open_url_dialog_anonymity_combobox_renderer"/> | 1353 | <object class="GtkCellRendererText" id="GNUNET_GTK_select_pseudonym_name_renderer"/> |
1996 | <attributes> | 1354 | <attributes> |
1997 | <attribute name="foreground">2</attribute> | ||
1998 | <attribute name="text">0</attribute> | 1355 | <attribute name="text">0</attribute> |
1999 | </attributes> | 1356 | </attributes> |
2000 | </child> | 1357 | </child> |
2001 | <child> | ||
2002 | <object class="GtkCellRendererText" id="GNUNET_GTK_open_url_dialog_anonymity_combobox_renerer_level"/> | ||
2003 | <attributes> | ||
2004 | <attribute name="text">1</attribute> | ||
2005 | </attributes> | ||
2006 | </child> | ||
2007 | </object> | 1358 | </object> |
2008 | </child> | 1359 | </child> |
2009 | </object> | 1360 | </object> |
2010 | <packing> | ||
2011 | <property name="expand">False</property> | ||
2012 | <property name="fill">False</property> | ||
2013 | <property name="pack_type">end</property> | ||
2014 | <property name="position">0</property> | ||
2015 | </packing> | ||
2016 | </child> | 1361 | </child> |
2017 | </object> | 1362 | </object> |
2018 | <packing> | 1363 | <packing> |
2019 | <property name="expand">False</property> | 1364 | <property name="expand">True</property> |
2020 | <property name="fill">False</property> | 1365 | <property name="fill">True</property> |
2021 | <property name="position">2</property> | 1366 | <property name="position">1</property> |
2022 | </packing> | 1367 | </packing> |
2023 | </child> | 1368 | </child> |
2024 | <child> | 1369 | <child> |
2025 | <object class="GtkHBox" id="hbox1"> | 1370 | <placeholder/> |
1371 | </child> | ||
1372 | </object> | ||
1373 | </child> | ||
1374 | <action-widgets> | ||
1375 | <action-widget response="-6">GNUNET_GTK_select_pseudonym_cancel_button</action-widget> | ||
1376 | <action-widget response="-5">GNUNET_GTK_select_pseudonym_ok_button</action-widget> | ||
1377 | </action-widgets> | ||
1378 | </object> | ||
1379 | <object class="GtkAdjustment" id="adjustment3"> | ||
1380 | <property name="upper">100</property> | ||
1381 | <property name="step_increment">1</property> | ||
1382 | <property name="page_increment">10</property> | ||
1383 | </object> | ||
1384 | <object class="GtkAdjustment" id="adjustment4"> | ||
1385 | <property name="upper">100</property> | ||
1386 | <property name="step_increment">1</property> | ||
1387 | <property name="page_increment">10</property> | ||
1388 | </object> | ||
1389 | <object class="GtkImage" id="add_stock_image"> | ||
1390 | <property name="visible">True</property> | ||
1391 | <property name="can_focus">False</property> | ||
1392 | <property name="stock">gtk-add</property> | ||
1393 | </object> | ||
1394 | <object class="GtkAdjustment" id="adjustment1"> | ||
1395 | <property name="upper">100</property> | ||
1396 | <property name="step_increment">1</property> | ||
1397 | <property name="page_increment">10</property> | ||
1398 | <property name="page_size">10</property> | ||
1399 | </object> | ||
1400 | <object class="GtkAdjustment" id="adjustment2"> | ||
1401 | <property name="upper">100</property> | ||
1402 | <property name="step_increment">1</property> | ||
1403 | <property name="page_increment">10</property> | ||
1404 | <property name="page_size">10</property> | ||
1405 | </object> | ||
1406 | <object class="GtkAdjustment" id="adjustment5"> | ||
1407 | <property name="upper">100</property> | ||
1408 | <property name="step_increment">1</property> | ||
1409 | <property name="page_increment">10</property> | ||
1410 | </object> | ||
1411 | <object class="GtkAdjustment" id="adjustment6"> | ||
1412 | <property name="upper">100</property> | ||
1413 | <property name="step_increment">1</property> | ||
1414 | <property name="page_increment">10</property> | ||
1415 | </object> | ||
1416 | <object class="GtkAdjustment" id="adjustment7"> | ||
1417 | <property name="upper">100</property> | ||
1418 | <property name="step_increment">1</property> | ||
1419 | <property name="page_increment">10</property> | ||
1420 | </object> | ||
1421 | <object class="GtkAdjustment" id="adjustment8"> | ||
1422 | <property name="upper">100</property> | ||
1423 | <property name="step_increment">1</property> | ||
1424 | <property name="page_increment">10</property> | ||
1425 | </object> | ||
1426 | <object class="GtkImage" id="del_stock_image"> | ||
1427 | <property name="visible">True</property> | ||
1428 | <property name="can_focus">False</property> | ||
1429 | <property name="stock">gtk-delete</property> | ||
1430 | </object> | ||
1431 | <object class="GtkImage" id="down_stock_image"> | ||
1432 | <property name="visible">True</property> | ||
1433 | <property name="can_focus">False</property> | ||
1434 | <property name="stock">gtk-go-down</property> | ||
1435 | </object> | ||
1436 | <object class="GtkImage" id="execute_stock_image"> | ||
1437 | <property name="visible">True</property> | ||
1438 | <property name="can_focus">False</property> | ||
1439 | <property name="stock">gtk-execute</property> | ||
1440 | </object> | ||
1441 | <object class="GtkImage" id="find_stock_image"> | ||
1442 | <property name="visible">True</property> | ||
1443 | <property name="can_focus">False</property> | ||
1444 | <property name="stock">gtk-find</property> | ||
1445 | </object> | ||
1446 | <object class="GtkImage" id="index_stock_image"> | ||
1447 | <property name="visible">True</property> | ||
1448 | <property name="can_focus">False</property> | ||
1449 | <property name="stock">gtk-index</property> | ||
1450 | </object> | ||
1451 | <object class="GtkImage" id="left_stock_image"> | ||
1452 | <property name="visible">True</property> | ||
1453 | <property name="can_focus">False</property> | ||
1454 | <property name="stock">gtk-go-back</property> | ||
1455 | </object> | ||
1456 | <object class="GtkListStore" id="main_window_search_anonymity_liststore"> | ||
1457 | <columns> | ||
1458 | <!-- column-name Name --> | ||
1459 | <column type="gchararray"/> | ||
1460 | <!-- column-name Level --> | ||
1461 | <column type="guint"/> | ||
1462 | <!-- column-name Color --> | ||
1463 | <column type="gchararray"/> | ||
1464 | </columns> | ||
1465 | <data> | ||
1466 | <row> | ||
1467 | <col id="0" translatable="yes">None</col> | ||
1468 | <col id="1">0</col> | ||
1469 | <col id="2" translatable="yes">#AAAA00000000</col> | ||
1470 | </row> | ||
1471 | <row> | ||
1472 | <col id="0" translatable="yes">Normal</col> | ||
1473 | <col id="1">1</col> | ||
1474 | <col id="2" translatable="yes">#000000000000</col> | ||
1475 | </row> | ||
1476 | <row> | ||
1477 | <col id="0" translatable="yes">Paranoid</col> | ||
1478 | <col id="1">10</col> | ||
1479 | <col id="2" translatable="yes">#0000AAAA0000</col> | ||
1480 | </row> | ||
1481 | </data> | ||
1482 | </object> | ||
1483 | <object class="GtkListStore" id="main_window_search_mime_liststore"> | ||
1484 | <columns> | ||
1485 | <!-- column-name MIME --> | ||
1486 | <column type="gchararray"/> | ||
1487 | <!-- column-name Type --> | ||
1488 | <column type="gchararray"/> | ||
1489 | <!-- column-name Extension --> | ||
1490 | <column type="gchararray"/> | ||
1491 | <!-- column-name Lossyness --> | ||
1492 | <column type="gchararray"/> | ||
1493 | <!-- column-name Freedom --> | ||
1494 | <column type="gchararray"/> | ||
1495 | </columns> | ||
1496 | <data> | ||
1497 | <row> | ||
1498 | <col id="0"> </col> | ||
1499 | <col id="1" translatable="yes">Any</col> | ||
1500 | <col id="2" translatable="yes"> </col> | ||
1501 | <col id="3" translatable="yes"> </col> | ||
1502 | <col id="4" translatable="yes"> </col> | ||
1503 | </row> | ||
1504 | <row> | ||
1505 | <col id="0">plain/text</col> | ||
1506 | <col id="1" translatable="yes">Text</col> | ||
1507 | <col id="2">txt</col> | ||
1508 | <col id="3" translatable="yes">N/A</col> | ||
1509 | <col id="4" translatable="yes">N/A</col> | ||
1510 | </row> | ||
1511 | <row> | ||
1512 | <col id="0">application/zip</col> | ||
1513 | <col id="1" translatable="yes">Zip</col> | ||
1514 | <col id="2">zip</col> | ||
1515 | <col id="3" translatable="yes">lossless</col> | ||
1516 | <col id="4" translatable="yes">free</col> | ||
1517 | </row> | ||
1518 | <row> | ||
1519 | <col id="0">audio/mpeg</col> | ||
1520 | <col id="1" translatable="yes">MPEG audio</col> | ||
1521 | <col id="2">mp3, mp2, mpeg</col> | ||
1522 | <col id="3" translatable="yes">lossy</col> | ||
1523 | <col id="4" translatable="yes">non-free</col> | ||
1524 | </row> | ||
1525 | </data> | ||
1526 | </object> | ||
1527 | <object class="GtkWindow" id="GNUNET_GTK_main_window"> | ||
1528 | <property name="can_focus">False</property> | ||
1529 | <property name="title" translatable="yes">gnunet-fs-gtk</property> | ||
1530 | <property name="window_position">center</property> | ||
1531 | <property name="default_width">700</property> | ||
1532 | <property name="default_height">500</property> | ||
1533 | <property name="icon_name">gnunet-gtk</property> | ||
1534 | <signal name="realize" handler="GNUNET_GTK_main_window_realize_cb" swapped="no"/> | ||
1535 | <signal name="delete-event" handler="GNUNET_GTK_quit_cb" after="yes" swapped="no"/> | ||
1536 | <child> | ||
1537 | <object class="GtkVBox" id="GNUNET_GTK_main_window_vbox"> | ||
1538 | <property name="visible">True</property> | ||
1539 | <property name="can_focus">False</property> | ||
1540 | <child> | ||
1541 | <object class="GtkStatusbar" id="GNUNET_GTK_status_bar"> | ||
2026 | <property name="visible">True</property> | 1542 | <property name="visible">True</property> |
2027 | <child> | 1543 | <property name="can_focus">False</property> |
2028 | <object class="GtkButton" id="GNUNET_GTK_open_url_dialog_cancel_button"> | 1544 | <property name="spacing">2</property> |
2029 | <property name="label">gtk-cancel</property> | ||
2030 | <property name="visible">True</property> | ||
2031 | <property name="can_focus">True</property> | ||
2032 | <property name="receives_default">True</property> | ||
2033 | <property name="use_stock">True</property> | ||
2034 | <signal name="clicked" handler="GNUNET_GTK_open_url_dialog_cancel_button_clicked_cb"/> | ||
2035 | </object> | ||
2036 | <packing> | ||
2037 | <property name="expand">False</property> | ||
2038 | <property name="fill">False</property> | ||
2039 | <property name="padding">4</property> | ||
2040 | <property name="pack_type">end</property> | ||
2041 | <property name="position">1</property> | ||
2042 | </packing> | ||
2043 | </child> | ||
2044 | <child> | ||
2045 | <object class="GtkButton" id="GNUNET_GTK_open_url_dialog_execute_button"> | ||
2046 | <property name="label">_Execute</property> | ||
2047 | <property name="visible">True</property> | ||
2048 | <property name="sensitive">False</property> | ||
2049 | <property name="can_focus">True</property> | ||
2050 | <property name="receives_default">True</property> | ||
2051 | <property name="image">execute_stock_image</property> | ||
2052 | <property name="use_underline">True</property> | ||
2053 | <signal name="clicked" handler="GNUNET_GTK_open_url_dialog_execute_button_clicked_cb"/> | ||
2054 | </object> | ||
2055 | <packing> | ||
2056 | <property name="expand">False</property> | ||
2057 | <property name="fill">False</property> | ||
2058 | <property name="padding">4</property> | ||
2059 | <property name="pack_type">end</property> | ||
2060 | <property name="position">0</property> | ||
2061 | </packing> | ||
2062 | </child> | ||
2063 | </object> | 1545 | </object> |
2064 | <packing> | 1546 | <packing> |
2065 | <property name="expand">False</property> | 1547 | <property name="expand">False</property> |
2066 | <property name="fill">False</property> | 1548 | <property name="fill">True</property> |
2067 | <property name="padding">4</property> | ||
2068 | <property name="pack_type">end</property> | 1549 | <property name="pack_type">end</property> |
2069 | <property name="position">1</property> | 1550 | <property name="position">0</property> |
2070 | </packing> | 1551 | </packing> |
2071 | </child> | 1552 | </child> |
2072 | </object> | ||
2073 | </child> | ||
2074 | </object> | ||
2075 | <object class="GtkFileChooserDialog" id="GNUNET_GTK_publish_directory_dialog"> | ||
2076 | <property name="can_default">True</property> | ||
2077 | <property name="events">GDK_FOCUS_CHANGE_MASK | GDK_STRUCTURE_MASK</property> | ||
2078 | <property name="border_width">5</property> | ||
2079 | <property name="modal">True</property> | ||
2080 | <property name="destroy_with_parent">True</property> | ||
2081 | <property name="type_hint">dialog</property> | ||
2082 | <property name="skip_taskbar_hint">True</property> | ||
2083 | <property name="skip_pager_hint">True</property> | ||
2084 | <property name="transient_for">GNUNET_GTK_main_window</property> | ||
2085 | <property name="create_folders">False</property> | ||
2086 | <property name="action">select-folder</property> | ||
2087 | <property name="select_multiple">True</property> | ||
2088 | <signal name="response" handler="GNUNET_GTK_publish_directory_dialog_response_cb"/> | ||
2089 | <child internal-child="vbox"> | ||
2090 | <object class="GtkVBox" id="dialog-vbox1"> | ||
2091 | <property name="visible">True</property> | ||
2092 | <property name="orientation">vertical</property> | ||
2093 | <property name="spacing">2</property> | ||
2094 | <child> | 1553 | <child> |
2095 | <object class="GtkVBox" id="vbox3"> | 1554 | <object class="GtkMenuBar" id="GNUNET_GTK_main_menu"> |
2096 | <property name="visible">True</property> | 1555 | <property name="visible">True</property> |
2097 | <property name="orientation">vertical</property> | 1556 | <property name="can_focus">False</property> |
2098 | <child> | 1557 | <child> |
2099 | <object class="GtkHBox" id="hbox6"> | 1558 | <object class="GtkMenuItem" id="GNUNET_GTK_main_menu_file_sharing"> |
1559 | <property name="use_action_appearance">False</property> | ||
2100 | <property name="visible">True</property> | 1560 | <property name="visible">True</property> |
2101 | <child> | 1561 | <property name="can_focus">False</property> |
2102 | <object class="GtkCheckButton" id="GNUNET_GTK_publish_directory_dialog_do_index_checkbutton"> | 1562 | <property name="label" translatable="yes">_File sharing</property> |
2103 | <property name="label" translatable="yes">Index files</property> | 1563 | <property name="use_underline">True</property> |
2104 | <property name="visible">True</property> | 1564 | <child type="submenu"> |
2105 | <property name="can_focus">True</property> | 1565 | <object class="GtkMenu" id="GNUNET_GTK_main_menu_file_sharing_box"> |
2106 | <property name="receives_default">False</property> | 1566 | <property name="can_focus">False</property> |
2107 | <property name="use_underline">True</property> | 1567 | <child> |
2108 | <property name="active">True</property> | 1568 | <object class="GtkImageMenuItem" id="GNUNET_GTK_main_menu_file_create_pseudonym"> |
2109 | <property name="draw_indicator">True</property> | 1569 | <property name="label" translatable="yes">_Create pseudonym</property> |
2110 | </object> | 1570 | <property name="use_action_appearance">False</property> |
2111 | <packing> | 1571 | <property name="visible">True</property> |
2112 | <property name="expand">False</property> | 1572 | <property name="can_focus">False</property> |
2113 | <property name="fill">False</property> | 1573 | <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> |
2114 | <property name="padding">20</property> | 1574 | <property name="accel_path"><gnunet-fs-gtk>/File sharing/Create pseudonym</property> |
2115 | <property name="position">0</property> | 1575 | <property name="use_underline">True</property> |
2116 | </packing> | 1576 | <property name="image">new_stock_imag</property> |
2117 | </child> | 1577 | <property name="use_stock">False</property> |
2118 | <child> | 1578 | <accelerator key="n" signal="activate" modifiers="GDK_CONTROL_MASK"/> |
2119 | <placeholder/> | 1579 | <signal name="activate" handler="GNUNET_GTK_main_menu_create_pseudonym_activate_cb" swapped="no"/> |
2120 | </child> | 1580 | </object> |
2121 | <child> | 1581 | </child> |
2122 | <object class="GtkLabel" id="GNUNET_GTK_publish_directory_dialog_priority_label"> | 1582 | <child> |
2123 | <property name="visible">True</property> | 1583 | <object class="GtkImageMenuItem" id="GNUNET_GTK_main_menu_file_advertise_pseudonym"> |
2124 | <property name="label" translatable="yes">Priority:</property> | 1584 | <property name="label" translatable="yes">_Advertise Pseudonym</property> |
1585 | <property name="use_action_appearance">False</property> | ||
1586 | <property name="visible">True</property> | ||
1587 | <property name="can_focus">False</property> | ||
1588 | <property name="use_underline">True</property> | ||
1589 | <property name="image">index_stock_image</property> | ||
1590 | <property name="use_stock">False</property> | ||
1591 | <signal name="activate" handler="GNUNET_GTK_main_menu_file_advertise_pseudonym_activate_cb" swapped="no"/> | ||
1592 | </object> | ||
1593 | </child> | ||
1594 | <child> | ||
1595 | <object class="GtkImageMenuItem" id="GNUNET_GTK_main_menu_file_publish"> | ||
1596 | <property name="label" translatable="yes">_Publish</property> | ||
1597 | <property name="use_action_appearance">False</property> | ||
1598 | <property name="visible">True</property> | ||
1599 | <property name="can_focus">False</property> | ||
1600 | <property name="tooltip_text" translatable="yes">Publish files or directories on GNUnet</property> | ||
1601 | <property name="accel_path"><gnunet-fs-gtk>/File sharing/Publish</property> | ||
1602 | <property name="use_underline">True</property> | ||
1603 | <property name="image">up_stock_image</property> | ||
1604 | <property name="use_stock">False</property> | ||
1605 | <accelerator key="a" signal="activate" modifiers="GDK_CONTROL_MASK"/> | ||
1606 | <signal name="activate" handler="GNUNET_GTK_main_menu_file_publish_activate_cb" swapped="no"/> | ||
1607 | </object> | ||
1608 | </child> | ||
1609 | <child> | ||
1610 | <object class="GtkSeparatorMenuItem" id="GNUNET_GTK_main_menu_file_sep1"> | ||
1611 | <property name="can_focus">False</property> | ||
1612 | </object> | ||
1613 | </child> | ||
1614 | <child> | ||
1615 | <object class="GtkImageMenuItem" id="GNUNET_GTK_main_menu_file_download_uri"> | ||
1616 | <property name="label" translatable="yes">_Download</property> | ||
1617 | <property name="use_action_appearance">False</property> | ||
1618 | <property name="visible">True</property> | ||
1619 | <property name="can_focus">False</property> | ||
1620 | <property name="tooltip_text" translatable="yes">Download a file or directory with a known URI.</property> | ||
1621 | <property name="accel_path"><gnunet-fs-gtk>/File sharing/Download</property> | ||
1622 | <property name="use_underline">True</property> | ||
1623 | <property name="image">down_stock_image</property> | ||
1624 | <property name="use_stock">False</property> | ||
1625 | <accelerator key="d" signal="activate" modifiers="GDK_CONTROL_MASK"/> | ||
1626 | <signal name="activate" handler="GNUNET_GTK_main_menu_file_download_uri_activate_cb" swapped="no"/> | ||
1627 | </object> | ||
1628 | </child> | ||
1629 | <child> | ||
1630 | <object class="GtkImageMenuItem" id="GNUNET_GTK_main_menu_file_open_gnunet_directory"> | ||
1631 | <property name="label" translatable="yes">_Open GNUnet directory</property> | ||
1632 | <property name="use_action_appearance">False</property> | ||
1633 | <property name="visible">True</property> | ||
1634 | <property name="can_focus">False</property> | ||
1635 | <property name="tooltip_text" translatable="yes">Use this option to browse a GNUnet directory file that has been previously downloaded.</property> | ||
1636 | <property name="accel_path"><gnunet-fs-gtk>/File sharing/Open directory</property> | ||
1637 | <property name="use_underline">True</property> | ||
1638 | <property name="image">open_stock_image</property> | ||
1639 | <property name="use_stock">False</property> | ||
1640 | <accelerator key="F3" signal="activate"/> | ||
1641 | <signal name="activate" handler="GNUNET_GTK_main_menu_file_open_gnunet_directory_activate_cb" swapped="no"/> | ||
1642 | </object> | ||
1643 | </child> | ||
1644 | <child> | ||
1645 | <object class="GtkSeparatorMenuItem" id="GNUNET_GTK_main_menu_file_sep2"> | ||
1646 | <property name="visible">True</property> | ||
1647 | <property name="can_focus">False</property> | ||
1648 | </object> | ||
1649 | </child> | ||
1650 | <child> | ||
1651 | <object class="GtkImageMenuItem" id="GNUNET_GTK_main_menu_file_quit"> | ||
1652 | <property name="label">gtk-quit</property> | ||
1653 | <property name="use_action_appearance">False</property> | ||
1654 | <property name="visible">True</property> | ||
1655 | <property name="can_focus">False</property> | ||
1656 | <property name="tooltip_text" translatable="yes">Exit gnunet-fs-gtk. Active file-sharing operations will resume upon restart.</property> | ||
1657 | <property name="accel_path"><gnunet-fs-gtk>/Quit</property> | ||
1658 | <property name="use_underline">True</property> | ||
1659 | <property name="use_stock">True</property> | ||
1660 | <accelerator key="q" signal="activate" modifiers="GDK_CONTROL_MASK"/> | ||
1661 | <signal name="activate" handler="GNUNET_GTK_quit_cb" swapped="no"/> | ||
1662 | </object> | ||
1663 | </child> | ||
2125 | </object> | 1664 | </object> |
2126 | <packing> | ||
2127 | <property name="expand">False</property> | ||
2128 | <property name="padding">13</property> | ||
2129 | <property name="position">2</property> | ||
2130 | </packing> | ||
2131 | </child> | 1665 | </child> |
2132 | <child> | 1666 | </object> |
2133 | <object class="GtkSpinButton" id="GNUNET_GTK_publish_directory_dialog_priority_spin_button"> | 1667 | </child> |
1668 | <child> | ||
1669 | <object class="GtkMenuItem" id="GNUNET_GTK_main_menu_edit"> | ||
1670 | <property name="use_action_appearance">False</property> | ||
1671 | <property name="can_focus">False</property> | ||
1672 | <property name="label" translatable="yes">_Edit</property> | ||
1673 | <property name="use_underline">True</property> | ||
1674 | <child type="submenu"> | ||
1675 | <object class="GtkMenu" id="GNUNET_GTK_main_menu_edit_box"> | ||
2134 | <property name="visible">True</property> | 1676 | <property name="visible">True</property> |
2135 | <property name="can_focus">True</property> | 1677 | <property name="can_focus">False</property> |
2136 | <property name="invisible_char">•</property> | 1678 | <child> |
2137 | <property name="invisible_char_set">True</property> | 1679 | <object class="GtkImageMenuItem" id="GNUNET_GTK_main_menu_edit_preferences"> |
2138 | <property name="primary_icon_sensitive">True</property> | 1680 | <property name="label">gtk-preferences</property> |
2139 | <property name="secondary_icon_sensitive">True</property> | 1681 | <property name="use_action_appearance">False</property> |
2140 | <property name="adjustment">priority_adjustment</property> | 1682 | <property name="visible">True</property> |
2141 | <property name="numeric">True</property> | 1683 | <property name="can_focus">False</property> |
1684 | <property name="tooltip_text" translatable="yes">Edit the system configuration.</property> | ||
1685 | <property name="accel_path"><gnunet-fs-gtk>/Edit/Preferences</property> | ||
1686 | <property name="use_underline">True</property> | ||
1687 | <property name="use_stock">True</property> | ||
1688 | </object> | ||
1689 | </child> | ||
2142 | </object> | 1690 | </object> |
2143 | <packing> | ||
2144 | <property name="expand">False</property> | ||
2145 | <property name="padding">20</property> | ||
2146 | <property name="position">3</property> | ||
2147 | </packing> | ||
2148 | </child> | 1691 | </child> |
2149 | </object> | 1692 | </object> |
2150 | <packing> | ||
2151 | <property name="expand">False</property> | ||
2152 | <property name="fill">False</property> | ||
2153 | <property name="position">0</property> | ||
2154 | </packing> | ||
2155 | </child> | 1693 | </child> |
2156 | <child> | 1694 | <child> |
2157 | <object class="GtkHBox" id="hbox7"> | 1695 | <object class="GtkMenuItem" id="GNUNET_GTK_main_menu_view"> |
1696 | <property name="use_action_appearance">False</property> | ||
2158 | <property name="visible">True</property> | 1697 | <property name="visible">True</property> |
2159 | <child> | 1698 | <property name="can_focus">False</property> |
2160 | <object class="GtkLabel" id="GNUNET_GTK_publish_directory_dialog_expiration_label"> | 1699 | <property name="label" translatable="yes">_View</property> |
2161 | <property name="visible">True</property> | 1700 | <property name="use_underline">True</property> |
2162 | <property name="label" translatable="yes">Expiration year:</property> | 1701 | <child type="submenu"> |
2163 | </object> | 1702 | <object class="GtkMenu" id="GNUNET_GTK_main_menu_view_box"> |
2164 | <packing> | ||
2165 | <property name="expand">False</property> | ||
2166 | <property name="fill">False</property> | ||
2167 | <property name="padding">20</property> | ||
2168 | <property name="position">0</property> | ||
2169 | </packing> | ||
2170 | </child> | ||
2171 | <child> | ||
2172 | <object class="GtkSpinButton" id="GNUNET_GTK_publish_directory_dialog_expiration_year_spin_button"> | ||
2173 | <property name="visible">True</property> | ||
2174 | <property name="can_focus">True</property> | ||
2175 | <property name="invisible_char">•</property> | ||
2176 | <property name="invisible_char_set">True</property> | ||
2177 | <property name="primary_icon_sensitive">True</property> | ||
2178 | <property name="secondary_icon_sensitive">True</property> | ||
2179 | <property name="adjustment">expiration_year_adjustment</property> | ||
2180 | </object> | ||
2181 | <packing> | ||
2182 | <property name="expand">False</property> | ||
2183 | <property name="fill">False</property> | ||
2184 | <property name="position">1</property> | ||
2185 | </packing> | ||
2186 | </child> | ||
2187 | <child> | ||
2188 | <object class="GtkLabel" id="GNUNET_GTK_publish_directory_dialog_anonymity_label"> | ||
2189 | <property name="visible">True</property> | ||
2190 | <property name="label" translatable="yes">Anonymity:</property> | ||
2191 | </object> | ||
2192 | <packing> | ||
2193 | <property name="expand">False</property> | ||
2194 | <property name="padding">5</property> | ||
2195 | <property name="position">2</property> | ||
2196 | </packing> | ||
2197 | </child> | ||
2198 | <child> | ||
2199 | <object class="GtkAlignment" id="GNUNET_GTK_publish_directory_dialog_anonymity_combobox_alignment"> | ||
2200 | <property name="visible">True</property> | 1703 | <property name="visible">True</property> |
2201 | <property name="yscale">0</property> | 1704 | <property name="can_focus">False</property> |
2202 | <child> | 1705 | <child> |
2203 | <object class="GtkComboBox" id="GNUNET_GTK_publish_directory_dialog_anonymity_combobox"> | 1706 | <object class="GtkCheckMenuItem" id="GNUNET_GTK_main_menu_view_metadata"> |
1707 | <property name="use_action_appearance">False</property> | ||
2204 | <property name="visible">True</property> | 1708 | <property name="visible">True</property> |
2205 | <property name="model">main_window_search_anonymity_liststore</property> | 1709 | <property name="can_focus">False</property> |
2206 | <property name="active">1</property> | 1710 | <property name="tooltip_text" translatable="yes">Show meta data in main window</property> |
2207 | <child> | 1711 | <property name="label" translatable="yes">Metadata</property> |
2208 | <object class="GtkCellRendererText" id="GNUNET_GTK_publish_directory_dialog_anonymity_combobox_renderer"/> | 1712 | <property name="use_underline">True</property> |
2209 | <attributes> | 1713 | <property name="active">True</property> |
2210 | <attribute name="foreground">2</attribute> | 1714 | <signal name="toggled" handler="GNUNET_GTK_main_menu_view_metadata_toggled_cb" swapped="no"/> |
2211 | <attribute name="text">0</attribute> | 1715 | </object> |
2212 | </attributes> | 1716 | </child> |
2213 | </child> | 1717 | <child> |
2214 | <child> | 1718 | <object class="GtkCheckMenuItem" id="GNUNET_GTK_main_menu_view_preview"> |
2215 | <object class="GtkCellRendererText" id="GNUNET_GTK_publish_directory_dialog_anonymity_combobox_renerer_level"/> | 1719 | <property name="use_action_appearance">False</property> |
2216 | <attributes> | 1720 | <property name="visible">True</property> |
2217 | <attribute name="text">1</attribute> | 1721 | <property name="can_focus">False</property> |
2218 | </attributes> | 1722 | <property name="tooltip_text" translatable="yes">Show preview (when available)</property> |
2219 | </child> | 1723 | <property name="label" translatable="yes">Preview</property> |
1724 | <property name="use_underline">True</property> | ||
1725 | <property name="active">True</property> | ||
1726 | <signal name="toggled" handler="GNUNET_GTK_main_menu_view_preview_toggled_cb" swapped="no"/> | ||
1727 | </object> | ||
1728 | </child> | ||
1729 | <child> | ||
1730 | <object class="GtkCheckMenuItem" id="GNUNET_GTK_main_menu_search_preview"> | ||
1731 | <property name="use_action_appearance">False</property> | ||
1732 | <property name="visible">True</property> | ||
1733 | <property name="can_focus">False</property> | ||
1734 | <property name="tooltip_text" translatable="yes">Show search box in main window</property> | ||
1735 | <property name="label" translatable="yes">Search</property> | ||
1736 | <property name="use_underline">True</property> | ||
1737 | <property name="active">True</property> | ||
1738 | <signal name="toggled" handler="GNUNET_GTK_main_menu_view_search_toggled_cb" swapped="no"/> | ||
2220 | </object> | 1739 | </object> |
2221 | </child> | 1740 | </child> |
2222 | </object> | 1741 | </object> |
2223 | <packing> | ||
2224 | <property name="expand">False</property> | ||
2225 | <property name="fill">False</property> | ||
2226 | <property name="position">3</property> | ||
2227 | </packing> | ||
2228 | </child> | 1742 | </child> |
2229 | </object> | 1743 | </object> |
2230 | <packing> | ||
2231 | <property name="expand">False</property> | ||
2232 | <property name="fill">False</property> | ||
2233 | <property name="position">1</property> | ||
2234 | </packing> | ||
2235 | </child> | 1744 | </child> |
2236 | <child> | 1745 | <child> |
2237 | <object class="GtkHBox" id="hbox10"> | 1746 | <object class="GtkMenuItem" id="GNUNET_GTK_main_menu_help"> |
1747 | <property name="use_action_appearance">False</property> | ||
2238 | <property name="visible">True</property> | 1748 | <property name="visible">True</property> |
2239 | <child> | 1749 | <property name="can_focus">False</property> |
2240 | <object class="GtkLabel" id="GNUNET_GTK_publish_directory_dialog_replication_label"> | 1750 | <property name="label" translatable="yes">_Help</property> |
2241 | <property name="visible">True</property> | 1751 | <property name="use_underline">True</property> |
2242 | <property name="label" translatable="yes">_Replication:</property> | 1752 | <child type="submenu"> |
2243 | <property name="use_underline">True</property> | 1753 | <object class="GtkMenu" id="GNUNET_GTK_main_menu_help_abou"> |
2244 | </object> | ||
2245 | <packing> | ||
2246 | <property name="expand">False</property> | ||
2247 | <property name="padding">20</property> | ||
2248 | <property name="position">0</property> | ||
2249 | </packing> | ||
2250 | </child> | ||
2251 | <child> | ||
2252 | <object class="GtkSpinButton" id="GNUNET_GTK_publish_directory_dialog_replication_spin_button"> | ||
2253 | <property name="visible">True</property> | 1754 | <property name="visible">True</property> |
2254 | <property name="can_focus">True</property> | 1755 | <property name="can_focus">False</property> |
2255 | <property name="invisible_char">●</property> | 1756 | <child> |
2256 | <property name="numeric">True</property> | 1757 | <object class="GtkImageMenuItem" id="GNUNET_GTK_main_menu_help_about"> |
1758 | <property name="label">gtk-about</property> | ||
1759 | <property name="use_action_appearance">False</property> | ||
1760 | <property name="visible">True</property> | ||
1761 | <property name="can_focus">False</property> | ||
1762 | <property name="tooltip_text" translatable="yes">Display information about this version of gnunet-fs-gtk</property> | ||
1763 | <property name="accel_path"><gnunet-fs-gtk>/Help/About</property> | ||
1764 | <property name="use_underline">True</property> | ||
1765 | <property name="use_stock">True</property> | ||
1766 | <signal name="activate" handler="GNUNET_GTK_main_menu_help_about_activate_cb" swapped="no"/> | ||
1767 | </object> | ||
1768 | </child> | ||
2257 | </object> | 1769 | </object> |
2258 | <packing> | ||
2259 | <property name="expand">False</property> | ||
2260 | <property name="padding">1</property> | ||
2261 | <property name="position">1</property> | ||
2262 | </packing> | ||
2263 | </child> | ||
2264 | <child> | ||
2265 | <placeholder/> | ||
2266 | </child> | ||
2267 | <child> | ||
2268 | <placeholder/> | ||
2269 | </child> | 1770 | </child> |
2270 | </object> | 1771 | </object> |
2271 | <packing> | ||
2272 | <property name="expand">False</property> | ||
2273 | <property name="position">2</property> | ||
2274 | </packing> | ||
2275 | </child> | 1772 | </child> |
2276 | </object> | 1773 | </object> |
2277 | <packing> | 1774 | <packing> |
2278 | <property name="expand">False</property> | 1775 | <property name="expand">False</property> |
2279 | <property name="fill">False</property> | 1776 | <property name="fill">True</property> |
2280 | <property name="position">2</property> | 1777 | <property name="position">1</property> |
2281 | </packing> | 1778 | </packing> |
2282 | </child> | 1779 | </child> |
2283 | <child internal-child="action_area"> | 1780 | <child> |
2284 | <object class="GtkHButtonBox" id="dialog-action_area6"> | 1781 | <object class="GtkHBox" id="main_window_search_hbox"> |
2285 | <property name="visible">True</property> | 1782 | <property name="visible">True</property> |
2286 | <property name="layout_style">end</property> | 1783 | <property name="can_focus">False</property> |
1784 | <property name="border_width">3</property> | ||
1785 | <property name="spacing">4</property> | ||
2287 | <child> | 1786 | <child> |
2288 | <object class="GtkButton" id="GNUNET_GTK_publish_dialog_cancel_button"> | 1787 | <object class="GtkLabel" id="main_window_search_namespace_label"> |
2289 | <property name="label">gtk-cancel</property> | ||
2290 | <property name="visible">True</property> | 1788 | <property name="visible">True</property> |
2291 | <property name="can_focus">True</property> | 1789 | <property name="can_focus">False</property> |
2292 | <property name="receives_default">True</property> | 1790 | <property name="label" translatable="yes">Namespace:</property> |
2293 | <property name="use_stock">True</property> | ||
2294 | </object> | 1791 | </object> |
2295 | <packing> | 1792 | <packing> |
2296 | <property name="expand">False</property> | 1793 | <property name="expand">False</property> |
@@ -2299,13 +1796,11 @@ | |||
2299 | </packing> | 1796 | </packing> |
2300 | </child> | 1797 | </child> |
2301 | <child> | 1798 | <child> |
2302 | <object class="GtkButton" id="GNUNET_GTK_publish_directory_dialog_ok_button"> | 1799 | <object class="GtkLabel" id="main_window_search_selected_namespace_label"> |
2303 | <property name="label">gtk-ok</property> | ||
2304 | <property name="visible">True</property> | 1800 | <property name="visible">True</property> |
2305 | <property name="can_focus">True</property> | 1801 | <property name="can_focus">False</property> |
2306 | <property name="can_default">True</property> | 1802 | <property name="label"><none></property> |
2307 | <property name="receives_default">True</property> | 1803 | <property name="single_line_mode">True</property> |
2308 | <property name="use_stock">True</property> | ||
2309 | </object> | 1804 | </object> |
2310 | <packing> | 1805 | <packing> |
2311 | <property name="expand">False</property> |