Activate status icons on single click

This commit is contained in:
Matthias Clasen 2005-10-26 03:18:09 +00:00
parent af86cec5e1
commit 80b528bfeb
3 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-10-25 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkstatusicon.c: Emit activate on single-click,
not on double-click, change proposed by Milosz Derezynski.
2005-10-25 Kristian Rietveld <kris@gtk.org>
Fixes #311955, reported by Markku Vire; and a lot more.

View File

@ -1,3 +1,8 @@
2005-10-25 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkstatusicon.c: Emit activate on single-click,
not on double-click, change proposed by Milosz Derezynski.
2005-10-25 Kristian Rietveld <kris@gtk.org>
Fixes #311955, reported by Markku Vire; and a lot more.

View File

@ -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;