Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Maemo: Commits

r13772 - in projects/haf/trunk/hildon-desktop: . libhildondesktop

 

 

Maemo commits RSS feed   Index | Next | Previous | View Threaded


subversion at stage

Sep 12, 2007, 3:20 AM

Post #1 of 1 (46 views)
Permalink
r13772 - in projects/haf/trunk/hildon-desktop: . libhildondesktop

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)

_______________________________________________
maemo-commits mailing list
maemo-commits[at]maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-commits

Maemo commits RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.