aboutsummaryrefslogtreecommitdiff
path: root/src/interface.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/interface.c')
-rw-r--r--src/interface.c1541
1 files changed, 1541 insertions, 0 deletions
diff --git a/src/interface.c b/src/interface.c
new file mode 100644
index 00000000..3f1dae74
--- /dev/null
+++ b/src/interface.c
@@ -0,0 +1,1541 @@
1/*
2 * DO NOT EDIT THIS FILE - it is generated by Glade.
3 */
4
5#ifdef HAVE_CONFIG_H
6# include <config.h>
7#endif
8
9#include <sys/types.h>
10#include <sys/stat.h>
11#include <unistd.h>
12#include <string.h>
13
14#include <gdk/gdkkeysyms.h>
15#include <gtk/gtk.h>
16
17#include "callbacks.h"
18#include "interface.h"
19#include "support.h"
20
21GtkWidget*
22create_mainWindow (void)
23{
24 GtkWidget *mainWindow;
25 GtkWidget *vbox1;
26 GtkWidget *menubar1;
27 guint tmp_key;
28 GtkWidget *quit1;
29 GtkWidget *help1;
30 GtkWidget *help1_menu;
31 GtkAccelGroup *help1_menu_accels;
32 GtkWidget *about;
33 GtkWidget *mainnotebook;
34 GtkWidget *scrolledwindow1;
35 GtkWidget *viewport1;
36 GtkWidget *scrolledwindow2;
37 GtkWidget *viewport2;
38 GtkWidget *vbox2;
39 GtkWidget *frame3;
40 GtkWidget *hbox2;
41 guint startDaemon_key;
42 GtkWidget *startDaemon;
43 guint stopDaemon_key;
44 GtkWidget *stopDaemon;
45 GtkWidget *statusPixmap;
46 GtkWidget *frame2;
47 GtkWidget *statisticsLabel;
48 GtkWidget *frame1;
49 GtkWidget *scrolledwindow5;
50 GtkWidget *clist2;
51 GtkWidget *label15;
52 GtkWidget *label1;
53 GtkWidget *empty_notebook_page;
54 GtkWidget *statusfstab;
55 GtkWidget *fsnotebook;
56 GtkWidget *vbox5;
57 GtkWidget *frame8;
58 GtkWidget *scrolledwindow9;
59 GtkWidget *clist7;
60 GtkWidget *label41;
61 GtkWidget *label42;
62 GtkWidget *label43;
63 GtkWidget *label44;
64 GtkWidget *frame9;
65 GtkWidget *scrolledwindow7;
66 GtkWidget *clist5;
67 GtkWidget *label26;
68 GtkWidget *label27;
69 GtkWidget *label28;
70 GtkWidget *label29;
71 GtkWidget *label30;
72 GtkWidget *frame10;
73 GtkWidget *scrolledwindow8;
74 GtkWidget *clist6;
75 GtkWidget *label31;
76 GtkWidget *label32;
77 GtkWidget *label33;
78 GtkWidget *label34;
79 GtkWidget *label35;
80 GtkWidget *statusfstab;
81 GtkWidget *vbox7;
82 GtkWidget *notebook6;
83 GtkWidget *label36;
84 GtkWidget *hbox4;
85 GtkWidget *combo2;
86 GtkWidget *combo_entry2;
87 guint fssearchbutton_key;
88 GtkWidget *fssearchbutton;
89 GtkWidget *label40;
90 GtkWidget *optionmenu1;
91 GtkWidget *optionmenu1_menu;
92 GtkWidget *glade_menuitem;
93 GtkWidget *downloadfstab;
94 GtkWidget *vbox9;
95 GtkWidget *hbox8;
96 GSList *method_group = NULL;
97 GtkWidget *indexbutton;
98 GtkWidget *insertButton;
99 GtkWidget *hbox9;
100 GSList *recursive_group = NULL;
101 GtkWidget *radiobutton2;
102 GtkWidget *radiobutton3;
103 GtkWidget *hbox10;
104 guint label54_key;
105 GtkWidget *label54;
106 GtkWidget *combo1;
107 GtkWidget *combo_entry1;
108 GtkWidget *button9;
109 GtkWidget *insertfstab;
110 GtkWidget *vbox6;
111 GtkWidget *menubar2;
112 GtkWidget *createNamespace;
113 GtkWidget *createNamespace_menu;
114 GtkAccelGroup *createNamespace_menu_accels;
115 GtkWidget *namespace1;
116 GtkWidget *directory1;
117 GtkWidget *collection1;
118 GtkWidget *advertisement1;
119 GtkWidget *delete1;
120 GtkWidget *delete1_menu;
121 GtkAccelGroup *delete1_menu_accels;
122 GtkWidget *namespace2;
123 GtkWidget *collection2;
124 GtkWidget *notebook4;
125 GtkWidget *label39;
126 GtkWidget *frame11;
127 GtkWidget *scrolledwindow3;
128 GtkWidget *viewport3;
129 GtkWidget *scrolledwindow4;
130 GtkWidget *clist1;
131 GtkWidget *label12;
132 GtkWidget *label13;
133 GtkWidget *label14;
134 GtkWidget *advancedfstab;
135 GtkWidget *fstab;
136 GtkWidget *vbox3;
137 GtkWidget *label5;
138 GtkWidget *vbox4;
139 GtkWidget *notebook3;
140 GtkWidget *label38;
141 GtkWidget *combo3;
142 GList *combo3_items = NULL;
143 GtkWidget *combo_entry3;
144 GtkWidget *label6;
145 GtkWidget *statusbar;
146 GtkAccelGroup *accel_group;
147 GtkTooltips *tooltips;
148
149 tooltips = gtk_tooltips_new ();
150
151 accel_group = gtk_accel_group_new ();
152
153 mainWindow = gtk_window_new (GTK_WINDOW_TOPLEVEL);
154 gtk_widget_set_name (mainWindow, "mainWindow");
155 gtk_object_set_data (GTK_OBJECT (mainWindow), "mainWindow", mainWindow);
156 gtk_window_set_title (GTK_WINDOW (mainWindow), _("gnunet-gtk"));
157
158 vbox1 = gtk_vbox_new (FALSE, 0);
159 gtk_widget_set_name (vbox1, "vbox1");
160 gtk_widget_ref (vbox1);
161 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "vbox1", vbox1,
162 (GtkDestroyNotify) gtk_widget_unref);
163 gtk_widget_show (vbox1);
164 gtk_container_add (GTK_CONTAINER (mainWindow), vbox1);
165
166 menubar1 = gtk_menu_bar_new ();
167 gtk_widget_set_name (menubar1, "menubar1");
168 gtk_widget_ref (menubar1);
169 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "menubar1", menubar1,
170 (GtkDestroyNotify) gtk_widget_unref);
171 gtk_widget_show (menubar1);
172 gtk_box_pack_start (GTK_BOX (vbox1), menubar1, FALSE, FALSE, 0);
173
174 quit1 = gtk_menu_item_new_with_label ("");
175 tmp_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (quit1)->child),
176 _("_Quit"));
177 gtk_widget_add_accelerator (quit1, "activate_item", accel_group,
178 tmp_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
179 gtk_widget_set_name (quit1, "quit1");
180 gtk_widget_ref (quit1);
181 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "quit1", quit1,
182 (GtkDestroyNotify) gtk_widget_unref);
183 gtk_widget_show (quit1);
184 gtk_container_add (GTK_CONTAINER (menubar1), quit1);
185
186 help1 = gtk_menu_item_new_with_label ("");
187 tmp_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (help1)->child),
188 _("_Help"));
189 gtk_widget_add_accelerator (help1, "activate_item", accel_group,
190 tmp_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
191 gtk_widget_set_name (help1, "help1");
192 gtk_widget_ref (help1);
193 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "help1", help1,
194 (GtkDestroyNotify) gtk_widget_unref);
195 gtk_widget_show (help1);
196 gtk_container_add (GTK_CONTAINER (menubar1), help1);
197
198 help1_menu = gtk_menu_new ();
199 gtk_widget_set_name (help1_menu, "help1_menu");
200 gtk_widget_ref (help1_menu);
201 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "help1_menu", help1_menu,
202 (GtkDestroyNotify) gtk_widget_unref);
203 gtk_menu_item_set_submenu (GTK_MENU_ITEM (help1), help1_menu);
204 help1_menu_accels = gtk_menu_ensure_uline_accel_group (GTK_MENU (help1_menu));
205
206 about = gtk_menu_item_new_with_label ("");
207 tmp_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (about)->child),
208 _("_About"));
209 gtk_widget_add_accelerator (about, "activate_item", help1_menu_accels,
210 tmp_key, 0, 0);
211 gtk_widget_set_name (about, "about");
212 gtk_widget_ref (about);
213 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "about", about,
214 (GtkDestroyNotify) gtk_widget_unref);
215 gtk_widget_show (about);
216 gtk_container_add (GTK_CONTAINER (help1_menu), about);
217 gtk_widget_add_accelerator (about, "activate", accel_group,
218 GDK_F1, 0,
219 GTK_ACCEL_VISIBLE);
220
221 mainnotebook = gtk_notebook_new ();
222 gtk_widget_set_name (mainnotebook, "mainnotebook");
223 gtk_widget_ref (mainnotebook);
224 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "mainnotebook", mainnotebook,
225 (GtkDestroyNotify) gtk_widget_unref);
226 gtk_widget_show (mainnotebook);
227 gtk_box_pack_start (GTK_BOX (vbox1), mainnotebook, TRUE, TRUE, 0);
228 gtk_notebook_set_scrollable (GTK_NOTEBOOK (mainnotebook), TRUE);
229
230 scrolledwindow1 = gtk_scrolled_window_new (NULL, NULL);
231 gtk_widget_set_name (scrolledwindow1, "scrolledwindow1");
232 gtk_widget_ref (scrolledwindow1);
233 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "scrolledwindow1", scrolledwindow1,
234 (GtkDestroyNotify) gtk_widget_unref);
235 gtk_widget_show (scrolledwindow1);
236 gtk_container_add (GTK_CONTAINER (mainnotebook), scrolledwindow1);
237 gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow1), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
238
239 viewport1 = gtk_viewport_new (NULL, NULL);
240 gtk_widget_set_name (viewport1, "viewport1");
241 gtk_widget_ref (viewport1);
242 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "viewport1", viewport1,
243 (GtkDestroyNotify) gtk_widget_unref);
244 gtk_widget_show (viewport1);
245 gtk_container_add (GTK_CONTAINER (scrolledwindow1), viewport1);
246
247 scrolledwindow2 = gtk_scrolled_window_new (NULL, NULL);
248 gtk_widget_set_name (scrolledwindow2, "scrolledwindow2");
249 gtk_widget_ref (scrolledwindow2);
250 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "scrolledwindow2", scrolledwindow2,
251 (GtkDestroyNotify) gtk_widget_unref);
252 gtk_widget_show (scrolledwindow2);
253 gtk_container_add (GTK_CONTAINER (viewport1), scrolledwindow2);
254 gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow2), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
255
256 viewport2 = gtk_viewport_new (NULL, NULL);
257 gtk_widget_set_name (viewport2, "viewport2");
258 gtk_widget_ref (viewport2);
259 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "viewport2", viewport2,
260 (GtkDestroyNotify) gtk_widget_unref);
261 gtk_widget_show (viewport2);
262 gtk_container_add (GTK_CONTAINER (scrolledwindow2), viewport2);
263
264 vbox2 = gtk_vbox_new (FALSE, 0);
265 gtk_widget_set_name (vbox2, "vbox2");
266 gtk_widget_ref (vbox2);
267 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "vbox2", vbox2,
268 (GtkDestroyNotify) gtk_widget_unref);
269 gtk_widget_show (vbox2);
270 gtk_container_add (GTK_CONTAINER (viewport2), vbox2);
271
272 frame3 = gtk_frame_new (_("gnunetd control"));
273 gtk_widget_set_name (frame3, "frame3");
274 gtk_widget_ref (frame3);
275 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "frame3", frame3,
276 (GtkDestroyNotify) gtk_widget_unref);
277 gtk_widget_show (frame3);
278 gtk_box_pack_start (GTK_BOX (vbox2), frame3, FALSE, FALSE, 0);
279
280 hbox2 = gtk_hbox_new (FALSE, 0);
281 gtk_widget_set_name (hbox2, "hbox2");
282 gtk_widget_ref (hbox2);
283 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "hbox2", hbox2,
284 (GtkDestroyNotify) gtk_widget_unref);
285 gtk_widget_show (hbox2);
286 gtk_container_add (GTK_CONTAINER (frame3), hbox2);
287
288 startDaemon = gtk_button_new_with_label ("");
289 startDaemon_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (startDaemon)->child),
290 _("_start gnunetd"));
291 gtk_widget_add_accelerator (startDaemon, "clicked", accel_group,
292 startDaemon_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
293 gtk_widget_set_name (startDaemon, "startDaemon");
294 gtk_widget_ref (startDaemon);
295 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "startDaemon", startDaemon,
296 (GtkDestroyNotify) gtk_widget_unref);
297 gtk_widget_show (startDaemon);
298 gtk_box_pack_start (GTK_BOX (hbox2), startDaemon, TRUE, TRUE, 0);
299 gtk_tooltips_set_tip (tooltips, startDaemon, _("connect to GNUnet"), NULL);
300
301 stopDaemon = gtk_button_new_with_label ("");
302 stopDaemon_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (stopDaemon)->child),
303 _("s_top gnunetd"));
304 gtk_widget_add_accelerator (stopDaemon, "clicked", accel_group,
305 stopDaemon_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
306 gtk_widget_set_name (stopDaemon, "stopDaemon");
307 gtk_widget_ref (stopDaemon);
308 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "stopDaemon", stopDaemon,
309 (GtkDestroyNotify) gtk_widget_unref);
310 gtk_widget_show (stopDaemon);
311 gtk_box_pack_start (GTK_BOX (hbox2), stopDaemon, TRUE, TRUE, 0);
312 gtk_tooltips_set_tip (tooltips, stopDaemon, _("disconnect from GNUnet"), NULL);
313
314 statusPixmap = create_pixmap (mainWindow, NULL);
315 gtk_widget_set_name (statusPixmap, "statusPixmap");
316 gtk_widget_ref (statusPixmap);
317 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "statusPixmap", statusPixmap,
318 (GtkDestroyNotify) gtk_widget_unref);
319 gtk_widget_show (statusPixmap);
320 gtk_box_pack_start (GTK_BOX (hbox2), statusPixmap, FALSE, FALSE, 0);
321
322 frame2 = gtk_frame_new (_("Statistics"));
323 gtk_widget_set_name (frame2, "frame2");
324 gtk_widget_ref (frame2);
325 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "frame2", frame2,
326 (GtkDestroyNotify) gtk_widget_unref);
327 gtk_widget_show (frame2);
328 gtk_box_pack_start (GTK_BOX (vbox2), frame2, TRUE, TRUE, 0);
329
330 statisticsLabel = gtk_label_new (_("Unavailable.\n"));
331 gtk_widget_set_name (statisticsLabel, "statisticsLabel");
332 gtk_widget_ref (statisticsLabel);
333 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "statisticsLabel", statisticsLabel,
334 (GtkDestroyNotify) gtk_widget_unref);
335 gtk_widget_show (statisticsLabel);
336 gtk_container_add (GTK_CONTAINER (frame2), statisticsLabel);
337 gtk_label_set_justify (GTK_LABEL (statisticsLabel), GTK_JUSTIFY_LEFT);
338 gtk_label_set_line_wrap (GTK_LABEL (statisticsLabel), TRUE);
339
340 frame1 = gtk_frame_new (_("Available Applications"));
341 gtk_widget_set_name (frame1, "frame1");
342 gtk_widget_ref (frame1);
343 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "frame1", frame1,
344 (GtkDestroyNotify) gtk_widget_unref);
345 gtk_widget_show (frame1);
346 gtk_box_pack_start (GTK_BOX (vbox2), frame1, TRUE, TRUE, 0);
347
348 scrolledwindow5 = gtk_scrolled_window_new (NULL, NULL);
349 gtk_widget_set_name (scrolledwindow5, "scrolledwindow5");
350 gtk_widget_ref (scrolledwindow5);
351 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "scrolledwindow5", scrolledwindow5,
352 (GtkDestroyNotify) gtk_widget_unref);
353 gtk_widget_show (scrolledwindow5);
354 gtk_container_add (GTK_CONTAINER (frame1), scrolledwindow5);
355 gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow5), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
356
357 clist2 = gtk_clist_new (1);
358 gtk_widget_set_name (clist2, "clist2");
359 gtk_widget_ref (clist2);
360 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "clist2", clist2,
361 (GtkDestroyNotify) gtk_widget_unref);
362 gtk_widget_show (clist2);
363 gtk_container_add (GTK_CONTAINER (scrolledwindow5), clist2);
364 gtk_clist_set_column_width (GTK_CLIST (clist2), 0, 80);
365 gtk_clist_column_titles_show (GTK_CLIST (clist2));
366
367 label15 = gtk_label_new (_("Modules"));
368 gtk_widget_set_name (label15, "label15");
369 gtk_widget_ref (label15);
370 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "label15", label15,
371 (GtkDestroyNotify) gtk_widget_unref);
372 gtk_widget_show (label15);
373 gtk_clist_set_column_widget (GTK_CLIST (clist2), 0, label15);
374
375 label1 = gtk_label_new ("");
376 gtk_label_parse_uline (GTK_LABEL (label1),
377 _("_General"));
378 gtk_widget_set_name (label1, "label1");
379 gtk_widget_ref (label1);
380 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "label1", label1,
381 (GtkDestroyNotify) gtk_widget_unref);
382 gtk_widget_show (label1);
383 gtk_notebook_set_tab_label (GTK_NOTEBOOK (mainnotebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (mainnotebook), 0), label1);
384
385 empty_notebook_page = gtk_vbox_new (FALSE, 0);
386 gtk_widget_show (empty_notebook_page);
387 gtk_container_add (GTK_CONTAINER (mainnotebook), empty_notebook_page);
388
389 statusfstab = gtk_label_new ("");
390 gtk_label_parse_uline (GTK_LABEL (statusfstab),
391 _("S_tatus"));
392 gtk_widget_set_name (statusfstab, "statusfstab");
393 gtk_widget_ref (statusfstab);
394 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "statusfstab", statusfstab,
395 (GtkDestroyNotify) gtk_widget_unref);
396 gtk_widget_show (statusfstab);
397 gtk_notebook_set_tab_label (GTK_NOTEBOOK (mainnotebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (mainnotebook), 1), statusfstab);
398
399 fsnotebook = gtk_notebook_new ();
400 gtk_widget_set_name (fsnotebook, "fsnotebook");
401 gtk_widget_ref (fsnotebook);
402 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "fsnotebook", fsnotebook,
403 (GtkDestroyNotify) gtk_widget_unref);
404 gtk_widget_show (fsnotebook);
405 gtk_container_add (GTK_CONTAINER (mainnotebook), fsnotebook);
406
407 vbox5 = gtk_vbox_new (FALSE, 0);
408 gtk_widget_set_name (vbox5, "vbox5");
409 gtk_widget_ref (vbox5);
410 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "vbox5", vbox5,
411 (GtkDestroyNotify) gtk_widget_unref);
412 gtk_widget_show (vbox5);
413 gtk_container_add (GTK_CONTAINER (fsnotebook), vbox5);
414
415 frame8 = gtk_frame_new (_("Search Results"));
416 gtk_widget_set_name (frame8, "frame8");
417 gtk_widget_ref (frame8);
418 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "frame8", frame8,
419 (GtkDestroyNotify) gtk_widget_unref);
420 gtk_widget_show (frame8);
421 gtk_box_pack_start (GTK_BOX (vbox5), frame8, TRUE, TRUE, 0);
422
423 scrolledwindow9 = gtk_scrolled_window_new (NULL, NULL);
424 gtk_widget_set_name (scrolledwindow9, "scrolledwindow9");
425 gtk_widget_ref (scrolledwindow9);
426 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "scrolledwindow9", scrolledwindow9,
427 (GtkDestroyNotify) gtk_widget_unref);
428 gtk_widget_show (scrolledwindow9);
429 gtk_container_add (GTK_CONTAINER (frame8), scrolledwindow9);
430 gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow9), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
431
432 clist7 = gtk_clist_new (4);
433 gtk_widget_set_name (clist7, "clist7");
434 gtk_widget_ref (clist7);
435 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "clist7", clist7,
436 (GtkDestroyNotify) gtk_widget_unref);
437 gtk_widget_show (clist7);
438 gtk_container_add (GTK_CONTAINER (scrolledwindow9), clist7);
439 gtk_clist_set_column_width (GTK_CLIST (clist7), 0, 77);
440 gtk_clist_set_column_width (GTK_CLIST (clist7), 1, 40);
441 gtk_clist_set_column_width (GTK_CLIST (clist7), 2, 80);
442 gtk_clist_set_column_width (GTK_CLIST (clist7), 3, 37);
443 gtk_clist_column_titles_show (GTK_CLIST (clist7));
444
445 label41 = gtk_label_new (_("filename"));
446 gtk_widget_set_name (label41, "label41");
447 gtk_widget_ref (label41);
448 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "label41", label41,
449 (GtkDestroyNotify) gtk_widget_unref);
450 gtk_widget_show (label41);
451 gtk_clist_set_column_widget (GTK_CLIST (clist7), 0, label41);
452
453 label42 = gtk_label_new (_("size"));
454 gtk_widget_set_name (label42, "label42");
455 gtk_widget_ref (label42);
456 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "label42", label42,
457 (GtkDestroyNotify) gtk_widget_unref);
458 gtk_widget_show (label42);
459 gtk_clist_set_column_widget (GTK_CLIST (clist7), 1, label42);
460
461 label43 = gtk_label_new (_("mime-type"));
462 gtk_widget_set_name (label43, "label43");
463 gtk_widget_ref (label43);
464 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "label43", label43,
465 (GtkDestroyNotify) gtk_widget_unref);
466 gtk_widget_show (label43);
467 gtk_clist_set_column_widget (GTK_CLIST (clist7), 2, label43);
468
469 label44 = gtk_label_new (_("description"));
470 gtk_widget_set_name (label44, "label44");
471 gtk_widget_ref (label44);
472 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "label44", label44,
473 (GtkDestroyNotify) gtk_widget_unref);
474 gtk_widget_show (label44);
475 gtk_clist_set_column_widget (GTK_CLIST (clist7), 3, label44);
476
477 frame9 = gtk_frame_new (_("Downloads"));
478 gtk_widget_set_name (frame9, "frame9");
479 gtk_widget_ref (frame9);
480 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "frame9", frame9,
481 (GtkDestroyNotify) gtk_widget_unref);
482 gtk_widget_show (frame9);
483 gtk_box_pack_start (GTK_BOX (vbox5), frame9, TRUE, TRUE, 0);
484
485 scrolledwindow7 = gtk_scrolled_window_new (NULL, NULL);
486 gtk_widget_set_name (scrolledwindow7, "scrolledwindow7");
487 gtk_widget_ref (scrolledwindow7);
488 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "scrolledwindow7", scrolledwindow7,
489 (GtkDestroyNotify) gtk_widget_unref);
490 gtk_widget_show (scrolledwindow7);
491 gtk_container_add (GTK_CONTAINER (frame9), scrolledwindow7);
492 gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow7), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
493
494 clist5 = gtk_clist_new (5);
495 gtk_widget_set_name (clist5, "clist5");
496 gtk_widget_ref (clist5);
497 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "clist5", clist5,
498 (GtkDestroyNotify) gtk_widget_unref);
499 gtk_widget_show (clist5);
500 gtk_container_add (GTK_CONTAINER (scrolledwindow7), clist5);
501 gtk_clist_set_column_width (GTK_CLIST (clist5), 0, 80);
502 gtk_clist_set_column_width (GTK_CLIST (clist5), 1, 39);
503 gtk_clist_set_column_width (GTK_CLIST (clist5), 2, 85);
504 gtk_clist_set_column_width (GTK_CLIST (clist5), 3, 84);
505 gtk_clist_set_column_width (GTK_CLIST (clist5), 4, 118);
506 gtk_clist_column_titles_show (GTK_CLIST (clist5));
507
508 label26 = gtk_label_new (_("filename"));
509 gtk_widget_set_name (label26, "label26");
510 gtk_widget_ref (label26);
511 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "label26", label26,
512 (GtkDestroyNotify) gtk_widget_unref);
513 gtk_widget_show (label26);
514 gtk_clist_set_column_widget (GTK_CLIST (clist5), 0, label26);
515
516 label27 = gtk_label_new (_("size"));
517 gtk_widget_set_name (label27, "label27");
518 gtk_widget_ref (label27);
519 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "label27", label27,
520 (GtkDestroyNotify) gtk_widget_unref);
521 gtk_widget_show (label27);
522 gtk_clist_set_column_widget (GTK_CLIST (clist5), 1, label27);
523
524 label28 = gtk_label_new (_("mime-type"));
525 gtk_widget_set_name (label28, "label28");
526 gtk_widget_ref (label28);
527 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "label28", label28,
528 (GtkDestroyNotify) gtk_widget_unref);
529 gtk_widget_show (label28);
530 gtk_clist_set_column_widget (GTK_CLIST (clist5), 2, label28);
531
532 label29 = gtk_label_new (_("progress"));
533 gtk_widget_set_name (label29, "label29");
534 gtk_widget_ref (label29);
535 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "label29", label29,
536 (GtkDestroyNotify) gtk_widget_unref);
537 gtk_widget_show (label29);
538 gtk_clist_set_column_widget (GTK_CLIST (clist5), 3, label29);
539
540 label30 = gtk_label_new (_("description"));
541 gtk_widget_set_name (label30, "label30");
542 gtk_widget_ref (label30);
543 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "label30", label30,
544 (GtkDestroyNotify) gtk_widget_unref);
545 gtk_widget_show (label30);
546 gtk_clist_set_column_widget (GTK_CLIST (clist5), 4, label30);
547
548 frame10 = gtk_frame_new (_("Uploads"));
549 gtk_widget_set_name (frame10, "frame10");
550 gtk_widget_ref (frame10);
551 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "frame10", frame10,
552 (GtkDestroyNotify) gtk_widget_unref);
553 gtk_widget_show (frame10);
554 gtk_box_pack_start (GTK_BOX (vbox5), frame10, TRUE, TRUE, 0);
555
556 scrolledwindow8 = gtk_scrolled_window_new (NULL, NULL);
557 gtk_widget_set_name (scrolledwindow8, "scrolledwindow8");
558 gtk_widget_ref (scrolledwindow8);
559 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "scrolledwindow8", scrolledwindow8,
560 (GtkDestroyNotify) gtk_widget_unref);
561 gtk_widget_show (scrolledwindow8);
562 gtk_container_add (GTK_CONTAINER (frame10), scrolledwindow8);
563 gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow8), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
564
565 clist6 = gtk_clist_new (5);
566 gtk_widget_set_name (clist6, "clist6");
567 gtk_widget_ref (clist6);
568 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "clist6", clist6,
569 (GtkDestroyNotify) gtk_widget_unref);
570 gtk_widget_show (clist6);
571 gtk_container_add (GTK_CONTAINER (scrolledwindow8), clist6);
572 gtk_clist_set_column_width (GTK_CLIST (clist6), 0, 78);
573 gtk_clist_set_column_width (GTK_CLIST (clist6), 1, 38);
574 gtk_clist_set_column_width (GTK_CLIST (clist6), 2, 80);
575 gtk_clist_set_column_width (GTK_CLIST (clist6), 3, 84);
576 gtk_clist_set_column_width (GTK_CLIST (clist6), 4, 24);
577 gtk_clist_column_titles_show (GTK_CLIST (clist6));
578
579 label31 = gtk_label_new (_("filename"));
580 gtk_widget_set_name (label31, "label31");
581 gtk_widget_ref (label31);
582 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "label31", label31,
583 (GtkDestroyNotify) gtk_widget_unref);
584 gtk_widget_show (label31);
585 gtk_clist_set_column_widget (GTK_CLIST (clist6), 0, label31);
586
587 label32 = gtk_label_new (_("size"));
588 gtk_widget_set_name (label32, "label32");
589 gtk_widget_ref (label32);
590 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "label32", label32,
591 (GtkDestroyNotify) gtk_widget_unref);
592 gtk_widget_show (label32);
593 gtk_clist_set_column_widget (GTK_CLIST (clist6), 1, label32);
594
595 label33 = gtk_label_new (_("mime-type"));
596 gtk_widget_set_name (label33, "label33");
597 gtk_widget_ref (label33);
598 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "label33", label33,
599 (GtkDestroyNotify) gtk_widget_unref);
600 gtk_widget_show (label33);
601 gtk_clist_set_column_widget (GTK_CLIST (clist6), 2, label33);
602
603 label34 = gtk_label_new (_("progress"));
604 gtk_widget_set_name (label34, "label34");
605 gtk_widget_ref (label34);
606 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "label34", label34,
607 (GtkDestroyNotify) gtk_widget_unref);
608 gtk_widget_show (label34);
609 gtk_clist_set_column_widget (GTK_CLIST (clist6), 3, label34);
610
611 label35 = gtk_label_new (_("keywords"));
612 gtk_widget_set_name (label35, "label35");
613 gtk_widget_ref (label35);
614 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "label35", label35,
615 (GtkDestroyNotify) gtk_widget_unref);
616 gtk_widget_show (label35);
617 gtk_clist_set_column_widget (GTK_CLIST (clist6), 4, label35);
618
619 statusfstab = gtk_label_new ("");
620 gtk_label_parse_uline (GTK_LABEL (statusfstab),
621 _("S_tatus"));
622 gtk_widget_set_name (statusfstab, "statusfstab");
623 gtk_widget_ref (statusfstab);
624 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "statusfstab", statusfstab,
625 (GtkDestroyNotify) gtk_widget_unref);
626 gtk_widget_show (statusfstab);
627 gtk_notebook_set_tab_label (GTK_NOTEBOOK (fsnotebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (fsnotebook), 0), statusfstab);
628
629 vbox7 = gtk_vbox_new (FALSE, 0);
630 gtk_widget_set_name (vbox7, "vbox7");
631 gtk_widget_ref (vbox7);
632 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "vbox7", vbox7,
633 (GtkDestroyNotify) gtk_widget_unref);
634 gtk_widget_show (vbox7);
635 gtk_container_add (GTK_CONTAINER (fsnotebook), vbox7);
636
637 notebook6 = gtk_notebook_new ();
638 gtk_widget_set_name (notebook6, "notebook6");
639 gtk_widget_ref (notebook6);
640 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "notebook6", notebook6,
641 (GtkDestroyNotify) gtk_widget_unref);
642 gtk_widget_show (notebook6);
643 gtk_box_pack_start (GTK_BOX (vbox7), notebook6, TRUE, TRUE, 0);
644
645 empty_notebook_page = gtk_vbox_new (FALSE, 0);
646 gtk_widget_show (empty_notebook_page);
647 gtk_container_add (GTK_CONTAINER (notebook6), empty_notebook_page);
648
649 label36 = gtk_label_new (_("label36"));
650 gtk_widget_set_name (label36, "label36");
651 gtk_widget_ref (label36);
652 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "label36", label36,
653 (GtkDestroyNotify) gtk_widget_unref);
654 gtk_widget_show (label36);
655 gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook6), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook6), 0), label36);
656
657 hbox4 = gtk_hbox_new (FALSE, 0);
658 gtk_widget_set_name (hbox4, "hbox4");
659 gtk_widget_ref (hbox4);
660 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "hbox4", hbox4,
661 (GtkDestroyNotify) gtk_widget_unref);
662 gtk_widget_show (hbox4);
663 gtk_box_pack_start (GTK_BOX (vbox7), hbox4, FALSE, FALSE, 0);
664
665 combo2 = gtk_combo_new ();
666 gtk_widget_set_name (combo2, "combo2");
667 gtk_widget_ref (combo2);
668 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "combo2", combo2,
669 (GtkDestroyNotify) gtk_widget_unref);
670 gtk_widget_show (combo2);
671 gtk_box_pack_start (GTK_BOX (hbox4), combo2, TRUE, TRUE, 0);
672
673 combo_entry2 = GTK_COMBO (combo2)->entry;
674 gtk_widget_set_name (combo_entry2, "combo_entry2");
675 gtk_widget_ref (combo_entry2);
676 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "combo_entry2", combo_entry2,
677 (GtkDestroyNotify) gtk_widget_unref);
678 gtk_widget_show (combo_entry2);
679
680 fssearchbutton = gtk_button_new_with_label ("");
681 fssearchbutton_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (fssearchbutton)->child),
682 _("_search"));
683 gtk_widget_add_accelerator (fssearchbutton, "clicked", accel_group,
684 fssearchbutton_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
685 gtk_widget_set_name (fssearchbutton, "fssearchbutton");
686 gtk_widget_ref (fssearchbutton);
687 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "fssearchbutton", fssearchbutton,
688 (GtkDestroyNotify) gtk_widget_unref);
689 gtk_widget_show (fssearchbutton);
690 gtk_box_pack_start (GTK_BOX (hbox4), fssearchbutton, FALSE, FALSE, 0);
691
692 label40 = gtk_label_new (_("in namespace"));
693 gtk_widget_set_name (label40, "label40");
694 gtk_widget_ref (label40);
695 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "label40", label40,
696 (GtkDestroyNotify) gtk_widget_unref);
697 gtk_widget_show (label40);
698 gtk_box_pack_start (GTK_BOX (hbox4), label40, FALSE, FALSE, 0);
699 gtk_misc_set_padding (GTK_MISC (label40), 8, 0);
700
701 optionmenu1 = gtk_option_menu_new ();
702 gtk_widget_set_name (optionmenu1, "optionmenu1");
703 gtk_widget_ref (optionmenu1);
704 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "optionmenu1", optionmenu1,
705 (GtkDestroyNotify) gtk_widget_unref);
706 gtk_widget_show (optionmenu1);
707 gtk_box_pack_start (GTK_BOX (hbox4), optionmenu1, FALSE, FALSE, 0);
708 optionmenu1_menu = gtk_menu_new ();
709 glade_menuitem = gtk_menu_item_new_with_label (_("global (everywhere)"));
710 gtk_widget_show (glade_menuitem);
711 gtk_menu_append (GTK_MENU (optionmenu1_menu), glade_menuitem);
712 gtk_option_menu_set_menu (GTK_OPTION_MENU (optionmenu1), optionmenu1_menu);
713
714 downloadfstab = gtk_label_new ("");
715 gtk_label_parse_uline (GTK_LABEL (downloadfstab),
716 _("_Download"));
717 gtk_widget_set_name (downloadfstab, "downloadfstab");
718 gtk_widget_ref (downloadfstab);
719 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "downloadfstab", downloadfstab,
720 (GtkDestroyNotify) gtk_widget_unref);
721 gtk_widget_show (downloadfstab);
722 gtk_notebook_set_tab_label (GTK_NOTEBOOK (fsnotebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (fsnotebook), 1), downloadfstab);
723
724 vbox9 = gtk_vbox_new (FALSE, 0);
725 gtk_widget_set_name (vbox9, "vbox9");
726 gtk_widget_ref (vbox9);
727 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "vbox9", vbox9,
728 (GtkDestroyNotify) gtk_widget_unref);
729 gtk_widget_show (vbox9);
730 gtk_container_add (GTK_CONTAINER (fsnotebook), vbox9);
731
732 hbox8 = gtk_hbox_new (FALSE, 0);
733 gtk_widget_set_name (hbox8, "hbox8");
734 gtk_widget_ref (hbox8);
735 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "hbox8", hbox8,
736 (GtkDestroyNotify) gtk_widget_unref);
737 gtk_widget_show (hbox8);
738 gtk_box_pack_start (GTK_BOX (vbox9), hbox8, FALSE, FALSE, 0);
739
740 indexbutton = gtk_radio_button_new_with_label (method_group, _("index"));
741 method_group = gtk_radio_button_group (GTK_RADIO_BUTTON (indexbutton));
742 gtk_widget_set_name (indexbutton, "indexbutton");
743 gtk_widget_ref (indexbutton);
744 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "indexbutton", indexbutton,
745 (GtkDestroyNotify) gtk_widget_unref);
746 gtk_widget_show (indexbutton);
747 gtk_box_pack_start (GTK_BOX (hbox8), indexbutton, FALSE, FALSE, 0);
748 gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (indexbutton), TRUE);
749
750 insertButton = gtk_radio_button_new_with_label (method_group, _("insert"));
751 method_group = gtk_radio_button_group (GTK_RADIO_BUTTON (insertButton));
752 gtk_widget_set_name (insertButton, "insertButton");
753 gtk_widget_ref (insertButton);
754 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "insertButton", insertButton,
755 (GtkDestroyNotify) gtk_widget_unref);
756 gtk_widget_show (insertButton);
757 gtk_box_pack_start (GTK_BOX (hbox8), insertButton, FALSE, FALSE, 0);
758
759 hbox9 = gtk_hbox_new (FALSE, 0);
760 gtk_widget_set_name (hbox9, "hbox9");
761 gtk_widget_ref (hbox9);
762 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "hbox9", hbox9,
763 (GtkDestroyNotify) gtk_widget_unref);
764 gtk_widget_show (hbox9);
765 gtk_box_pack_start (GTK_BOX (vbox9), hbox9, FALSE, FALSE, 0);
766
767 radiobutton2 = gtk_radio_button_new_with_label (recursive_group, _("file only"));
768 recursive_group = gtk_radio_button_group (GTK_RADIO_BUTTON (radiobutton2));
769 gtk_widget_set_name (radiobutton2, "radiobutton2");
770 gtk_widget_ref (radiobutton2);
771 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "radiobutton2", radiobutton2,
772 (GtkDestroyNotify) gtk_widget_unref);
773 gtk_widget_show (radiobutton2);
774 gtk_box_pack_start (GTK_BOX (hbox9), radiobutton2, FALSE, FALSE, 0);
775 gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (radiobutton2), TRUE);
776
777 radiobutton3 = gtk_radio_button_new_with_label (recursive_group, _("recursive (for entire directories)"));
778 recursive_group = gtk_radio_button_group (GTK_RADIO_BUTTON (radiobutton3));
779 gtk_widget_set_name (radiobutton3, "radiobutton3");
780 gtk_widget_ref (radiobutton3);
781 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "radiobutton3", radiobutton3,
782 (GtkDestroyNotify) gtk_widget_unref);
783 gtk_widget_show (radiobutton3);
784 gtk_box_pack_start (GTK_BOX (hbox9), radiobutton3, FALSE, FALSE, 0);
785
786 hbox10 = gtk_hbox_new (FALSE, 0);
787 gtk_widget_set_name (hbox10, "hbox10");
788 gtk_widget_ref (hbox10);
789 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "hbox10", hbox10,
790 (GtkDestroyNotify) gtk_widget_unref);
791 gtk_widget_show (hbox10);
792 gtk_box_pack_start (GTK_BOX (vbox9), hbox10, FALSE, FALSE, 0);
793
794 label54 = gtk_label_new ("");
795 label54_key = gtk_label_parse_uline (GTK_LABEL (label54),
796 _("_Filename"));
797 gtk_widget_set_name (label54, "label54");
798 gtk_widget_ref (label54);
799 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "label54", label54,
800 (GtkDestroyNotify) gtk_widget_unref);
801 gtk_widget_show (label54);
802 gtk_box_pack_start (GTK_BOX (hbox10), label54, FALSE, FALSE, 0);
803
804 combo1 = gtk_combo_new ();
805 gtk_widget_set_name (combo1, "combo1");
806 gtk_widget_ref (combo1);
807 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "combo1", combo1,
808 (GtkDestroyNotify) gtk_widget_unref);
809 gtk_widget_show (combo1);
810 gtk_box_pack_start (GTK_BOX (hbox10), combo1, TRUE, TRUE, 0);
811
812 combo_entry1 = GTK_COMBO (combo1)->entry;
813 gtk_widget_set_name (combo_entry1, "combo_entry1");
814 gtk_widget_ref (combo_entry1);
815 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "combo_entry1", combo_entry1,
816 (GtkDestroyNotify) gtk_widget_unref);
817 gtk_widget_show (combo_entry1);
818
819 button9 = gtk_button_new_with_label (_("Browse"));
820 gtk_widget_set_name (button9, "button9");
821 gtk_widget_ref (button9);
822 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "button9", button9,
823 (GtkDestroyNotify) gtk_widget_unref);
824 gtk_widget_show (button9);
825 gtk_box_pack_start (GTK_BOX (hbox10), button9, FALSE, FALSE, 0);
826
827 insertfstab = gtk_label_new ("");
828 gtk_label_parse_uline (GTK_LABEL (insertfstab),
829 _("_Insert"));
830 gtk_widget_set_name (insertfstab, "insertfstab");
831 gtk_widget_ref (insertfstab);
832 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "insertfstab", insertfstab,
833 (GtkDestroyNotify) gtk_widget_unref);
834 gtk_widget_show (insertfstab);
835 gtk_notebook_set_tab_label (GTK_NOTEBOOK (fsnotebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (fsnotebook), 2), insertfstab);
836
837 vbox6 = gtk_vbox_new (FALSE, 0);
838 gtk_widget_set_name (vbox6, "vbox6");
839 gtk_widget_ref (vbox6);
840 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "vbox6", vbox6,
841 (GtkDestroyNotify) gtk_widget_unref);
842 gtk_widget_show (vbox6);
843 gtk_container_add (GTK_CONTAINER (fsnotebook), vbox6);
844
845 menubar2 = gtk_menu_bar_new ();
846 gtk_widget_set_name (menubar2, "menubar2");
847 gtk_widget_ref (menubar2);
848 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "menubar2", menubar2,
849 (GtkDestroyNotify) gtk_widget_unref);
850 gtk_widget_show (menubar2);
851 gtk_box_pack_start (GTK_BOX (vbox6), menubar2, FALSE, FALSE, 0);
852
853 createNamespace = gtk_menu_item_new_with_label ("");
854 tmp_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (createNamespace)->child),
855 _("_create"));
856 gtk_widget_add_accelerator (createNamespace, "activate_item", accel_group,
857 tmp_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
858 gtk_widget_set_name (createNamespace, "createNamespace");
859 gtk_widget_ref (createNamespace);
860 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "createNamespace", createNamespace,
861 (GtkDestroyNotify) gtk_widget_unref);
862 gtk_widget_show (createNamespace);
863 gtk_container_add (GTK_CONTAINER (menubar2), createNamespace);
864
865 createNamespace_menu = gtk_menu_new ();
866 gtk_widget_set_name (createNamespace_menu, "createNamespace_menu");
867 gtk_widget_ref (createNamespace_menu);
868 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "createNamespace_menu", createNamespace_menu,
869 (GtkDestroyNotify) gtk_widget_unref);
870 gtk_menu_item_set_submenu (GTK_MENU_ITEM (createNamespace), createNamespace_menu);
871 createNamespace_menu_accels = gtk_menu_ensure_uline_accel_group (GTK_MENU (createNamespace_menu));
872
873 namespace1 = gtk_menu_item_new_with_label ("");
874 tmp_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (namespace1)->child),
875 _("_Namespace"));
876 gtk_widget_add_accelerator (namespace1, "activate_item", createNamespace_menu_accels,
877 tmp_key, 0, 0);
878 gtk_widget_set_name (namespace1, "namespace1");
879 gtk_widget_ref (namespace1);
880 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "namespace1", namespace1,
881 (GtkDestroyNotify) gtk_widget_unref);
882 gtk_widget_show (namespace1);
883 gtk_container_add (GTK_CONTAINER (createNamespace_menu), namespace1);
884
885 directory1 = gtk_menu_item_new_with_label ("");
886 tmp_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (directory1)->child),
887 _("_Directory"));
888 gtk_widget_add_accelerator (directory1, "activate_item", createNamespace_menu_accels,
889 tmp_key, 0, 0);
890 gtk_widget_set_name (directory1, "directory1");
891 gtk_widget_ref (directory1);
892 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "directory1", directory1,
893 (GtkDestroyNotify) gtk_widget_unref);
894 gtk_widget_show (directory1);
895 gtk_container_add (GTK_CONTAINER (createNamespace_menu), directory1);
896
897 collection1 = gtk_menu_item_new_with_label ("");
898 tmp_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (collection1)->child),
899 _("_Collection"));
900 gtk_widget_add_accelerator (collection1, "activate_item", createNamespace_menu_accels,
901 tmp_key, 0, 0);
902 gtk_widget_set_name (collection1, "collection1");
903 gtk_widget_ref (collection1);
904 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "collection1", collection1,
905 (GtkDestroyNotify) gtk_widget_unref);
906 gtk_widget_show (collection1);
907 gtk_container_add (GTK_CONTAINER (createNamespace_menu), collection1);
908
909 advertisement1 = gtk_menu_item_new_with_label ("");
910 tmp_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (advertisement1)->child),
911 _("_Advertisement"));
912 gtk_widget_add_accelerator (advertisement1, "activate_item", createNamespace_menu_accels,
913 tmp_key, 0, 0);
914 gtk_widget_set_name (advertisement1, "advertisement1");
915 gtk_widget_ref (advertisement1);
916 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "advertisement1", advertisement1,
917 (GtkDestroyNotify) gtk_widget_unref);
918 gtk_widget_show (advertisement1);
919 gtk_container_add (GTK_CONTAINER (createNamespace_menu), advertisement1);
920
921 delete1 = gtk_menu_item_new_with_label ("");
922 tmp_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (delete1)->child),
923 _("_delete"));
924 gtk_widget_add_accelerator (delete1, "activate_item", accel_group,
925 tmp_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
926 gtk_widget_set_name (delete1, "delete1");
927 gtk_widget_ref (delete1);
928 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "delete1", delete1,
929 (GtkDestroyNotify) gtk_widget_unref);
930 gtk_widget_show (delete1);
931 gtk_container_add (GTK_CONTAINER (menubar2), delete1);
932
933 delete1_menu = gtk_menu_new ();
934 gtk_widget_set_name (delete1_menu, "delete1_menu");
935 gtk_widget_ref (delete1_menu);
936 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "delete1_menu", delete1_menu,
937 (GtkDestroyNotify) gtk_widget_unref);
938 gtk_menu_item_set_submenu (GTK_MENU_ITEM (delete1), delete1_menu);
939 delete1_menu_accels = gtk_menu_ensure_uline_accel_group (GTK_MENU (delete1_menu));
940
941 namespace2 = gtk_menu_item_new_with_label ("");
942 tmp_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (namespace2)->child),
943 _("_Namespace"));
944 gtk_widget_add_accelerator (namespace2, "activate_item", delete1_menu_accels,
945 tmp_key, 0, 0);
946 gtk_widget_set_name (namespace2, "namespace2");
947 gtk_widget_ref (namespace2);
948 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "namespace2", namespace2,
949 (GtkDestroyNotify) gtk_widget_unref);
950 gtk_widget_show (namespace2);
951 gtk_container_add (GTK_CONTAINER (delete1_menu), namespace2);
952 gtk_tooltips_set_tip (tooltips, namespace2, _("Will prevent future insertions into the namespace (will not delete content in the namespace)"), NULL);
953
954 collection2 = gtk_menu_item_new_with_label ("");
955 tmp_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (collection2)->child),
956 _("_Collection"));
957 gtk_widget_add_accelerator (collection2, "activate_item", delete1_menu_accels,
958 tmp_key, 0, 0);
959 gtk_widget_set_name (collection2, "collection2");
960 gtk_widget_ref (collection2);
961 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "collection2", collection2,
962 (GtkDestroyNotify) gtk_widget_unref);
963 gtk_widget_show (collection2);
964 gtk_container_add (GTK_CONTAINER (delete1_menu), collection2);
965 gtk_tooltips_set_tip (tooltips, collection2, _("end collection (will not delete content already in the collection)"), NULL);
966
967 notebook4 = gtk_notebook_new ();
968 gtk_widget_set_name (notebook4, "notebook4");
969 gtk_widget_ref (notebook4);
970 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "notebook4", notebook4,
971 (GtkDestroyNotify) gtk_widget_unref);
972 gtk_widget_show (notebook4);
973 gtk_box_pack_start (GTK_BOX (vbox6), notebook4, TRUE, TRUE, 0);
974
975 empty_notebook_page = gtk_vbox_new (FALSE, 0);
976 gtk_widget_show (empty_notebook_page);
977 gtk_container_add (GTK_CONTAINER (notebook4), empty_notebook_page);
978
979 label39 = gtk_label_new (_("label39"));
980 gtk_widget_set_name (label39, "label39");
981 gtk_widget_ref (label39);
982 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "label39", label39,
983 (GtkDestroyNotify) gtk_widget_unref);
984 gtk_widget_show (label39);
985 gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook4), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook4), 0), label39);
986
987 frame11 = gtk_frame_new (_("Content"));
988 gtk_widget_set_name (frame11, "frame11");
989 gtk_widget_ref (frame11);
990 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "frame11", frame11,
991 (GtkDestroyNotify) gtk_widget_unref);
992 gtk_widget_show (frame11);
993 gtk_box_pack_start (GTK_BOX (vbox6), frame11, TRUE, TRUE, 0);
994
995 scrolledwindow3 = gtk_scrolled_window_new (NULL, NULL);
996 gtk_widget_set_name (scrolledwindow3, "scrolledwindow3");
997 gtk_widget_ref (scrolledwindow3);
998 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "scrolledwindow3", scrolledwindow3,
999 (GtkDestroyNotify) gtk_widget_unref);
1000 gtk_widget_show (scrolledwindow3);
1001 gtk_container_add (GTK_CONTAINER (frame11), scrolledwindow3);
1002 gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow3), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
1003
1004 viewport3 = gtk_viewport_new (NULL, NULL);
1005 gtk_widget_set_name (viewport3, "viewport3");
1006 gtk_widget_ref (viewport3);
1007 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "viewport3", viewport3,
1008 (GtkDestroyNotify) gtk_widget_unref);
1009 gtk_widget_show (viewport3);
1010 gtk_container_add (GTK_CONTAINER (scrolledwindow3), viewport3);
1011
1012 scrolledwindow4 = gtk_scrolled_window_new (NULL, NULL);
1013 gtk_widget_set_name (scrolledwindow4, "scrolledwindow4");
1014 gtk_widget_ref (scrolledwindow4);
1015 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "scrolledwindow4", scrolledwindow4,
1016 (GtkDestroyNotify) gtk_widget_unref);
1017 gtk_widget_show (scrolledwindow4);
1018 gtk_container_add (GTK_CONTAINER (viewport3), scrolledwindow4);
1019 gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow4), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
1020
1021 clist1 = gtk_clist_new (3);
1022 gtk_widget_set_name (clist1, "clist1");
1023 gtk_widget_ref (clist1);
1024 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "clist1", clist1,
1025 (GtkDestroyNotify) gtk_widget_unref);
1026 gtk_widget_show (clist1);
1027 gtk_container_add (GTK_CONTAINER (scrolledwindow4), clist1);
1028 gtk_clist_set_column_width (GTK_CLIST (clist1), 0, 80);
1029 gtk_clist_set_column_width (GTK_CLIST (clist1), 1, 52);
1030 gtk_clist_set_column_width (GTK_CLIST (clist1), 2, 268);
1031 gtk_clist_column_titles_show (GTK_CLIST (clist1));
1032
1033 label12 = gtk_label_new (_("Filename"));
1034 gtk_widget_set_name (label12, "label12");
1035 gtk_widget_ref (label12);
1036 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "label12", label12,
1037 (GtkDestroyNotify) gtk_widget_unref);
1038 gtk_widget_show (label12);
1039 gtk_clist_set_column_widget (GTK_CLIST (clist1), 0, label12);
1040
1041 label13 = gtk_label_new (_("Size"));
1042 gtk_widget_set_name (label13, "label13");
1043 gtk_widget_ref (label13);
1044 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "label13", label13,
1045 (GtkDestroyNotify) gtk_widget_unref);
1046 gtk_widget_show (label13);
1047 gtk_clist_set_column_widget (GTK_CLIST (clist1), 1, label13);
1048
1049 label14 = gtk_label_new (_("Meta-data"));
1050 gtk_widget_set_name (label14, "label14");
1051 gtk_widget_ref (label14);
1052 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "label14", label14,
1053 (GtkDestroyNotify) gtk_widget_unref);
1054 gtk_widget_show (label14);
1055 gtk_clist_set_column_widget (GTK_CLIST (clist1), 2, label14);
1056
1057 advancedfstab = gtk_label_new ("");
1058 gtk_label_parse_uline (GTK_LABEL (advancedfstab),
1059 _("_Advanced"));
1060 gtk_widget_set_name (advancedfstab, "advancedfstab");
1061 gtk_widget_ref (advancedfstab);
1062 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "advancedfstab", advancedfstab,
1063 (GtkDestroyNotify) gtk_widget_unref);
1064 gtk_widget_show (advancedfstab);
1065 gtk_notebook_set_tab_label (GTK_NOTEBOOK (fsnotebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (fsnotebook), 3), advancedfstab);
1066
1067 fstab = gtk_label_new ("");
1068 gtk_label_parse_uline (GTK_LABEL (fstab),
1069 _("_File sharing"));
1070 gtk_widget_set_name (fstab, "fstab");
1071 gtk_widget_ref (fstab);
1072 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "fstab", fstab,
1073 (GtkDestroyNotify) gtk_widget_unref);
1074 gtk_widget_show (fstab);
1075 gtk_notebook_set_tab_label (GTK_NOTEBOOK (mainnotebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (mainnotebook), 2), fstab);
1076
1077 vbox3 = gtk_vbox_new (FALSE, 0);
1078 gtk_widget_set_name (vbox3, "vbox3");
1079 gtk_widget_ref (vbox3);
1080 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "vbox3", vbox3,
1081 (GtkDestroyNotify) gtk_widget_unref);
1082 gtk_widget_show (vbox3);
1083 gtk_container_add (GTK_CONTAINER (mainnotebook), vbox3);
1084
1085 label5 = gtk_label_new ("");
1086 gtk_label_parse_uline (GTK_LABEL (label5),
1087 _("_Statistics"));
1088 gtk_widget_set_name (label5, "label5");
1089 gtk_widget_ref (label5);
1090 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "label5", label5,
1091 (GtkDestroyNotify) gtk_widget_unref);
1092 gtk_widget_show (label5);
1093 gtk_notebook_set_tab_label (GTK_NOTEBOOK (mainnotebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (mainnotebook), 3), label5);
1094
1095 vbox4 = gtk_vbox_new (FALSE, 0);
1096 gtk_widget_set_name (vbox4, "vbox4");
1097 gtk_widget_ref (vbox4);
1098 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "vbox4", vbox4,
1099 (GtkDestroyNotify) gtk_widget_unref);
1100 gtk_widget_show (vbox4);
1101 gtk_container_add (GTK_CONTAINER (mainnotebook), vbox4);
1102
1103 notebook3 = gtk_notebook_new ();
1104 gtk_widget_set_name (notebook3, "notebook3");
1105 gtk_widget_ref (notebook3);
1106 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "notebook3", notebook3,
1107 (GtkDestroyNotify) gtk_widget_unref);
1108 gtk_widget_show (notebook3);
1109 gtk_box_pack_start (GTK_BOX (vbox4), notebook3, TRUE, TRUE, 0);
1110
1111 empty_notebook_page = gtk_vbox_new (FALSE, 0);
1112 gtk_widget_show (empty_notebook_page);
1113 gtk_container_add (GTK_CONTAINER (notebook3), empty_notebook_page);
1114
1115 label38 = gtk_label_new (_("label38"));
1116 gtk_widget_set_name (label38, "label38");
1117 gtk_widget_ref (label38);
1118 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "label38", label38,
1119 (GtkDestroyNotify) gtk_widget_unref);
1120 gtk_widget_show (label38);
1121 gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook3), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook3), 0), label38);
1122
1123 combo3 = gtk_combo_new ();
1124 gtk_widget_set_name (combo3, "combo3");
1125 gtk_widget_ref (combo3);
1126 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "combo3", combo3,
1127 (GtkDestroyNotify) gtk_widget_unref);
1128 gtk_widget_show (combo3);
1129 gtk_box_pack_start (GTK_BOX (vbox4), combo3, FALSE, FALSE, 0);
1130 gtk_combo_set_case_sensitive (GTK_COMBO (combo3), TRUE);
1131 combo3_items = g_list_append (combo3_items, (gpointer) _("/join #gnunet"));
1132 gtk_combo_set_popdown_strings (GTK_COMBO (combo3), combo3_items);
1133 g_list_free (combo3_items);
1134
1135 combo_entry3 = GTK_COMBO (combo3)->entry;
1136 gtk_widget_set_name (combo_entry3, "combo_entry3");
1137 gtk_widget_ref (combo_entry3);
1138 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "combo_entry3", combo_entry3,
1139 (GtkDestroyNotify) gtk_widget_unref);
1140 gtk_widget_show (combo_entry3);
1141 gtk_entry_set_text (GTK_ENTRY (combo_entry3), _("/join #gnunet"));
1142
1143 label6 = gtk_label_new ("");
1144 gtk_label_parse_uline (GTK_LABEL (label6),
1145 _("_Chat"));
1146 gtk_widget_set_name (label6, "label6");
1147 gtk_widget_ref (label6);
1148 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "label6", label6,
1149 (GtkDestroyNotify) gtk_widget_unref);
1150 gtk_widget_show (label6);
1151 gtk_notebook_set_tab_label (GTK_NOTEBOOK (mainnotebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (mainnotebook), 4), label6);
1152
1153 statusbar = gtk_statusbar_new ();
1154 gtk_widget_set_name (statusbar, "statusbar");
1155 gtk_widget_ref (statusbar);
1156 gtk_object_set_data_full (GTK_OBJECT (mainWindow), "statusbar", statusbar,
1157 (GtkDestroyNotify) gtk_widget_unref);
1158 gtk_widget_show (statusbar);
1159 gtk_box_pack_start (GTK_BOX (vbox1), statusbar, FALSE, FALSE, 0);
1160
1161 gtk_signal_connect_after (GTK_OBJECT (mainWindow), "delete_event",
1162 GTK_SIGNAL_FUNC (gtk_main_quit),
1163 NULL);
1164 gtk_signal_connect (GTK_OBJECT (quit1), "activate",
1165 GTK_SIGNAL_FUNC (gtk_main_quit),
1166 NULL);
1167 gtk_signal_connect (GTK_OBJECT (about), "activate",
1168 GTK_SIGNAL_FUNC (on_about_activate),
1169 NULL);
1170 gtk_signal_connect (GTK_OBJECT (namespace1), "activate",
1171 GTK_SIGNAL_FUNC (on_create_namespace_activate),
1172 NULL);
1173 gtk_signal_connect (GTK_OBJECT (directory1), "activate",
1174 GTK_SIGNAL_FUNC (on_create_directory_activate),
1175 NULL);
1176 gtk_signal_connect (GTK_OBJECT (collection1), "activate",
1177 GTK_SIGNAL_FUNC (on_create_collection_activate),
1178 NULL);
1179 gtk_signal_connect (GTK_OBJECT (advertisement1), "activate",
1180 GTK_SIGNAL_FUNC (on_create_advertisement_activate),
1181 NULL);
1182 gtk_signal_connect (GTK_OBJECT (namespace2), "activate",
1183 GTK_SIGNAL_FUNC (on_namespace2_activate),
1184 NULL);
1185 gtk_signal_connect (GTK_OBJECT (collection2), "activate",
1186 GTK_SIGNAL_FUNC (on_collection_delete_activate),
1187 NULL);
1188
1189 gtk_widget_add_accelerator (combo_entry1, "grab_focus", accel_group,
1190 label54_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
1191
1192 gtk_object_set_data (GTK_OBJECT (mainWindow), "tooltips", tooltips);
1193
1194 gtk_window_add_accel_group (GTK_WINDOW (mainWindow), accel_group);
1195
1196 return mainWindow;
1197}
1198
1199GtkWidget*
1200create_metadatadialog (void)
1201{
1202 GtkWidget *metadatadialog;
1203 GtkWidget *dialog_vbox1;
1204 GtkWidget *vbox8;
1205 GtkWidget *label51;
1206 GtkWidget *hbox6;
1207 guint label49_key;
1208 GtkWidget *label49;
1209 GtkWidget *optionmenu2;
1210 GtkWidget *optionmenu2_menu;
1211 GtkWidget *glade_menuitem;
1212 guint label50_key;
1213 GtkWidget *label50;
1214 GtkWidget *entry3;
1215 GtkWidget *frame12;
1216 GtkWidget *scrolledwindow10;
1217 GtkWidget *clist8;
1218 GtkWidget *label45;
1219 GtkWidget *label46;
1220 GtkWidget *hbox7;
1221 guint label47_key;
1222 GtkWidget *label47;
1223 GtkWidget *entry4;
1224 GtkWidget *frame13;
1225 GtkWidget *scrolledwindow11;
1226 GtkWidget *clist9;
1227 GtkWidget *label48;
1228 GtkWidget *dialog_action_area1;
1229 guint button7_key;
1230 GtkWidget *button7;
1231 GtkAccelGroup *accel_group;
1232
1233 accel_group = gtk_accel_group_new ();
1234
1235 metadatadialog = gtk_dialog_new ();
1236 gtk_widget_set_name (metadatadialog, "metadatadialog");
1237 gtk_object_set_data (GTK_OBJECT (metadatadialog), "metadatadialog", metadatadialog);
1238 gtk_window_set_title (GTK_WINDOW (metadatadialog), _("File Information"));
1239 GTK_WINDOW (metadatadialog)->type = GTK_WINDOW_DIALOG;
1240 gtk_window_set_position (GTK_WINDOW (metadatadialog), GTK_WIN_POS_CENTER);
1241 gtk_window_set_policy (GTK_WINDOW (metadatadialog), TRUE, TRUE, FALSE);
1242
1243 dialog_vbox1 = GTK_DIALOG (metadatadialog)->vbox;
1244 gtk_widget_set_name (dialog_vbox1, "dialog_vbox1");
1245 gtk_object_set_data (GTK_OBJECT (metadatadialog), "dialog_vbox1", dialog_vbox1);
1246 gtk_widget_show (dialog_vbox1);
1247
1248 vbox8 = gtk_vbox_new (FALSE, 0);
1249 gtk_widget_set_name (vbox8, "vbox8");
1250 gtk_widget_ref (vbox8);
1251 gtk_object_set_data_full (GTK_OBJECT (metadatadialog), "vbox8", vbox8,
1252 (GtkDestroyNotify) gtk_widget_unref);
1253 gtk_widget_show (vbox8);
1254 gtk_box_pack_start (GTK_BOX (dialog_vbox1), vbox8, TRUE, TRUE, 0);
1255
1256 label51 = gtk_label_new (_("Please provide meta-data and keywords for the content."));
1257 gtk_widget_set_name (label51, "label51");
1258 gtk_widget_ref (label51);
1259 gtk_object_set_data_full (GTK_OBJECT (metadatadialog), "label51", label51,
1260 (GtkDestroyNotify) gtk_widget_unref);
1261 gtk_widget_show (label51);
1262 gtk_box_pack_start (GTK_BOX (vbox8), label51, FALSE, FALSE, 0);
1263 gtk_misc_set_padding (GTK_MISC (label51), 9, 5);
1264
1265 hbox6 = gtk_hbox_new (FALSE, 0);
1266 gtk_widget_set_name (hbox6, "hbox6");
1267 gtk_widget_ref (hbox6);
1268 gtk_object_set_data_full (GTK_OBJECT (metadatadialog), "hbox6", hbox6,
1269 (GtkDestroyNotify) gtk_widget_unref);
1270 gtk_widget_show (hbox6);
1271 gtk_box_pack_start (GTK_BOX (vbox8), hbox6, FALSE, FALSE, 0);
1272
1273 label49 = gtk_label_new ("");
1274 label49_key = gtk_label_parse_uline (GTK_LABEL (label49),
1275 _("_Type"));
1276 gtk_widget_set_name (label49, "label49");
1277 gtk_widget_ref (label49);
1278 gtk_object_set_data_full (GTK_OBJECT (metadatadialog), "label49", label49,
1279 (GtkDestroyNotify) gtk_widget_unref);
1280 gtk_widget_show (label49);
1281 gtk_box_pack_start (GTK_BOX (hbox6), label49, FALSE, FALSE, 0);
1282
1283 optionmenu2 = gtk_option_menu_new ();
1284 gtk_widget_set_name (optionmenu2, "optionmenu2");
1285 gtk_widget_ref (optionmenu2);
1286 gtk_object_set_data_full (GTK_OBJECT (metadatadialog), "optionmenu2", optionmenu2,
1287 (GtkDestroyNotify) gtk_widget_unref);
1288 gtk_widget_show (optionmenu2);
1289 gtk_box_pack_start (GTK_BOX (hbox6), optionmenu2, FALSE, FALSE, 0);
1290 optionmenu2_menu = gtk_menu_new ();
1291 glade_menuitem = gtk_menu_item_new_with_label (_("unknown"));
1292 gtk_widget_show (glade_menuitem);
1293 gtk_menu_append (GTK_MENU (optionmenu2_menu), glade_menuitem);
1294 glade_menuitem = gtk_menu_item_new_with_label (_("filename"));
1295 gtk_widget_show (glade_menuitem);
1296 gtk_menu_append (GTK_MENU (optionmenu2_menu), glade_menuitem);
1297 glade_menuitem = gtk_menu_item_new_with_label (_("meta-data"));
1298 gtk_widget_show (glade_menuitem);
1299 gtk_menu_append (GTK_MENU (optionmenu2_menu), glade_menuitem);
1300 gtk_option_menu_set_menu (GTK_OPTION_MENU (optionmenu2), optionmenu2_menu);
1301
1302 label50 = gtk_label_new ("");
1303 label50_key = gtk_label_parse_uline (GTK_LABEL (label50),
1304 _("_Value"));
1305 gtk_widget_set_name (label50, "label50");
1306 gtk_widget_ref (label50);
1307 gtk_object_set_data_full (GTK_OBJECT (metadatadialog), "label50", label50,
1308 (GtkDestroyNotify) gtk_widget_unref);
1309 gtk_widget_show (label50);
1310 gtk_box_pack_start (GTK_BOX (hbox6), label50, FALSE, FALSE, 0);
1311
1312 entry3 = gtk_entry_new ();
1313 gtk_widget_set_name (entry3, "entry3");
1314 gtk_widget_ref (entry3);
1315 gtk_object_set_data_full (GTK_OBJECT (metadatadialog), "entry3", entry3,
1316 (GtkDestroyNotify) gtk_widget_unref);
1317 gtk_widget_show (entry3);
1318 gtk_box_pack_start (GTK_BOX (hbox6), entry3, TRUE, TRUE, 0);
1319
1320 frame12 = gtk_frame_new (_("Meta-data"));
1321 gtk_widget_set_name (frame12, "frame12");
1322 gtk_widget_ref (frame12);
1323 gtk_object_set_data_full (GTK_OBJECT (metadatadialog), "frame12", frame12,
1324 (GtkDestroyNotify) gtk_widget_unref);
1325 gtk_widget_show (frame12);
1326 gtk_box_pack_start (GTK_BOX (vbox8), frame12, TRUE, TRUE, 0);
1327
1328 scrolledwindow10 = gtk_scrolled_window_new (NULL, NULL);
1329 gtk_widget_set_name (scrolledwindow10, "scrolledwindow10");
1330 gtk_widget_ref (scrolledwindow10);
1331 gtk_object_set_data_full (GTK_OBJECT (metadatadialog), "scrolledwindow10", scrolledwindow10,
1332 (GtkDestroyNotify) gtk_widget_unref);
1333 gtk_widget_show (scrolledwindow10);
1334 gtk_container_add (GTK_CONTAINER (frame12), scrolledwindow10);
1335 gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow10), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
1336
1337 clist8 = gtk_clist_new (2);
1338 gtk_widget_set_name (clist8, "clist8");
1339 gtk_widget_ref (clist8);
1340 gtk_object_set_data_full (GTK_OBJECT (metadatadialog), "clist8", clist8,
1341 (GtkDestroyNotify) gtk_widget_unref);
1342 gtk_widget_show (clist8);
1343 gtk_container_add (GTK_CONTAINER (scrolledwindow10), clist8);
1344 gtk_clist_set_column_width (GTK_CLIST (clist8), 0, 119);
1345 gtk_clist_set_column_width (GTK_CLIST (clist8), 1, 80);
1346 gtk_clist_column_titles_show (GTK_CLIST (clist8));
1347
1348 label45 = gtk_label_new (_("Type"));
1349 gtk_widget_set_name (label45, "label45");
1350 gtk_widget_ref (label45);
1351 gtk_object_set_data_full (GTK_OBJECT (metadatadialog), "label45", label45,
1352 (GtkDestroyNotify) gtk_widget_unref);
1353 gtk_widget_show (label45);
1354 gtk_clist_set_column_widget (GTK_CLIST (clist8), 0, label45);
1355
1356 label46 = gtk_label_new (_("Value"));
1357 gtk_widget_set_name (label46, "label46");
1358 gtk_widget_ref (label46);
1359 gtk_object_set_data_full (GTK_OBJECT (metadatadialog), "label46", label46,
1360 (GtkDestroyNotify) gtk_widget_unref);
1361 gtk_widget_show (label46);
1362 gtk_clist_set_column_widget (GTK_CLIST (clist8), 1, label46);
1363
1364 hbox7 = gtk_hbox_new (FALSE, 0);
1365 gtk_widget_set_name (hbox7, "hbox7");
1366 gtk_widget_ref (hbox7);
1367 gtk_object_set_data_full (GTK_OBJECT (metadatadialog), "hbox7", hbox7,
1368 (GtkDestroyNotify) gtk_widget_unref);
1369 gtk_widget_show (hbox7);
1370 gtk_box_pack_start (GTK_BOX (vbox8), hbox7, TRUE, TRUE, 0);
1371
1372 label47 = gtk_label_new ("");
1373 label47_key = gtk_label_parse_uline (GTK_LABEL (label47),
1374 _("_Keyword"));
1375 gtk_widget_set_name (label47, "label47");
1376 gtk_widget_ref (label47);
1377 gtk_object_set_data_full (GTK_OBJECT (metadatadialog), "label47", label47,
1378 (GtkDestroyNotify) gtk_widget_unref);
1379 gtk_widget_show (label47);
1380 gtk_box_pack_start (GTK_BOX (hbox7), label47, FALSE, FALSE, 0);
1381
1382 entry4 = gtk_entry_new ();
1383 gtk_widget_set_name (entry4, "entry4");
1384 gtk_widget_ref (entry4);
1385 gtk_object_set_data_full (GTK_OBJECT (metadatadialog), "entry4", entry4,
1386 (GtkDestroyNotify) gtk_widget_unref);
1387 gtk_widget_show (entry4);
1388 gtk_box_pack_start (GTK_BOX (hbox7), entry4, TRUE, TRUE, 0);
1389
1390 frame13 = gtk_frame_new (_("Keywords"));
1391 gtk_widget_set_name (frame13, "frame13");
1392 gtk_widget_ref (frame13);
1393 gtk_object_set_data_full (GTK_OBJECT (metadatadialog), "frame13", frame13,
1394 (GtkDestroyNotify) gtk_widget_unref);
1395 gtk_widget_show (frame13);
1396 gtk_box_pack_start (GTK_BOX (dialog_vbox1), frame13, TRUE, TRUE, 0);
1397
1398 scrolledwindow11 = gtk_scrolled_window_new (NULL, NULL);
1399 gtk_widget_set_name (scrolledwindow11, "scrolledwindow11");
1400 gtk_widget_ref (scrolledwindow11);
1401 gtk_object_set_data_full (GTK_OBJECT (metadatadialog), "scrolledwindow11", scrolledwindow11,
1402 (GtkDestroyNotify) gtk_widget_unref);
1403 gtk_widget_show (scrolledwindow11);
1404 gtk_container_add (GTK_CONTAINER (frame13), scrolledwindow11);
1405 gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow11), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
1406
1407 clist9 = gtk_clist_new (1);
1408 gtk_widget_set_name (clist9, "clist9");
1409 gtk_widget_ref (clist9);
1410 gtk_object_set_data_full (GTK_OBJECT (metadatadialog), "clist9", clist9,
1411 (GtkDestroyNotify) gtk_widget_unref);
1412 gtk_widget_show (clist9);
1413 gtk_container_add (GTK_CONTAINER (scrolledwindow11), clist9);
1414 gtk_clist_set_column_width (GTK_CLIST (clist9), 0, 80);
1415 gtk_clist_column_titles_show (GTK_CLIST (clist9));
1416
1417 label48 = gtk_label_new (_("label48"));
1418 gtk_widget_set_name (label48, "label48");
1419 gtk_widget_ref (label48);
1420 gtk_object_set_data_full (GTK_OBJECT (metadatadialog), "label48", label48,
1421 (GtkDestroyNotify) gtk_widget_unref);
1422 gtk_widget_show (label48);
1423 gtk_clist_set_column_widget (GTK_CLIST (clist9), 0, label48);
1424
1425 dialog_action_area1 = GTK_DIALOG (metadatadialog)->action_area;
1426 gtk_widget_set_name (dialog_action_area1, "dialog_action_area1");
1427 gtk_object_set_data (GTK_OBJECT (metadatadialog), "dialog_action_area1", dialog_action_area1);
1428 gtk_widget_show (dialog_action_area1);
1429 gtk_container_set_border_width (GTK_CONTAINER (dialog_action_area1), 10);
1430
1431 button7 = gtk_button_new_with_label ("");
1432 button7_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (button7)->child),
1433 _("_Done"));
1434 gtk_widget_add_accelerator (button7, "clicked", accel_group,
1435 button7_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
1436 gtk_widget_set_name (button7, "button7");
1437 gtk_widget_ref (button7);
1438 gtk_object_set_data_full (GTK_OBJECT (metadatadialog), "button7", button7,
1439 (GtkDestroyNotify) gtk_widget_unref);
1440 gtk_widget_show (button7);
1441 gtk_box_pack_start (GTK_BOX (dialog_action_area1), button7, FALSE, TRUE, 0);
1442
1443 gtk_widget_add_accelerator (optionmenu2, "grab_focus", accel_group,
1444 label49_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
1445 gtk_widget_add_accelerator (entry3, "grab_focus", accel_group,
1446 label50_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
1447 gtk_widget_add_accelerator (entry4, "grab_focus", accel_group,
1448 label47_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
1449
1450 gtk_window_add_accel_group (GTK_WINDOW (metadatadialog), accel_group);
1451
1452 return metadatadialog;
1453}
1454
1455GtkWidget*
1456create_metaDisplayDialog (void)
1457{
1458 GtkWidget *metaDisplayDialog;
1459 GtkWidget *dialog_vbox2;
1460 GtkWidget *frame14;
1461 GtkWidget *scrolledwindow12;
1462 GtkWidget *clist10;
1463 GtkWidget *label52;
1464 GtkWidget *label53;
1465 GtkWidget *dialog_action_area2;
1466 GtkWidget *doneButton;
1467
1468 metaDisplayDialog = gtk_dialog_new ();
1469 gtk_widget_set_name (metaDisplayDialog, "metaDisplayDialog");
1470 gtk_object_set_data (GTK_OBJECT (metaDisplayDialog), "metaDisplayDialog", metaDisplayDialog);
1471 gtk_window_set_title (GTK_WINDOW (metaDisplayDialog), _("File Information"));
1472 GTK_WINDOW (metaDisplayDialog)->type = GTK_WINDOW_POPUP;
1473 gtk_window_set_position (GTK_WINDOW (metaDisplayDialog), GTK_WIN_POS_MOUSE);
1474 gtk_window_set_policy (GTK_WINDOW (metaDisplayDialog), TRUE, TRUE, FALSE);
1475
1476 dialog_vbox2 = GTK_DIALOG (metaDisplayDialog)->vbox;
1477 gtk_widget_set_name (dialog_vbox2, "dialog_vbox2");
1478 gtk_object_set_data (GTK_OBJECT (metaDisplayDialog), "dialog_vbox2", dialog_vbox2);
1479 gtk_widget_show (dialog_vbox2);
1480
1481 frame14 = gtk_frame_new (_("Meta-data"));
1482 gtk_widget_set_name (frame14, "frame14");
1483 gtk_widget_ref (frame14);
1484 gtk_object_set_data_full (GTK_OBJECT (metaDisplayDialog), "frame14", frame14,
1485 (GtkDestroyNotify) gtk_widget_unref);
1486 gtk_widget_show (frame14);
1487 gtk_box_pack_start (GTK_BOX (dialog_vbox2), frame14, TRUE, TRUE, 0);
1488
1489 scrolledwindow12 = gtk_scrolled_window_new (NULL, NULL);
1490 gtk_widget_set_name (scrolledwindow12, "scrolledwindow12");
1491 gtk_widget_ref (scrolledwindow12);
1492 gtk_object_set_data_full (GTK_OBJECT (metaDisplayDialog), "scrolledwindow12", scrolledwindow12,
1493 (GtkDestroyNotify) gtk_widget_unref);
1494 gtk_widget_show (scrolledwindow12);
1495 gtk_container_add (GTK_CONTAINER (frame14), scrolledwindow12);
1496 gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow12), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
1497
1498 clist10 = gtk_clist_new (2);
1499 gtk_widget_set_name (clist10, "clist10");
1500 gtk_widget_ref (clist10);
1501 gtk_object_set_data_full (GTK_OBJECT (metaDisplayDialog), "clist10", clist10,
1502 (GtkDestroyNotify) gtk_widget_unref);
1503 gtk_widget_show (clist10);
1504 gtk_container_add (GTK_CONTAINER (scrolledwindow12), clist10);
1505 gtk_clist_set_column_width (GTK_CLIST (clist10), 0, 119);
1506 gtk_clist_set_column_width (GTK_CLIST (clist10), 1, 80);
1507 gtk_clist_column_titles_show (GTK_CLIST (clist10));
1508
1509 label52 = gtk_label_new (_("Type"));
1510 gtk_widget_set_name (label52, "label52");
1511 gtk_widget_ref (label52);
1512 gtk_object_set_data_full (GTK_OBJECT (metaDisplayDialog), "label52", label52,
1513 (GtkDestroyNotify) gtk_widget_unref);
1514 gtk_widget_show (label52);
1515 gtk_clist_set_column_widget (GTK_CLIST (clist10), 0, label52);
1516
1517 label53 = gtk_label_new (_("Value"));
1518 gtk_widget_set_name (label53, "label53");
1519 gtk_widget_ref (label53);
1520 gtk_object_set_data_full (GTK_OBJECT (metaDisplayDialog), "label53", label53,
1521 (GtkDestroyNotify) gtk_widget_unref);
1522 gtk_widget_show (label53);
1523 gtk_clist_set_column_widget (GTK_CLIST (clist10), 1, label53);
1524
1525 dialog_action_area2 = GTK_DIALOG (metaDisplayDialog)->action_area;
1526 gtk_widget_set_name (dialog_action_area2, "dialog_action_area2");
1527 gtk_object_set_data (GTK_OBJECT (metaDisplayDialog), "dialog_action_area2", dialog_action_area2);
1528 gtk_widget_show (dialog_action_area2);
1529 gtk_container_set_border_width (GTK_CONTAINER (dialog_action_area2), 10);
1530
1531 doneButton = gtk_button_new_with_label (_("Done"));
1532 gtk_widget_set_name (doneButton, "doneButton");
1533 gtk_widget_ref (doneButton);
1534 gtk_object_set_data_full (GTK_OBJECT (metaDisplayDialog), "doneButton", doneButton,
1535 (GtkDestroyNotify) gtk_widget_unref);
1536 gtk_widget_show (doneButton);
1537 gtk_box_pack_start (GTK_BOX (dialog_action_area2), doneButton, FALSE, FALSE, 0);
1538
1539 return metaDisplayDialog;
1540}
1541