aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-fs-gtk.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/gnunet-fs-gtk.c')
-rw-r--r--src/fs/gnunet-fs-gtk.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/fs/gnunet-fs-gtk.c b/src/fs/gnunet-fs-gtk.c
index e115395c..dd4c9512 100644
--- a/src/fs/gnunet-fs-gtk.c
+++ b/src/fs/gnunet-fs-gtk.c
@@ -572,6 +572,7 @@ GNUNET_GTK_main_window_realize_cb (GtkWidget *widget, gpointer user_data)
572 GtkTreeStore *namespace_treestore; 572 GtkTreeStore *namespace_treestore;
573 GtkBuilder *builder; 573 GtkBuilder *builder;
574 GtkWidget *namespace_selector_window; 574 GtkWidget *namespace_selector_window;
575 GtkTreeView *metadata_tree;
575 576
576 builder = GTK_BUILDER (user_data); 577 builder = GTK_BUILDER (user_data);
577 578
@@ -579,6 +580,11 @@ GNUNET_GTK_main_window_realize_cb (GtkWidget *widget, gpointer user_data)
579 ("main_window_search_namespace_treestore")); 580 ("main_window_search_namespace_treestore"));
580 namespace_tree = GTK_TREE_VIEW (GNUNET_FS_GTK_get_main_window_object 581 namespace_tree = GTK_TREE_VIEW (GNUNET_FS_GTK_get_main_window_object
581 ("namespace_selector_treeview")); 582 ("namespace_selector_treeview"));
583 metadata_tree = GTK_TREE_VIEW (GNUNET_FS_GTK_get_main_window_object
584 ("GNUNET_GTK_main_window_metadata_treeview"));
585
586 /* Allow multiple selection in metadata view */
587 gtk_tree_selection_set_mode (gtk_tree_view_get_selection (metadata_tree), GTK_SELECTION_MULTIPLE);
582 588
583 /* FIXME: find a way to manage pseudonyms. 589 /* FIXME: find a way to manage pseudonyms.
584 * Right now the list will be filled with ALL and ANY pseudonyms that we 590 * Right now the list will be filled with ALL and ANY pseudonyms that we