From 9d03728737c3ac793ac7a8d63398dad4053be7f9 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Wed, 15 Sep 2004 08:04:46 +0000 Subject: Add api to show a context menu. Useful to make distinction between key and 2004-09-15 Marco Pesenti Gritti * 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 --- lib/widgets/ephy-node-view.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/widgets/ephy-node-view.h') diff --git a/lib/widgets/ephy-node-view.h b/lib/widgets/ephy-node-view.h index 0779e9d5c..339eb5c62 100644 --- a/lib/widgets/ephy-node-view.h +++ b/lib/widgets/ephy-node-view.h @@ -128,6 +128,9 @@ void ephy_node_view_edit (EphyNodeView *view, gboolean ephy_node_view_is_target (EphyNodeView *view); +void ephy_node_view_popup (EphyNodeView *view, + GtkWidget *menu); + G_END_DECLS #endif /* EPHY_NODE_VIEW_H */ -- cgit