aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bookmarks/ephy-bookmarks-editor.c8
-rw-r--r--src/ephy-history-window.c4
2 files changed, 3 insertions, 9 deletions
diff --git a/src/bookmarks/ephy-bookmarks-editor.c b/src/bookmarks/ephy-bookmarks-editor.c
index 3a6cd2db0..71ca3934a 100644
--- a/src/bookmarks/ephy-bookmarks-editor.c
+++ b/src/bookmarks/ephy-bookmarks-editor.c
@@ -1137,9 +1137,7 @@ 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,
- ephy_gui_menu_position_tree_selection, view, 2,
- gtk_get_current_event_time ());
+ ephy_node_view_popup (EPHY_NODE_VIEW (view), widget);
return TRUE;
}
@@ -1229,9 +1227,7 @@ 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,
- ephy_gui_menu_position_tree_selection, view, 2,
- gtk_get_current_event_time ());
+ ephy_node_view_popup (EPHY_NODE_VIEW (view), widget);
return TRUE;
}
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;
}