[maemo-commits] [maemo-commits] r13772 - in projects/haf/trunk/hildon-desktop: . libhildondesktop
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Wed Sep 12 13:20:21 EEST 2007
- Previous message: [maemo-commits] r13771 - in projects/haf/trunk/hildon-input-method-framework: . src
- Next message: [maemo-commits] r13773 - projects/haf/branches/osso-gnomevfs-extra
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: jobi Date: 2007-09-12 13:20:15 +0300 (Wed, 12 Sep 2007) New Revision: 13772 Modified: projects/haf/trunk/hildon-desktop/ChangeLog projects/haf/trunk/hildon-desktop/libhildondesktop/hildon-desktop-home-item.c Log: 2007-09-12 Johan Bilien <johan.bilien at nokia.com> * libhildondesktop/hildon-desktop-home-area.c: ignore double- and triple- click button events. Fixes: NB#69026 Modified: projects/haf/trunk/hildon-desktop/ChangeLog =================================================================== --- projects/haf/trunk/hildon-desktop/ChangeLog 2007-09-12 09:58:46 UTC (rev 13771) +++ projects/haf/trunk/hildon-desktop/ChangeLog 2007-09-12 10:20:15 UTC (rev 13772) @@ -1,5 +1,11 @@ 2007-09-12 Johan Bilien <johan.bilien at nokia.com> + * libhildondesktop/hildon-desktop-home-area.c: ignore + double- and triple- click button events. + Fixes: NB#69026 + +2007-09-12 Johan Bilien <johan.bilien at nokia.com> + * src/hd-app-menu-settings-dialog.c: - strip the Category names from trailing and leading white spaces. Fixes: NB#68981 Modified: projects/haf/trunk/hildon-desktop/libhildondesktop/hildon-desktop-home-item.c =================================================================== --- projects/haf/trunk/hildon-desktop/libhildondesktop/hildon-desktop-home-item.c 2007-09-12 09:58:46 UTC (rev 13771) +++ projects/haf/trunk/hildon-desktop/libhildondesktop/hildon-desktop-home-item.c 2007-09-12 10:20:15 UTC (rev 13772) @@ -1329,9 +1329,18 @@ priv = HILDON_DESKTOP_HOME_ITEM_GET_PRIVATE (HILDON_DESKTOP_HOME_ITEM (w)); + /* ignore double and triple click button events */ + if (event->type != GDK_BUTTON_PRESS) + return FALSE; + + /* ignore events which do not occur on our event windows (typically + * events we propagated to the bin */ if (event->window != priv->event_window && - event->window != priv->resize_handle_window) + event->window != priv->resize_handle_window && + event->window != priv->close_button_window) + { return FALSE; + } /* Check if we clicked the close button */ if (event->window == priv->close_button_window)
- Previous message: [maemo-commits] r13771 - in projects/haf/trunk/hildon-input-method-framework: . src
- Next message: [maemo-commits] r13773 - projects/haf/branches/osso-gnomevfs-extra
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]