mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 13:11:13 +00:00
Activate status icons on single click
This commit is contained in:
parent
af86cec5e1
commit
80b528bfeb
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user