#define DEBUG_MAP_TIME 1
-#define MAP_THUMB_MARGIN (20)
+#define MAP_THUMB_MARGIN (100)
/* Initial size */
#define BUF_WIDTH_TILES (4)
#if defined(WITH_HILDON_NEW)
if (hildon_helper_event_button_is_finger(event)) {
+ g_debug("Thumb down");
+
if (event->x<MAP_THUMB_MARGIN)
map_pan(-PAN_UNITS, 0);
}
#endif
-
switch (event->button) {
case 1:
if (event->type==GDK_2BUTTON_PRESS) {
guint poi_id;
gint ux, uy;
+#if defined(WITH_HILDON_NEW)
+if (hildon_helper_event_button_is_finger(event)) {
+ g_debug("Thumb up");
+ return FALSE;
+}
+#endif
+
switch (event->button) {
case 1:
if (_center_mode>0)