[maemo-commits] [maemo-commits] r10762 - in projects/haf/trunk/hildon-desktop: . src
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Mon Mar 26 15:32:55 EEST 2007
- Previous message: [maemo-commits] r10761 - projects/haf/hafbuildbot
- Next message: [maemo-commits] r10765 - projects/haf/hafbuildbot
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: moimart
Date: 2007-03-26 15:32:53 +0300 (Mon, 26 Mar 2007)
New Revision: 10762
Modified:
projects/haf/trunk/hildon-desktop/ChangeLog
projects/haf/trunk/hildon-desktop/src/hn-app-switcher.c
Log:
* Src/hn-app-switcher.c: Use hildon_helper_event_button_is_finger
if hildon-1 is present.
* ChangeLog updated.
Modified: projects/haf/trunk/hildon-desktop/ChangeLog
===================================================================
--- projects/haf/trunk/hildon-desktop/ChangeLog 2007-03-26 12:24:01 UTC (rev 10761)
+++ projects/haf/trunk/hildon-desktop/ChangeLog 2007-03-26 12:32:53 UTC (rev 10762)
@@ -1,3 +1,8 @@
+2007-03-26 Moises Martinez <moises.martinez at nokia.com>
+
+ * Src/hn-app-switcher.c: Use hildon_helper_event_button_is_finger
+ if hildon-1 is present.
+
2007-03-23 Moises Martinez <moises.martinez at nokia.com>
* libhildondesktop/hildon-desktop-plugin.h:
Modified: projects/haf/trunk/hildon-desktop/src/hn-app-switcher.c
===================================================================
--- projects/haf/trunk/hildon-desktop/src/hn-app-switcher.c 2007-03-26 12:24:01 UTC (rev 10761)
+++ projects/haf/trunk/hildon-desktop/src/hn-app-switcher.c 2007-03-26 12:32:53 UTC (rev 10762)
@@ -66,6 +66,7 @@
#endif
#ifdef HAVE_LIBHILDON
+#include <hildon/hildon-helper.h>
#else
#include <hildon-widgets/hildon-finger.h>
#endif
@@ -975,10 +976,10 @@
/*FIXME: We will have to rewrite this */
/* hd_wm_activate (HN_TN_DEACTIVATE_KEY_FOCUS);*/
-#ifndef HILDON_LIBS
+#ifndef HAVE_LIBHILDON
if (event->button == APP_BUTTON_THUMBABLE || event->button == 2)
#else
- if (hildon_button_event_is_finger (event))
+ if (hildon_helper_event_button_is_finger (event))
#endif
priv->is_thumbable = TRUE;
else
- Previous message: [maemo-commits] r10761 - projects/haf/hafbuildbot
- Next message: [maemo-commits] r10765 - projects/haf/hafbuildbot
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
