Permalink
Browse files

statusicon: Connect to button-press-event rather than button-release-…

…event. Closes: #62.
  • Loading branch information...
1 parent 88a5571 commit 208a2298f0648e2999eef46baca35e7ec20b9395 @jlindgren90 jlindgren90 committed Feb 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/statusicon/statusicon.c
@@ -322,7 +322,7 @@ static void si_enable(gboolean enable)
g_object_set_data(G_OBJECT(si_applet), "timer_active", GINT_TO_POINTER(0));
g_object_set_data(G_OBJECT(si_applet), "popup_active", GINT_TO_POINTER(0));
- g_signal_connect(G_OBJECT(si_applet), "button-release-event", G_CALLBACK(si_cb_btpress), NULL);
+ g_signal_connect(G_OBJECT(si_applet), "button-press-event", G_CALLBACK(si_cb_btpress), NULL);
g_signal_connect(G_OBJECT(si_applet), "scroll-event", G_CALLBACK(si_cb_btscroll), NULL);
g_signal_connect(G_OBJECT(si_applet), "query-tooltip", G_CALLBACK(si_cb_tooltip), NULL);

0 comments on commit 208a229

Please sign in to comment.