diff options
Diffstat (limited to 'src/bookmarks/ephy-topics-selector.c')
-rw-r--r-- | src/bookmarks/ephy-topics-selector.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/bookmarks/ephy-topics-selector.c b/src/bookmarks/ephy-topics-selector.c index 2e2102c59..a6fae1d99 100644 --- a/src/bookmarks/ephy-topics-selector.c +++ b/src/bookmarks/ephy-topics-selector.c @@ -1,3 +1,4 @@ + /* * Copyright (C) 2002-2004 Marco Pesenti Gritti <mpeseng@tin.it> * @@ -24,6 +25,7 @@ #include "ephy-debug.h" #include <glib/gi18n.h> +#include <gtk/gtktreeselection.h> static void ephy_topics_selector_class_init (EphyTopicsSelectorClass *klass); static void ephy_topics_selector_init (EphyTopicsSelector *editor); @@ -182,6 +184,7 @@ ephy_topics_selector_constructor (GType type, GObject *object; EphyTopicsSelector *selector; EphyTopicsSelectorPrivate *priv; + GtkTreeSelection *selection; object = parent_class->constructor (type, n_construct_properties, construct_params); @@ -201,6 +204,9 @@ ephy_topics_selector_constructor (GType type, ephy_node_view_set_sort (EPHY_NODE_VIEW (selector), G_TYPE_STRING, EPHY_NODE_KEYWORD_PROP_NAME, GTK_SORT_ASCENDING); + selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (selector)); + gtk_tree_selection_set_mode (selection, GTK_SELECTION_BROWSE); + return object; } |