Commit 80b528bf authored by Matthias Clasen's avatar Matthias Clasen
Browse files

Activate status icons on single click

parent af86cec5
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> 2005-10-25 Kristian Rietveld <kris@gtk.org>
Fixes #311955, reported by Markku Vire; and a lot more. Fixes #311955, reported by Markku Vire; and a lot more.
......
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> 2005-10-25 Kristian Rietveld <kris@gtk.org>
Fixes #311955, reported by Markku Vire; and a lot more. Fixes #311955, reported by Markku Vire; and a lot more.
......
...@@ -702,7 +702,7 @@ static gboolean ...@@ -702,7 +702,7 @@ static gboolean
gtk_status_icon_button_press (GtkStatusIcon *status_icon, gtk_status_icon_button_press (GtkStatusIcon *status_icon,
GdkEventButton *event) 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); emit_activate_signal (status_icon);
return TRUE; return TRUE;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment