diff options
author | Marco Pesenti Gritti <marco@gnome.org> | 2004-09-15 04:28:42 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <marco@src.gnome.org> | 2004-09-15 04:28:42 +0800 |
commit | ad595146b5a48a6b527d0f643e5b06edae32917d (patch) | |
tree | a1a623b63becd7b3ccdfeb4134d66732b3bfac9c /src | |
parent | e40e2cff4000f665f4b7c99f376b94f6c4e4b3bb (diff) | |
download | gsoc2013-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')
-rw-r--r-- | src/bookmarks/ephy-bookmarks-editor.c | 6 | ||||
-rw-r--r-- | src/ephy-history-window.c | 3 |
2 files changed, 6 insertions, 3 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; diff --git a/src/ephy-history-window.c b/src/ephy-history-window.c index b045d48ab..b28a792cd 100644 --- a/src/ephy-history-window.c +++ b/src/ephy-history-window.c @@ -842,7 +842,8 @@ ephy_history_window_show_popup_cb (GtkWidget *view, widget = gtk_ui_manager_get_widget (editor->priv->ui_merge, "/EphyHistoryWindowPopup"); - 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; |