From 2733ae4f2eecd475bcb0ea8325705525524cf304 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Sun, 13 Dec 2009 15:41:47 +0100 Subject: [PATCH] Connect to button press on folder menu items --- katze/katze-arrayaction.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } } -- 2.39.5