aboutsummaryrefslogtreecommitdiffstats
path: root/lib/egg
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-10-22 03:21:03 +0800
committerChristian Persch <chpe@src.gnome.org>2004-10-22 03:21:03 +0800
commit35ff42ccce89878195e06f2372baaf86b12f3f46 (patch)
tree8cc758ea66623849a8e1d6c5c20900860b47fd92 /lib/egg
parent392f5b27dabf3c95cff363e172855892d47c9f32 (diff)
downloadgsoc2013-epiphany-35ff42ccce89878195e06f2372baaf86b12f3f46.tar
gsoc2013-epiphany-35ff42ccce89878195e06f2372baaf86b12f3f46.tar.gz
gsoc2013-epiphany-35ff42ccce89878195e06f2372baaf86b12f3f46.tar.bz2
gsoc2013-epiphany-35ff42ccce89878195e06f2372baaf86b12f3f46.tar.lz
gsoc2013-epiphany-35ff42ccce89878195e06f2372baaf86b12f3f46.tar.xz
gsoc2013-epiphany-35ff42ccce89878195e06f2372baaf86b12f3f46.tar.zst
gsoc2013-epiphany-35ff42ccce89878195e06f2372baaf86b12f3f46.zip
Activate with double-click, as per HIG. Fixes bug #152899.
2004-10-21 Christian Persch <chpe@cvs.gnome.org> * lib/egg/eggstatusicon.c: (egg_status_icon_button_press): Activate with double-click, as per HIG. Fixes bug #152899.
Diffstat (limited to 'lib/egg')
-rw-r--r--lib/egg/eggstatusicon.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/egg/eggstatusicon.c b/lib/egg/eggstatusicon.c
index 72dcef518..32c7d9d7c 100644
--- a/lib/egg/eggstatusicon.c
+++ b/lib/egg/eggstatusicon.c
@@ -563,7 +563,9 @@ static gboolean
egg_status_icon_button_press (EggStatusIcon *status_icon,
GdkEventButton *event)
{
- if (event->button == 1 && !status_icon->priv->button_down)
+ if (event->button == 1 &&
+ event->type == GDK_2BUTTON_PRESS &&
+ !status_icon->priv->button_down)
{
status_icon->priv->button_down = TRUE;
return TRUE;