From: Christian Dywan Date: Sun, 13 Dec 2009 14:41:47 +0000 (+0100) Subject: Connect to button press on folder menu items X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2733ae4f2eecd475bcb0ea8325705525524cf304;p=midori Connect to button press on folder menu items --- diff --git a/katze/katze-arrayaction.c b/katze/katze-arrayaction.c index 82219a2f..4186d609 100644 --- a/katze/katze-arrayaction.c +++ b/katze/katze-arrayaction.c @@ -360,12 +360,12 @@ katze_array_action_generate_menu (KatzeArrayAction* array_action, } else { - g_signal_connect (menuitem, "button-press-event", - G_CALLBACK (katze_array_action_menu_button_press_cb), array_action); /* we need the 'activate' signal as well for keyboard events */ g_signal_connect (menuitem, "activate", G_CALLBACK (katze_array_action_menu_activate_cb), array_action); } + g_signal_connect (menuitem, "button-press-event", + G_CALLBACK (katze_array_action_menu_button_press_cb), array_action); gtk_widget_show (menuitem); } }