aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-history-window.c
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@gnome.org>2004-09-15 16:04:46 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2004-09-15 16:04:46 +0800
commit9d03728737c3ac793ac7a8d63398dad4053be7f9 (patch)
tree39857274e7cdcac6c079329fa1511c4b8201bc20 /src/ephy-history-window.c
parentad595146b5a48a6b527d0f643e5b06edae32917d (diff)
downloadgsoc2013-epiphany-9d03728737c3ac793ac7a8d63398dad4053be7f9.tar
gsoc2013-epiphany-9d03728737c3ac793ac7a8d63398dad4053be7f9.tar.gz
gsoc2013-epiphany-9d03728737c3ac793ac7a8d63398dad4053be7f9.tar.bz2
gsoc2013-epiphany-9d03728737c3ac793ac7a8d63398dad4053be7f9.tar.lz
gsoc2013-epiphany-9d03728737c3ac793ac7a8d63398dad4053be7f9.tar.xz
gsoc2013-epiphany-9d03728737c3ac793ac7a8d63398dad4053be7f9.tar.zst
gsoc2013-epiphany-9d03728737c3ac793ac7a8d63398dad4053be7f9.zip
Add api to show a context menu. Useful to make distinction between key and
2004-09-15 Marco Pesenti Gritti <marco@gnome.org> * lib/widgets/ephy-node-view.c: (ephy_node_view_add_toggle), (ephy_node_view_popup): * lib/widgets/ephy-node-view.h: Add api to show a context menu. Useful to make distinction between key and mouse events. * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_show_popup_cb), (keyword_node_show_popup_cb): * src/ephy-history-window.c: (ephy_history_window_show_popup_cb): Use it. Fix #152431
Diffstat (limited to 'src/ephy-history-window.c')
-rw-r--r--src/ephy-history-window.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ephy-history-window.c b/src/ephy-history-window.c
index b28a792cd..c0054d1e6 100644
--- a/src/ephy-history-window.c
+++ b/src/ephy-history-window.c
@@ -842,9 +842,7 @@ 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,
- ephy_gui_menu_position_tree_selection, view, 2,
- gtk_get_current_event_time ());
+ ephy_node_view_popup (EPHY_NODE_VIEW (view), widget);
return TRUE;
}