From ad595146b5a48a6b527d0f643e5b06edae32917d Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Tue, 14 Sep 2004 20:28:42 +0000 Subject: Better positioning of context menus for treeviews. Fix #152431 2004-09-13 Marco Pesenti Gritti * lib/ephy-guy.c: * src/bookmarks/ephy-bookmarks-editor.c: * src/ephy-history-window.c: Better positioning of context menus for treeviews. Fix #152431 --- src/bookmarks/ephy-bookmarks-editor.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/bookmarks') 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; -- cgit v1.2.3