aboutsummaryrefslogtreecommitdiffstats
path: root/src/bookmarks
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@gnome.org>2004-09-15 04:28:42 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2004-09-15 04:28:42 +0800
commitad595146b5a48a6b527d0f643e5b06edae32917d (patch)
treea1a623b63becd7b3ccdfeb4134d66732b3bfac9c /src/bookmarks
parente40e2cff4000f665f4b7c99f376b94f6c4e4b3bb (diff)
downloadgsoc2013-epiphany-ad595146b5a48a6b527d0f643e5b06edae32917d.tar
gsoc2013-epiphany-ad595146b5a48a6b527d0f643e5b06edae32917d.tar.gz
gsoc2013-epiphany-ad595146b5a48a6b527d0f643e5b06edae32917d.tar.bz2
gsoc2013-epiphany-ad595146b5a48a6b527d0f643e5b06edae32917d.tar.lz
gsoc2013-epiphany-ad595146b5a48a6b527d0f643e5b06edae32917d.tar.xz
gsoc2013-epiphany-ad595146b5a48a6b527d0f643e5b06edae32917d.tar.zst
gsoc2013-epiphany-ad595146b5a48a6b527d0f643e5b06edae32917d.zip
Better positioning of context menus for treeviews. Fix #152431
2004-09-13 Marco Pesenti Gritti <marco@gnome.org> * lib/ephy-guy.c: * src/bookmarks/ephy-bookmarks-editor.c: * src/ephy-history-window.c: Better positioning of context menus for treeviews. Fix #152431
Diffstat (limited to 'src/bookmarks')
-rw-r--r--src/bookmarks/ephy-bookmarks-editor.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/bookmarks/ephy-bookmarks-editor.c b/src/bookmarks/ephy-bookmarks-editor.c
index 360dc8f37..3a6cd2db0 100644
--- a/src/bookmarks/ephy-bookmarks-editor.c
+++ b/src/bookmarks/ephy-bookmarks-editor.c
@@ -1137,7 +1137,8 @@ ephy_bookmarks_editor_show_popup_cb (GtkWidget *view,
widget = gtk_ui_manager_get_widget (editor->priv->ui_merge,
"/EphyBookmarkEditorPopup");
- gtk_menu_popup (GTK_MENU (widget), NULL, NULL, NULL, NULL, 2,
+ gtk_menu_popup (GTK_MENU (widget), NULL, NULL,
+ ephy_gui_menu_position_tree_selection, view, 2,
gtk_get_current_event_time ());
return TRUE;
@@ -1228,7 +1229,8 @@ keyword_node_show_popup_cb (GtkWidget *view, EphyBookmarksEditor *editor)
widget = gtk_ui_manager_get_widget (editor->priv->ui_merge,
"/EphyBookmarkKeywordPopup");
- gtk_menu_popup (GTK_MENU (widget), NULL, NULL, NULL, NULL, 2,
+ gtk_menu_popup (GTK_MENU (widget), NULL, NULL,
+ ephy_gui_menu_position_tree_selection, view, 2,
gtk_get_current_event_time ());
return TRUE;