From 531db966e66aa1b1c1638fc5260e49334b808e9e Mon Sep 17 00:00:00 2001 From: Nickolay V. Shmyrev Date: Mon, 05 Feb 2007 21:55:10 +0000 Subject: 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 --- (limited to 'shell') diff --git a/shell/ev-navigation-action.c b/shell/ev-navigation-action.c index c4f6191..cbed9fb 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); -- cgit v0.9.1