diff options
author | Hyungdeuk Kim <hd3.kim@samsung.com> | 2013-04-12 10:24:20 +0900 |
---|---|---|
committer | Hyungdeuk Kim <hd3.kim@samsung.com> | 2013-04-12 10:24:20 +0900 |
commit | 46b82c6d162cea4d5560c82ae117b6a49b217bf8 (patch) | |
tree | f52f75280c1f395e5a439a3e14e4ad056aece973 /client | |
parent | 799d227d19ac183c6d6a44f2ec131ae46695c056 (diff) | |
download | ui-gadget-1-46b82c6d162cea4d5560c82ae117b6a49b217bf8.tar.gz ui-gadget-1-46b82c6d162cea4d5560c82ae117b6a49b217bf8.tar.bz2 ui-gadget-1-46b82c6d162cea4d5560c82ae117b6a49b217bf8.zip |
remve window profile changed cb for desktop mode
Diffstat (limited to 'client')
-rwxr-xr-x | client/ug-client.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/client/ug-client.c b/client/ug-client.c index cb09e10..052587f 100755 --- a/client/ug-client.c +++ b/client/ug-client.c @@ -172,10 +172,10 @@ static void profile_changed_cb(void *data, Evas_Object * obj, void *event) { const char *profile = elm_config_profile_get(); + LOGE("!!! profile_changed_cb(%s) !!!", profile); + if (strcmp(profile, "desktop") == 0) elm_win_indicator_mode_set (obj, ELM_WIN_INDICATOR_HIDE); - else - elm_win_indicator_mode_set (obj, ELM_WIN_INDICATOR_SHOW); } static Evas_Object *create_win(const char *name) @@ -189,7 +189,8 @@ static Evas_Object *create_win(const char *name) elm_win_conformant_set(eo, EINA_TRUE); evas_object_smart_callback_add(eo, "delete,request", win_del, NULL); - evas_object_smart_callback_add(eo, "profile,changed", profile_changed_cb, NULL); + /* disable destktop mode + evas_object_smart_callback_add(eo, "profile,changed", profile_changed_cb, NULL); */ ecore_x_window_size_get(ecore_x_window_root_first_get(), &w, &h); evas_object_resize(eo, w, h); |