aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-history-window.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-08-23 20:42:03 +0800
committerChristian Persch <chpe@src.gnome.org>2004-08-23 20:42:03 +0800
commit333f3539fef0bd52d338855cbe3b82f3d53a453a (patch)
tree65b3b43b85d4dd667c802fd72e40387017d431e3 /src/ephy-history-window.c
parent7cab7b7f5d4605a77b804c0e6cccc826e7bb311d (diff)
downloadgsoc2013-epiphany-333f3539fef0bd52d338855cbe3b82f3d53a453a.tar
gsoc2013-epiphany-333f3539fef0bd52d338855cbe3b82f3d53a453a.tar.gz
gsoc2013-epiphany-333f3539fef0bd52d338855cbe3b82f3d53a453a.tar.bz2
gsoc2013-epiphany-333f3539fef0bd52d338855cbe3b82f3d53a453a.tar.lz
gsoc2013-epiphany-333f3539fef0bd52d338855cbe3b82f3d53a453a.tar.xz
gsoc2013-epiphany-333f3539fef0bd52d338855cbe3b82f3d53a453a.tar.zst
gsoc2013-epiphany-333f3539fef0bd52d338855cbe3b82f3d53a453a.zip
Just use the popup_menu signal. Fixes bug #150830.
2004-08-23 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-node-view.c: (ephy_node_view_key_press_cb), (ephy_node_view_button_press_cb), (ephy_node_view_class_init): * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_show_popup_cb), (keyword_node_show_popup_cb), (ephy_bookmarks_editor_construct): * src/ephy-history-window.c: (ephy_history_window_show_popup_cb), (ephy_history_window_construct), (ephy_history_window_dispose): Just use the popup_menu signal. Fixes bug #150830.
Diffstat (limited to 'src/ephy-history-window.c')
-rw-r--r--src/ephy-history-window.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/ephy-history-window.c b/src/ephy-history-window.c
index 69f3a3c91..b045d48ab 100644
--- a/src/ephy-history-window.c
+++ b/src/ephy-history-window.c
@@ -834,7 +834,7 @@ remove_focus_monitor (EphyHistoryWindow *editor, GtkWidget *widget)
editor);
}
-static void
+static gboolean
ephy_history_window_show_popup_cb (GtkWidget *view,
EphyHistoryWindow *editor)
{
@@ -844,6 +844,8 @@ ephy_history_window_show_popup_cb (GtkWidget *view,
"/EphyHistoryWindowPopup");
gtk_menu_popup (GTK_MENU (widget), NULL, NULL, NULL, NULL, 2,
gtk_get_current_event_time ());
+
+ return TRUE;
}
static gboolean
@@ -1350,7 +1352,7 @@ ephy_history_window_construct (EphyHistoryWindow *editor)
G_CALLBACK (ephy_history_window_node_activated_cb),
editor);
g_signal_connect (G_OBJECT (pages_view),
- "show_popup",
+ "popup_menu",
G_CALLBACK (ephy_history_window_show_popup_cb),
editor);
g_signal_connect (G_OBJECT (pages_view),
@@ -1505,4 +1507,3 @@ ephy_history_window_dispose (GObject *object)
G_OBJECT_CLASS (parent_class)->dispose (object);
}
-