diff options
author | Xan Lopez <xan@src.gnome.org> | 2003-03-16 07:28:20 +0800 |
---|---|---|
committer | Xan Lopez <xan@src.gnome.org> | 2003-03-16 07:28:20 +0800 |
commit | cbce0224b85bac0df28964fdc2b97bd3c9ff43e5 (patch) | |
tree | d601b0520f27c353edc2e9c6f490c09a08004aa7 /src/bookmarks/ephy-node-view.c | |
parent | a49c85f4678d4b9edb19725b6c2168dc706d5b54 (diff) | |
download | gsoc2013-epiphany-cbce0224b85bac0df28964fdc2b97bd3c9ff43e5.tar gsoc2013-epiphany-cbce0224b85bac0df28964fdc2b97bd3c9ff43e5.tar.gz gsoc2013-epiphany-cbce0224b85bac0df28964fdc2b97bd3c9ff43e5.tar.bz2 gsoc2013-epiphany-cbce0224b85bac0df28964fdc2b97bd3c9ff43e5.tar.lz gsoc2013-epiphany-cbce0224b85bac0df28964fdc2b97bd3c9ff43e5.tar.xz gsoc2013-epiphany-cbce0224b85bac0df28964fdc2b97bd3c9ff43e5.tar.zst gsoc2013-epiphany-cbce0224b85bac0df28964fdc2b97bd3c9ff43e5.zip |
Put the bookmark view in hinted mode. Fix multiple selection actions in
Put the bookmark view in hinted mode.
Fix multiple selection actions in the Bookmark Editor.
Diffstat (limited to 'src/bookmarks/ephy-node-view.c')
-rw-r--r-- | src/bookmarks/ephy-node-view.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/bookmarks/ephy-node-view.c b/src/bookmarks/ephy-node-view.c index b738adc7b..2782e2a37 100644 --- a/src/bookmarks/ephy-node-view.c +++ b/src/bookmarks/ephy-node-view.c @@ -258,6 +258,9 @@ ephy_node_view_button_press_cb (GtkTreeView *treeview, if (event->button == 3) { g_signal_emit (G_OBJECT (view), ephy_node_view_signals[SHOW_POPUP], 0); + /* the event is handled, don't propagate it further (we avoid + * changing the view with the right click this way) */ + return TRUE; } return FALSE; @@ -636,3 +639,11 @@ ephy_node_view_enable_drag_source (EphyNodeView *view) egg_tree_multi_drag_add_drag_support (GTK_TREE_VIEW (view->priv->treeview)); ephy_dnd_enable_model_drag_source (GTK_WIDGET (view->priv->treeview)); } + +void +ephy_node_view_set_hinted (EphyNodeView *view, gboolean hinted) +{ + g_return_if_fail (view != NULL); + + gtk_tree_view_set_rules_hint (view->priv->treeview, hinted); +} |