diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-10-22 03:21:03 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-10-22 03:21:03 +0800 |
commit | 35ff42ccce89878195e06f2372baaf86b12f3f46 (patch) | |
tree | 8cc758ea66623849a8e1d6c5c20900860b47fd92 | |
parent | 392f5b27dabf3c95cff363e172855892d47c9f32 (diff) | |
download | gsoc2013-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-- | ChangeLog | 6 | ||||
-rw-r--r-- | lib/egg/eggstatusicon.c | 4 |
2 files changed, 9 insertions, 1 deletions
@@ -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; |