diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2005-01-01 05:51:51 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2005-01-01 05:51:51 +0800 |
commit | 46bbc14a27f67ea2131de883941d4c6024dceac7 (patch) | |
tree | 09fa375ddff419b1f188af8c357542236a23ca27 | |
parent | 141fae1f8bd794ef2d9749fca635c5747744c855 (diff) | |
download | gsoc2013-epiphany-46bbc14a27f67ea2131de883941d4c6024dceac7.tar gsoc2013-epiphany-46bbc14a27f67ea2131de883941d4c6024dceac7.tar.gz gsoc2013-epiphany-46bbc14a27f67ea2131de883941d4c6024dceac7.tar.bz2 gsoc2013-epiphany-46bbc14a27f67ea2131de883941d4c6024dceac7.tar.lz gsoc2013-epiphany-46bbc14a27f67ea2131de883941d4c6024dceac7.tar.xz gsoc2013-epiphany-46bbc14a27f67ea2131de883941d4c6024dceac7.tar.zst gsoc2013-epiphany-46bbc14a27f67ea2131de883941d4c6024dceac7.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.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | src/bookmarks/ephy-topics-selector.c | 6 |
2 files changed, 12 insertions, 0 deletions
@@ -1,3 +1,9 @@ +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. + 2004-12-30 Christian Persch <chpe@cvs.gnome.org> * src/window-commands.c: (window_cmd_file_send_to): diff --git a/src/bookmarks/ephy-topics-selector.c b/src/bookmarks/ephy-topics-selector.c index 561fd9799..9ca360f1e 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> * @@ -26,6 +27,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); @@ -184,6 +186,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); @@ -203,6 +206,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; } |