diff options
-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; |