From 531db966e66aa1b1c1638fc5260e49334b808e9e Mon Sep 17 00:00:00 2001 From: "Nickolay V. Shmyrev" Date: Mon, 5 Feb 2007 21:55:10 +0000 Subject: [PATCH] Fixes dropdown history menu. Thanks a lot Carlos! 2007-02-06 Nickolay V. Shmyrev * shell/ev-navigation-action.c: (connect_proxy): Fixes dropdown history menu. Thanks a lot Carlos! svn path=/trunk/; revision=2298 --- ChangeLog | 6 ++++++ shell/ev-navigation-action.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index b0e1dfff..796bf030 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-02-06 Nickolay V. Shmyrev + + * shell/ev-navigation-action.c: (connect_proxy): + + Fixes dropdown history menu. Thanks a lot Carlos! + 2007-02-05 Carlos Garcia Campos * backend/djvu/djvu-links.c: (str_to_utf8), (build_tree): diff --git a/shell/ev-navigation-action.c b/shell/ev-navigation-action.c index c4f61917..cbed9fb8 100644 --- a/shell/ev-navigation-action.c +++ b/shell/ev-navigation-action.c @@ -166,7 +166,7 @@ connect_proxy (GtkAction *action, GtkWidget *proxy) { GtkWidget *menu; - if (EV_IS_NAVIGATION_ACTION (proxy)) { + if (GTK_IS_TOOL_ITEM (proxy)) { /* set dummy menu so the arrow gets sensitive */ menu = gtk_menu_new (); ev_navigation_action_widget_set_menu (EV_NAVIGATION_ACTION_WIDGET (proxy), menu); -- 2.43.5