aboutsummaryrefslogtreecommitdiffstats
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
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.
-rw-r--r--ChangeLog6
-rw-r--r--lib/egg/eggstatusicon.c4
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 47742c8bc..c67329d1e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+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.
+
2004-10-19 Christian Persch <chpe@cvs.gnome.org>
* src/bookmarks/ephy-bookmarks-import.c: (xbel_parse_xbel):
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;