Mapbuf has been disabled all the time
authorJin Yoon <jinny.yoon@samsung.com>
Thu, 24 Jan 2013 08:27:57 +0000 (17:27 +0900)
committerJin Yoon <jinny.yoon@samsung.com>
Thu, 24 Jan 2013 08:27:57 +0000 (17:27 +0900)
Change-Id: If0345bf732bc613b7e86ea26c7b8766ce13990dc

src/mapbuf.c

index e2ac478..098b12b 100644 (file)
@@ -63,6 +63,8 @@ menu_screen_error_e mapbuf_enable(Evas_Object *obj, int force)
        Evas_Object *mapbuf;
        int cnt;
 
+       _D("Mapbuf disabled version");
+
        mapbuf = mapbuf_get_mapbuf(obj);
        if (!mapbuf) {
                _D("Failed to get the mapbuf object");
@@ -71,7 +73,8 @@ menu_screen_error_e mapbuf_enable(Evas_Object *obj, int force)
 
        if (force) {
                evas_object_data_set(mapbuf, "mapbuf_enabled", (void*)0);
-               elm_mapbuf_enabled_set(mapbuf, 1);
+               //elm_mapbuf_enabled_set(mapbuf, 1); // Mapbuf has been disabled because of a mapbuf bug.
+               elm_mapbuf_enabled_set(mapbuf, 0);
                return MENU_SCREEN_ERROR_OK;
        }
 
@@ -82,7 +85,8 @@ menu_screen_error_e mapbuf_enable(Evas_Object *obj, int force)
 
        if (cnt == 0) {
                if (!elm_mapbuf_enabled_get(mapbuf)) {
-                       elm_mapbuf_enabled_set(mapbuf, 1);
+                       //elm_mapbuf_enabled_set(mapbuf, 1); // Mapbuf has been disabled because of a mapbuf bug.
+                       elm_mapbuf_enabled_set(mapbuf, 0);
                        //_D("[%s] mapbuf enabled", __func__);
                }
        }