aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-08-01 18:57:41 +0000
committerChristian Grothoff <christian@grothoff.org>2010-08-01 18:57:41 +0000
commitd8f13c490340d16f8a301d6228fad7d17ebd1789 (patch)
treec30640db20d61d4dea900d3baa85885435fbfe28
parente47572ea55377c135c4c28f226632cc61c9abca9 (diff)
downloadgnunet-gtk-d8f13c490340d16f8a301d6228fad7d17ebd1789.tar.gz
gnunet-gtk-d8f13c490340d16f8a301d6228fad7d17ebd1789.zip
dialog
-rw-r--r--contrib/Makefile.am2
-rw-r--r--contrib/advertise_pseudonym_dialog.glade603
-rw-r--r--contrib/main-window.glade96
-rw-r--r--contrib/select_pseudonym_dialog.glade109
4 files changed, 770 insertions, 40 deletions
diff --git a/contrib/Makefile.am b/contrib/Makefile.am
index c9fcf249..6291b0bc 100644
--- a/contrib/Makefile.am
+++ b/contrib/Makefile.am
@@ -9,6 +9,7 @@ EXTRA_DIST = \
9 9
10pkgdata_DATA = \ 10pkgdata_DATA = \
11 about.glade \ 11 about.glade \
12 advertise_pseudonym_dialog.glade \
12 create_namespace_dialog.glade \ 13 create_namespace_dialog.glade \
13 download_as.glade \ 14 download_as.glade \
14 main_tab_new_frame.glade \ 15 main_tab_new_frame.glade \
@@ -22,6 +23,7 @@ pkgdata_DATA = \
22 publish_tab.glade \ 23 publish_tab.glade \
23 search_dialog.glade \ 24 search_dialog.glade \
24 search_tab.glade \ 25 search_tab.glade \
26 select_pseudonym_dialog.glade \
25 status_bar_menu.glade 27 status_bar_menu.glade
26 28
27install-data-local: 29install-data-local:
diff --git a/contrib/advertise_pseudonym_dialog.glade b/contrib/advertise_pseudonym_dialog.glade
new file mode 100644
index 00000000..43068cfe
--- /dev/null
+++ b/contrib/advertise_pseudonym_dialog.glade
@@ -0,0 +1,603 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<interface>
3 <requires lib="gtk+" version="2.20"/>
4 <!-- interface-naming-policy project-wide -->
5 <object class="GtkListStore" id="GNUNET_GTK_metatype_list_store">
6 <columns>
7 <!-- column-name description -->
8 <column type="gchararray"/>
9 <!-- column-name guint1 -->
10 <column type="guint"/>
11 <!-- column-name helptext -->
12 <column type="gchararray"/>
13 </columns>
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="GtkDialog" id="GNUNET_GTK_advertise_pseudonym_dialog">
28 <property name="border_width">5</property>
29 <property name="title" translatable="yes">Advertise namespace</property>
30 <property name="destroy_with_parent">True</property>
31 <property name="type_hint">dialog</property>
32 <property name="skip_taskbar_hint">True</property>
33 <property name="has_separator">False</property>
34 <child internal-child="vbox">
35 <object class="GtkVBox" id="GNUNET_GTK_advertise_pseudonym_master_vbox">
36 <property name="visible">True</property>
37 <property name="spacing">2</property>
38 <child>
39 <object class="GtkHBox" id="GNUNET_GTK_advertise_pseudonym_metadata_hbox">
40 <property name="visible">True</property>
41 <child>
42 <object class="GtkVBox" id="GNUNET_GTK_advertise_pseudonym_metadata_vbox">
43 <property name="visible">True</property>
44 <property name="spacing">5</property>
45 <child>
46 <object class="GtkHBox" id="GNUNET_GTK_advertise_pseudonym_metadata_edit_hbox">
47 <property name="visible">True</property>
48 <child>
49 <object class="GtkLabel" id="GNUNET_GTK_advertise_pseudonym_metadata_type_label">
50 <property name="visible">True</property>
51 <property name="label" translatable="yes">Type:</property>
52 </object>
53 <packing>
54 <property name="expand">False</property>
55 <property name="fill">False</property>
56 <property name="position">0</property>
57 </packing>
58 </child>
59 <child>
60 <object class="GtkScrolledWindow" id="GNUNET_GTK_advertise_pseudonym_metadata_type_scrolled_window">
61 <property name="height_request">100</property>
62 <property name="visible">True</property>
63 <property name="can_focus">True</property>
64 <property name="hscrollbar_policy">never</property>
65 <property name="vscrollbar_policy">automatic</property>
66 <child>
67 <object class="GtkTreeView" id="GNUNET_GTK_advertise_pseudonym_metadata_type_tree_view">
68 <property name="visible">True</property>
69 <property name="can_focus">True</property>
70 <property name="model">GNUNET_GTK_metatype_list_store</property>
71 <property name="headers_visible">False</property>
72 <property name="headers_clickable">False</property>
73 <property name="reorderable">True</property>
74 <property name="enable_search">False</property>
75 <property name="tooltip_column">2</property>
76 <child>
77 <object class="GtkTreeViewColumn" id="GNUNET_GTK_advertise_pseudonym_metadata_type_tree_view_column">
78 <property name="title" translatable="yes">Value</property>
79 <property name="sort_column_id">0</property>
80 <child>
81 <object class="GtkCellRendererText" id="GNUNET_GTK_advertise_pseudonym_metadata_type_tree_view_renderer"/>
82 <attributes>
83 <attribute name="text">0</attribute>
84 </attributes>
85 </child>
86 </object>
87 </child>
88 </object>
89 </child>
90 </object>
91 <packing>
92 <property name="position">1</property>
93 </packing>
94 </child>
95 <child>
96 <object class="GtkLabel" id="GNUNET_GTK_advertise_pseudonym_metadata_value_label">
97 <property name="visible">True</property>
98 <property name="label" translatable="yes">Value:</property>
99 </object>
100 <packing>
101 <property name="expand">False</property>
102 <property name="fill">False</property>
103 <property name="padding">5</property>
104 <property name="position">2</property>
105 </packing>
106 </child>
107 <child>
108 <object class="GtkEntry" id="GNUNET_GTK_advertise_pseudonym_metadata_value_entry">
109 <property name="visible">True</property>
110 <property name="can_focus">True</property>
111 <property name="invisible_char">●</property>
112 <signal name="changed" handler="GNUNET_GTK_advertise_pseudonym_metadata_value_entry_changed_cb" swapped="no"/>
113 </object>
114 <packing>
115 <property name="position">3</property>
116 </packing>
117 </child>
118 </object>
119 <packing>
120 <property name="expand">False</property>
121 <property name="fill">False</property>
122 <property name="position">0</property>
123 </packing>
124 </child>
125 <child>
126 <object class="GtkScrolledWindow" id="GNUNET_GTK_advertise_pseudonym_metadata_scrolled_window">
127 <property name="width_request">400</property>
128 <property name="height_request">120</property>
129 <property name="visible">True</property>
130 <property name="can_focus">False</property>
131 <property name="hscrollbar_policy">automatic</property>
132 <property name="vscrollbar_policy">automatic</property>
133 <child>
134 <object class="GtkTreeView" id="GNUNET_GTK_advertise_pseudonym_metadata_tree_view">
135 <property name="visible">True</property>
136 <property name="can_focus">True</property>
137 <property name="model">GNUNET_GTK_meta_data_list_store</property>
138 <property name="enable_search">False</property>
139 <child>
140 <object class="GtkTreeViewColumn" id="GNUNET_GTK_advertise_pseudonym_metadata_tree_view_type_column">
141 <property name="sizing">fixed</property>
142 <property name="fixed_width">120</property>
143 <property name="title" translatable="yes">Type</property>
144 <property name="reorderable">True</property>
145 <property name="sort_column_id">2</property>
146 <child>
147 <object class="GtkCellRendererText" id="GNUNET_GTK_advertise_pseudonym_metadata_tree_view_type_renderer"/>
148 <attributes>
149 <attribute name="text">2</attribute>
150 </attributes>
151 </child>
152 </object>
153 </child>
154 <child>
155 <object class="GtkTreeViewColumn" id="GNUNET_GTK_advertise_pseudonym_metadata_tree_view_description_column">
156 <property name="title" translatable="yes">Value</property>
157 <property name="expand">True</property>
158 <property name="reorderable">True</property>
159 <property name="sort_column_id">3</property>
160 <child>
161 <object class="GtkCellRendererText" id="GNUNET_GTK_advertise_pseudonym_metadata_tree_view_value_renderer"/>
162 <attributes>
163 <attribute name="text">3</attribute>
164 </attributes>
165 </child>
166 </object>
167 </child>
168 </object>
169 </child>
170 </object>
171 <packing>
172 <property name="position">1</property>
173 </packing>
174 </child>
175 </object>
176 <packing>
177 <property name="position">0</property>
178 </packing>
179 </child>
180 <child>
181 <object class="GtkVBox" id="GNUNET_GTK_advertise_pseudonym_metadata_button_vbox">
182 <property name="visible">True</property>
183 <child>
184 <object class="GtkButton" id="GNUNET_GTK_advertise_pseudonym_metadata_add_button">
185 <property name="label">gtk-add</property>
186 <property name="visible">True</property>
187 <property name="sensitive">False</property>
188 <property name="can_focus">True</property>
189 <property name="receives_default">True</property>
190 <property name="use_action_appearance">False</property>
191 <property name="use_stock">True</property>
192 <signal name="clicked" handler="GNUNET_GTK_advertise_pseudonym_metadata_add_button_clicked_cb" swapped="no"/>
193 </object>
194 <packing>
195 <property name="expand">False</property>
196 <property name="fill">False</property>
197 <property name="position">0</property>
198 </packing>
199 </child>
200 <child>
201 <object class="GtkButton" id="GNUNET_GTK_advertise_pseudonym_metadata_delete_button">
202 <property name="label">gtk-delete</property>
203 <property name="visible">True</property>
204 <property name="sensitive">False</property>
205 <property name="can_focus">True</property>
206 <property name="receives_default">True</property>
207 <property name="use_action_appearance">False</property>
208 <property name="use_stock">True</property>
209 <signal name="clicked" handler="GNUNET_GTK_advertise_pseudonym_metadata_delete_button_clicked_cb" swapped="no"/>
210 </object>
211 <packing>
212 <property name="expand">False</property>
213 <property name="fill">False</property>
214 <property name="padding">5</property>
215 <property name="position">1</property>
216 </packing>
217 </child>
218 <child>
219 <object class="GtkLabel" id="GNUNET_GTK_advertise_pseudonym_metadata_preview_label">
220 <property name="visible">True</property>
221 <property name="label" translatable="yes">Preview:</property>
222 </object>
223 <packing>
224 <property name="expand">False</property>
225 <property name="fill">False</property>
226 <property name="padding">10</property>
227 <property name="position">2</property>
228 </packing>
229 </child>
230 <child>
231 <object class="GtkImage" id="GNUNET_GTK_advertise_pseudonym_metadata_preview_image">
232 <property name="sensitive">False</property>
233 <property name="stock">gtk-missing-image</property>
234 </object>
235 <packing>
236 <property name="position">3</property>
237 </packing>
238 </child>
239 <child>
240 <object class="GtkFileChooserButton" id="GNUNET_GTK_advertise_pseudonym_metadata_preview_file_chooser_button">
241 <property name="create_folders">False</property>
242 <property name="title" translatable="yes">Select file</property>
243 <signal name="file-set" handler="GNUNET_GTK_advertise_pseudonym_metadata_preview_file_chooser_button_file_set_cb" swapped="no"/>
244 </object>
245 <packing>
246 <property name="expand">False</property>
247 <property name="fill">False</property>
248 <property name="position">4</property>
249 </packing>
250 </child>
251 </object>
252 <packing>
253 <property name="padding">5</property>
254 <property name="position">1</property>
255 </packing>
256 </child>
257 </object>
258 <packing>
259 <property name="position">1</property>
260 </packing>
261 </child>
262 <child>
263 <object class="GtkHBox" id="GNUNET_GTK_advertise_pseudonym_secondary_hbox">
264 <property name="visible">True</property>
265 <child>
266 <object class="GtkVBox" id="GNUNET_GTK_advertise_pseudonym_keyword_entry_vbox">
267 <property name="visible">True</property>
268 <child>
269 <object class="GtkHBox" id="GNUNET_GTK_advertise_pseudonym_keyword_hbox">
270 <property name="visible">True</property>
271 <child>
272 <object class="GtkLabel" id="GNUNET_GTK_advertise_pseudonym_keyword_label">
273 <property name="visible">True</property>
274 <property name="label" translatable="yes">_Keyword:</property>
275 <property name="use_underline">True</property>
276 <property name="mnemonic_widget">GNUNET_GTK_advertise_pseudonym_keyword_entry</property>
277 </object>
278 <packing>
279 <property name="expand">False</property>
280 <property name="fill">False</property>
281 <property name="position">0</property>
282 </packing>
283 </child>
284 <child>
285 <object class="GtkEntry" id="GNUNET_GTK_advertise_pseudonym_keyword_entry">
286 <property name="visible">True</property>
287 <property name="can_focus">True</property>
288 <property name="invisible_char">●</property>
289 <property name="caps_lock_warning">False</property>
290 <signal name="changed" handler="GNUNET_GTK_advertise_pseudonym_keyword_entry_changed_cb" swapped="no"/>
291 <signal name="activate" handler="GNUNET_GTK_advertise_pseudonym_keyword_entry_activate_cb" swapped="no"/>
292 </object>
293 <packing>
294 <property name="position">1</property>
295 </packing>
296 </child>
297 </object>
298 <packing>
299 <property name="expand">False</property>
300 <property name="fill">False</property>
301 <property name="padding">5</property>
302 <property name="position">0</property>
303 </packing>
304 </child>
305 <child>
306 <object class="GtkHBox" id="GNUNET_GTK_advertise_pseudonym_keyword_list_hbox">
307 <property name="visible">True</property>
308 <child>
309 <object class="GtkScrolledWindow" id="GNUNET_GTK_advertise_pseudonym_keyword_scrolled_window">
310 <property name="width_request">400</property>
311 <property name="height_request">120</property>
312 <property name="visible">True</property>
313 <property name="can_focus">False</property>
314 <property name="hscrollbar_policy">never</property>
315 <property name="vscrollbar_policy">automatic</property>
316 <child>
317 <object class="GtkTreeView" id="GNUNET_GTK_advertise_pseudonym_keyword_list_tree_view">
318 <property name="visible">True</property>
319 <property name="can_focus">True</property>
320 <property name="model">GNUNET_GTK_keyword_list_store</property>
321 <property name="search_column">0</property>
322 <child>
323 <object class="GtkTreeViewColumn" id="GNUNET_GTK_advertise_pseudonym_keyword_list_tree_view_column">
324 <property name="title" translatable="yes">Keywords</property>
325 <property name="reorderable">True</property>
326 <property name="sort_column_id">0</property>
327 <child>
328 <object class="GtkCellRendererText" id="GNUNET_GTK_advertise_pseudonym_keyword_list_tree_view_renderer"/>
329 <attributes>
330 <attribute name="text">0</attribute>
331 </attributes>
332 </child>
333 </object>
334 </child>
335 </object>
336 </child>
337 </object>
338 <packing>
339 <property name="position">0</property>
340 </packing>
341 </child>
342 <child>
343 <object class="GtkVBox" id="GNUNET_GTK_advertise_pseudonym_keyword_list_button_vbox">
344 <property name="visible">True</property>
345 <child>
346 <object class="GtkButton" id="GNUNET_GTK_advertise_pseudonym_keyword_list_add_button">
347 <property name="label">gtk-add</property>
348 <property name="visible">True</property>
349 <property name="sensitive">False</property>
350 <property name="can_focus">True</property>
351 <property name="receives_default">True</property>
352 <property name="use_action_appearance">False</property>
353 <property name="use_stock">True</property>
354 <signal name="clicked" handler="GNUNET_GTK_advertise_pseudonym_keyword_list_add_button_clicked_cb" swapped="no"/>
355 </object>
356 <packing>
357 <property name="expand">False</property>
358 <property name="fill">False</property>
359 <property name="position">0</property>
360 </packing>
361 </child>
362 <child>
363 <object class="GtkButton" id="GNUNET_GTK_advertise_pseudonym_keyword_list_del_button">
364 <property name="label">gtk-delete</property>
365 <property name="visible">True</property>
366 <property name="sensitive">False</property>
367 <property name="can_focus">True</property>
368 <property name="receives_default">True</property>
369 <property name="use_action_appearance">False</property>
370 <property name="use_stock">True</property>
371 <signal name="clicked" handler="GNUNET_GTK_advertise_pseudonym_keyword_list_del_button_clicked_cb" swapped="no"/>
372 </object>
373 <packing>
374 <property name="expand">False</property>
375 <property name="fill">False</property>
376 <property name="padding">5</property>
377 <property name="position">1</property>
378 </packing>
379 </child>
380 <child>
381 <object class="GtkButton" id="GNUNET_GTK_advertise_pseudonym_keyword_list_normalize_button">
382 <property name="label" translatable="yes">_Normalize</property>
383 <property name="sensitive">False</property>
384 <property name="can_focus">True</property>
385 <property name="receives_default">True</property>
386 <property name="use_action_appearance">False</property>
387 <property name="use_underline">True</property>
388 <signal name="clicked" handler="GNUNET_GTK_advertise_pseudonym_keyword_list_normalize_button_clicked_cb" swapped="no"/>
389 </object>
390 <packing>
391 <property name="expand">False</property>
392 <property name="fill">False</property>
393 <property name="position">2</property>
394 </packing>
395 </child>
396 </object>
397 <packing>
398 <property name="expand">False</property>
399 <property name="fill">False</property>
400 <property name="padding">5</property>
401 <property name="position">1</property>
402 </packing>
403 </child>
404 </object>
405 <packing>
406 <property name="position">1</property>
407 </packing>
408 </child>
409 </object>
410 <packing>
411 <property name="padding">5</property>
412 <property name="position">0</property>
413 </packing>
414 </child>
415 <child>
416 <object class="GtkVBox" id="GNUNET_GTK_advertise_pseudonym_misc_vbox">
417 <property name="visible">True</property>
418 <child>
419 <object class="GtkLabel" id="GNUNET_GTK_advertise_pseudonym_options_label">
420 <property name="visible">True</property>
421 <property name="label" translatable="yes">Options</property>
422 <property name="justify">center</property>
423 </object>
424 <packing>
425 <property name="expand">False</property>
426 <property name="fill">False</property>
427 <property name="padding">5</property>
428 <property name="position">0</property>
429 </packing>
430 </child>
431 <child>
432 <object class="GtkHSeparator" id="hseparator3">
433 <property name="visible">True</property>
434 </object>
435 <packing>
436 <property name="expand">False</property>
437 <property name="padding">5</property>
438 <property name="position">1</property>
439 </packing>
440 </child>
441 <child>
442 <object class="GtkHBox" id="GNUNET_GTK_advertise_pseudonym_anonymity_hbox">
443 <property name="visible">True</property>
444 <child>
445 <object class="GtkLabel" id="GNUNET_GTK_advertise_pseudonym_anonymity_label">
446 <property name="visible">True</property>
447 <property name="label" translatable="yes">_Anonymity</property>
448 <property name="use_underline">True</property>
449 </object>
450 <packing>
451 <property name="expand">False</property>
452 <property name="fill">False</property>
453 <property name="padding">5</property>
454 <property name="position">0</property>
455 </packing>
456 </child>
457 <child>
458 <object class="GtkSpinButton" id="GNUNET_GTK_advertise_pseudonym_anonymity_spin_button">
459 <property name="visible">True</property>
460 <property name="can_focus">True</property>
461 <property name="tooltip_markup">Anonymity of zero means no anonymity. Values larger than one require GNUnet to have cover traffic (with larger values implying more cover traffic).</property>
462 <property name="invisible_char">●</property>
463 <property name="adjustment">GNUNET_GTK_anonymity_adjustment</property>
464 <signal name="value-changed" handler="GNUNET_GTK_anonymity_spin_button_value_changed_cb" after="yes" swapped="no"/>
465 </object>
466 <packing>
467 <property name="position">1</property>
468 </packing>
469 </child>
470 </object>
471 <packing>
472 <property name="expand">False</property>
473 <property name="fill">False</property>
474 <property name="position">2</property>
475 </packing>
476 </child>
477 <child>
478 <object class="GtkHSeparator" id="hseparator1">
479 <property name="visible">True</property>
480 </object>
481 <packing>
482 <property name="expand">False</property>
483 <property name="fill">False</property>
484 <property name="padding">10</property>
485 <property name="position">3</property>
486 </packing>
487 </child>
488 <child>
489 <object class="GtkHBox" id="GNUNET_GTK_advertise_pseudonym_priority_hbox">
490 <property name="visible">True</property>
491 <child>
492 <object class="GtkLabel" id="GNUNET_GTK_advertise_pseudonym_priority_label">
493 <property name="visible">True</property>
494 <property name="label" translatable="yes">_Priority</property>
495 <property name="use_underline">True</property>
496 </object>
497 <packing>
498 <property name="expand">False</property>
499 <property name="padding">5</property>
500 <property name="position">0</property>
501 </packing>
502 </child>
503 <child>
504 <object class="GtkSpinButton" id="GNUNET_GTK_advertise_pseudonym_priority_spin_button">
505 <property name="visible">True</property>
506 <property name="can_focus">True</property>
507 <property name="tooltip_markup">The content priority determines when content is discarded in favour of other, more popular content. </property>
508 <property name="invisible_char">●</property>
509 <property name="adjustment">priority_adjustment</property>
510 <property name="numeric">True</property>
511 </object>
512 <packing>
513 <property name="position">1</property>
514 </packing>
515 </child>
516 </object>
517 <packing>
518 <property name="expand">False</property>
519 <property name="fill">False</property>
520 <property name="position">4</property>
521 </packing>
522 </child>
523 </object>
524 <packing>
525 <property name="expand">False</property>
526 <property name="fill">False</property>
527 <property name="padding">11</property>
528 <property name="position">1</property>
529 </packing>
530 </child>
531 </object>
532 <packing>
533 <property name="padding">5</property>
534 <property name="position">2</property>
535 </packing>
536 </child>
537 <child internal-child="action_area">
538 <object class="GtkHButtonBox" id="dialog-action_area13">
539 <property name="visible">True</property>
540 <property name="layout_style">end</property>
541 <child>
542 <object class="GtkButton" id="GNUNET_GTK_advertise_pseudonym_cancel_button">
543 <property name="label">gtk-cancel</property>
544 <property name="visible">True</property>
545 <property name="can_focus">True</property>
546 <property name="receives_default">True</property>
547 <property name="use_action_appearance">False</property>
548 <property name="use_stock">True</property>
549 </object>
550 <packing>
551 <property name="expand">False</property>
552 <property name="fill">False</property>
553 <property name="position">0</property>
554 </packing>
555 </child>
556 <child>
557 <object class="GtkButton" id="GNUNET_GTK_advertise_pseudonym_confirm_button">
558 <property name="label">gtk-ok</property>
559 <property name="visible">True</property>
560 <property name="can_focus">True</property>
561 <property name="receives_default">True</property>
562 <property name="use_action_appearance">False</property>
563 <property name="use_stock">True</property>
564 </object>
565 <packing>
566 <property name="expand">False</property>
567 <property name="fill">False</property>
568 <property name="position">1</property>
569 </packing>
570 </child>
571 </object>
572 <packing>
573 <property name="expand">False</property>
574 <property name="pack_type">end</property>
575 <property name="position">0</property>
576 </packing>
577 </child>
578 </object>
579 </child>
580 <action-widgets>
581 <action-widget response="-6">GNUNET_GTK_advertise_pseudonym_cancel_button</action-widget>
582 <action-widget response="-5">GNUNET_GTK_advertise_pseudonym_confirm_button</action-widget>
583 </action-widgets>
584 </object>
585 <object class="GtkListStore" id="GNUNET_GTK_keyword_list_store">
586 <columns>
587 <!-- column-name keyword -->
588 <column type="gchararray"/>
589 </columns>
590 </object>
591 <object class="GtkAdjustment" id="GNUNET_GTK_anonymity_adjustment">
592 <property name="upper">100000</property>
593 <property name="value">1</property>
594 <property name="step_increment">1</property>
595 <property name="page_increment">10</property>
596 </object>
597 <object class="GtkAdjustment" id="priority_adjustment">
598 <property name="upper">10000000</property>
599 <property name="value">1000</property>
600 <property name="step_increment">1</property>
601 <property name="page_increment">10</property>
602 </object>
603</interface>
diff --git a/contrib/main-window.glade b/contrib/main-window.glade
index 1c1f061b..a8f50ff7 100644
--- a/contrib/main-window.glade
+++ b/contrib/main-window.glade
@@ -2,25 +2,35 @@
2<interface> 2<interface>
3 <requires lib="gtk+" version="2.20"/> 3 <requires lib="gtk+" version="2.20"/>
4 <!-- interface-naming-policy project-wide --> 4 <!-- interface-naming-policy project-wide -->
5 <object class="GtkImage" id="image5"> 5 <object class="GtkImage" id="image6">
6 <property name="visible">True</property>
7 <property name="stock">gtk-go-down</property>
8 </object>
9 <object class="GtkImage" id="image4">
10 <property name="visible">True</property>
11 <property name="stock">gtk-find</property>
12 </object>
13 <object class="GtkImage" id="image1">
14 <property name="visible">True</property> 6 <property name="visible">True</property>
15 <property name="stock">gtk-open</property> 7 <property name="stock">gtk-index</property>
16 </object> 8 </object>
17 <object class="GtkImage" id="image3"> 9 <object class="GtkListStore" id="GNUNET_GTK_peer_info_list_store">
18 <property name="visible">True</property> 10 <columns>
19 <property name="stock">gtk-new</property> 11 <!-- column-name peer_identity -->
12 <column type="gchararray"/>
13 <!-- column-name number_of_known_addresses -->
14 <column type="guint"/>
15 <!-- column-name country_name -->
16 <column type="gchararray"/>
17 <!-- column-name country_flag -->
18 <column type="GdkPixbuf"/>
19 <!-- column-name bandwidth -->
20 <column type="guint64"/>
21 </columns>
20 </object> 22 </object>
21 <object class="GtkImage" id="image2"> 23 <object class="GtkListStore" id="GNUNET_GTK_meta_data_list_store">
22 <property name="visible">True</property> 24 <columns>
23 <property name="stock">gtk-go-up</property> 25 <!-- column-name extractor_meta_type -->
26 <column type="guint"/>
27 <!-- column-name extractor_meta_format -->
28 <column type="guint"/>
29 <!-- column-name extractor_meta_type_string -->
30 <column type="gchararray"/>
31 <!-- column-name extracotr_meta_value -->
32 <column type="gchararray"/>
33 </columns>
24 </object> 34 </object>
25 <object class="GtkWindow" id="GNUNET_GTK_main_window"> 35 <object class="GtkWindow" id="GNUNET_GTK_main_window">
26 <property name="title" translatable="yes">gnunet-gtk</property> 36 <property name="title" translatable="yes">gnunet-gtk</property>
@@ -59,6 +69,18 @@
59 </object> 69 </object>
60 </child> 70 </child>
61 <child> 71 <child>
72 <object class="GtkImageMenuItem" id="GNUNET_GTK_main_menu_file_advertise_pseudonym">
73 <property name="label" translatable="yes">_Advertise Pseudonym</property>
74 <property name="visible">True</property>
75 <property name="sensitive">False</property>
76 <property name="use_action_appearance">False</property>
77 <property name="use_underline">True</property>
78 <property name="image">image6</property>
79 <property name="use_stock">False</property>
80 <signal name="activate" handler="GNUNET_GTK_main_menu_file_advertise_pseudonym_activate_cb" swapped="no"/>
81 </object>
82 </child>
83 <child>
62 <object class="GtkImageMenuItem" id="GNUNET_GTK_main_menu_file_publish"> 84 <object class="GtkImageMenuItem" id="GNUNET_GTK_main_menu_file_publish">
63 <property name="label" translatable="yes">_Publish</property> 85 <property name="label" translatable="yes">_Publish</property>
64 <property name="visible">True</property> 86 <property name="visible">True</property>
@@ -448,30 +470,24 @@
448 </object> 470 </object>
449 </child> 471 </child>
450 </object> 472 </object>
451 <object class="GtkListStore" id="GNUNET_GTK_meta_data_list_store"> 473 <object class="GtkImage" id="image2">
452 <columns> 474 <property name="visible">True</property>
453 <!-- column-name extractor_meta_type --> 475 <property name="stock">gtk-go-up</property>
454 <column type="guint"/>
455 <!-- column-name extractor_meta_format -->
456 <column type="guint"/>
457 <!-- column-name extractor_meta_type_string -->
458 <column type="gchararray"/>
459 <!-- column-name extracotr_meta_value -->
460 <column type="gchararray"/>
461 </columns>
462 </object> 476 </object>
463 <object class="GtkListStore" id="GNUNET_GTK_peer_info_list_store"> 477 <object class="GtkImage" id="image3">
464 <columns> 478 <property name="visible">True</property>
465 <!-- column-name peer_identity --> 479 <property name="stock">gtk-new</property>
466 <column type="gchararray"/> 480 </object>
467 <!-- column-name number_of_known_addresses --> 481 <object class="GtkImage" id="image1">
468 <column type="guint"/> 482 <property name="visible">True</property>
469 <!-- column-name country_name --> 483 <property name="stock">gtk-open</property>
470 <column type="gchararray"/> 484 </object>
471 <!-- column-name country_flag --> 485 <object class="GtkImage" id="image4">
472 <column type="GdkPixbuf"/> 486 <property name="visible">True</property>
473 <!-- column-name bandwidth --> 487 <property name="stock">gtk-find</property>
474 <column type="guint64"/> 488 </object>
475 </columns> 489 <object class="GtkImage" id="image5">
490 <property name="visible">True</property>
491 <property name="stock">gtk-go-down</property>
476 </object> 492 </object>
477</interface> 493</interface>
diff --git a/contrib/select_pseudonym_dialog.glade b/contrib/select_pseudonym_dialog.glade
new file mode 100644
index 00000000..d0c8f059
--- /dev/null
+++ b/contrib/select_pseudonym_dialog.glade
@@ -0,0 +1,109 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<interface>
3 <requires lib="gtk+" version="2.20"/>
4 <!-- interface-naming-policy project-wide -->
5 <object class="GtkListStore" id="GNUNET_GTK_select_pseudonym_liststore">
6 <columns>
7 <!-- column-name namespace_name -->
8 <column type="gchararray"/>
9 <!-- column-name namespace_handle -->
10 <column type="gpointer"/>
11 </columns>
12 </object>
13 <object class="GtkDialog" id="GNUNET_GTK_select_pseudonym_dialog">
14 <property name="border_width">5</property>
15 <property name="title" translatable="yes">Select pseudonym...</property>
16 <property name="modal">True</property>
17 <property name="type_hint">normal</property>
18 <property name="has_separator">False</property>
19 <child internal-child="vbox">
20 <object class="GtkVBox" id="GNUNET_GTK_select_pseudonym_dialog_vbox">
21 <property name="visible">True</property>
22 <property name="spacing">2</property>
23 <child>
24 <object class="GtkScrolledWindow" id="GNUNET_GTK_select_pseudonym_scrolledwindow">
25 <property name="visible">True</property>
26 <property name="can_focus">True</property>
27 <property name="hscrollbar_policy">automatic</property>
28 <property name="vscrollbar_policy">automatic</property>
29 <child>
30 <object class="GtkTreeView" id="GNUNET_GTK_select_pseudonym_tree_view">
31 <property name="visible">True</property>
32 <property name="can_focus">True</property>
33 <property name="model">GNUNET_GTK_select_pseudonym_liststore</property>
34 <child>
35 <object class="GtkTreeViewColumn" id="GNUNET_GTK_select_pseudonym_tree_view_column">
36 <property name="title" translatable="yes">Name</property>
37 <property name="expand">True</property>
38 <property name="clickable">True</property>
39 <property name="reorderable">True</property>
40 <property name="sort_indicator">True</property>
41 <property name="sort_column_id">0</property>
42 <child>
43 <object class="GtkCellRendererText" id="GNUNET_GTK_select_pseudonym_name_renderer"/>
44 <attributes>
45 <attribute name="text">0</attribute>
46 </attributes>
47 </child>
48 </object>
49 </child>
50 </object>
51 </child>
52 </object>
53 <packing>
54 <property name="position">1</property>
55 </packing>
56 </child>
57 <child>
58 <placeholder/>
59 </child>
60 <child internal-child="action_area">
61 <object class="GtkHButtonBox" id="GNUNET_GTK_select_pseudonym_dialog_action_area">
62 <property name="visible">True</property>
63 <property name="layout_style">end</property>
64 <child>
65 <object class="GtkButton" id="GNUNET_GTK_select_pseudonym_cancel_button">
66 <property name="label">gtk-cancel</property>
67 <property name="visible">True</property>
68 <property name="can_focus">True</property>
69 <property name="receives_default">True</property>
70 <property name="use_action_appearance">False</property>
71 <property name="use_stock">True</property>
72 </object>
73 <packing>
74 <property name="expand">False</property>
75 <property name="fill">False</property>
76 <property name="position">0</property>
77 </packing>
78 </child>
79 <child>
80 <object class="GtkButton" id="GNUNET_GTK_select_pseudonym_ok_button">
81 <property name="label">gtk-ok</property>
82 <property name="visible">True</property>
83 <property name="sensitive">False</property>
84 <property name="can_focus">True</property>
85 <property name="receives_default">True</property>
86 <property name="use_action_appearance">False</property>
87 <property name="use_stock">True</property>
88 </object>
89 <packing>
90 <property name="expand">False</property>
91 <property name="fill">False</property>
92 <property name="position">1</property>
93 </packing>
94 </child>
95 </object>
96 <packing>
97 <property name="expand">False</property>
98 <property name="pack_type">end</property>
99 <property name="position">0</property>
100 </packing>
101 </child>
102 </object>
103 </child>
104 <action-widgets>
105 <action-widget response="-5">GNUNET_GTK_select_pseudonym_cancel_button</action-widget>
106 <action-widget response="-6">GNUNET_GTK_select_pseudonym_ok_button</action-widget>
107 </action-widgets>
108 </object>
109</interface>