Fix inputmethod setting window can not rotate. 86/41786/1
authorshoum.chen@samsung.com <shoum.chen@samsung.com>
Tue, 16 Jun 2015 08:08:33 +0000 (16:08 +0800)
committerJihoon Kim <jihoon48.kim@samsung.com>
Wed, 17 Jun 2015 11:29:05 +0000 (20:29 +0900)
Change-Id: I27e8ee4c7bfe6d6d60960a930158df89b3082c3b
Signed-off-by: shoum.chen@samsung.com <shoum.chen@samsung.com>
im_setting_list/input_method_setting_list_ui.cpp
im_setting_selector/input_method_setting_selector_ui.cpp

index 21ff1277c30167712896c0b8568020e4ce98a72b..d12a24926639b71d75e6b7c9df9561b2046156f5 100644 (file)
@@ -92,6 +92,8 @@ im_setting_list_main_window_create(const char *name)
            return NULL;
         }
         evas_object_resize(eo, w, h);
+        int rots[4] = {0, 90, 180, 270};
+        elm_win_wm_rotation_available_rotations_set(eo, rots, 4);
     }
     return eo;
 }
index 686baed9808ef6ec35a52e63ce7815ea2bdedf50..ce6bee7816b325af44b337067f9e42e97bf286cd 100644 (file)
@@ -65,6 +65,8 @@ im_setting_selector_main_window_create(const char *name)
            return NULL;
         }
         evas_object_resize(eo, w, h);
+        int rots[4] = {0, 90, 180, 270};
+        elm_win_wm_rotation_available_rotations_set(eo, rots, 4);
     }
     return eo;
 }