diff --git a/ChangeLog b/ChangeLog index 91cfc66d3..5b5fd10a7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-10-25 Matthias Clasen + + * gtk/gtkstatusicon.c: Emit activate on single-click, + not on double-click, change proposed by Milosz Derezynski. + 2005-10-25 Kristian Rietveld Fixes #311955, reported by Markku Vire; and a lot more. diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 91cfc66d3..5b5fd10a7 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +2005-10-25 Matthias Clasen + + * gtk/gtkstatusicon.c: Emit activate on single-click, + not on double-click, change proposed by Milosz Derezynski. + 2005-10-25 Kristian Rietveld Fixes #311955, reported by Markku Vire; and a lot more. diff --git a/gtk/gtkstatusicon.c b/gtk/gtkstatusicon.c index 30f0f78e8..19531ea9b 100755 --- a/gtk/gtkstatusicon.c +++ b/gtk/gtkstatusicon.c @@ -702,7 +702,7 @@ static gboolean gtk_status_icon_button_press (GtkStatusIcon *status_icon, GdkEventButton *event) { - if (event->button == 1 && event->type == GDK_2BUTTON_PRESS) + if (event->button == 1 && event->type == GDK_BUTTON_PRESS) { emit_activate_signal (status_icon); return TRUE;