aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-01-01 05:51:20 +0800
committerChristian Persch <chpe@src.gnome.org>2005-01-01 05:51:20 +0800
commit2c39c7bbf944814a80e7494bf8029391ce97a5b2 (patch)
treea18924f2d7559c02d2e1e77b9c2cf81cb4b4c61e /src
parenta18faef3c2f38b27d866586926ef7f437dafb6a7 (diff)
downloadgsoc2013-epiphany-2c39c7bbf944814a80e7494bf8029391ce97a5b2.tar
gsoc2013-epiphany-2c39c7bbf944814a80e7494bf8029391ce97a5b2.tar.gz
gsoc2013-epiphany-2c39c7bbf944814a80e7494bf8029391ce97a5b2.tar.bz2
gsoc2013-epiphany-2c39c7bbf944814a80e7494bf8029391ce97a5b2.tar.lz
gsoc2013-epiphany-2c39c7bbf944814a80e7494bf8029391ce97a5b2.tar.xz
gsoc2013-epiphany-2c39c7bbf944814a80e7494bf8029391ce97a5b2.tar.zst
gsoc2013-epiphany-2c39c7bbf944814a80e7494bf8029391ce97a5b2.zip
Set selection mode to BROWSE. Fixes bug #162331.
2004-12-31 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-topics-selector.c: (ephy_topics_selector_constructor): Set selection mode to BROWSE. Fixes bug #162331.
Diffstat (limited to 'src')
-rw-r--r--src/bookmarks/ephy-topics-selector.c6
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;
}