Fix N_SE-12459 : Fix indicator and volume setting UG issue.
authorhhh.kwon <hhh.kwon@samsung.com>
Fri, 23 Nov 2012 07:30:11 +0000 (16:30 +0900)
committerhhh.kwon <hhh.kwon@samsung.com>
Fri, 23 Nov 2012 07:30:11 +0000 (16:30 +0900)
src/_button.c
src/_logic.c

index d0ed4a3..0dd3924 100755 (executable)
@@ -108,8 +108,8 @@ int _open_ug(void *data)
        retvm_if(ad == NULL, -1, "Invalid argument: appdata is NULL\n");
        retvm_if(ad->win == NULL, -1, "Invalid argument: window is NULL\n");
 
-       UG_INIT_EFL(ad->win, UG_OPT_INDICATOR_PORTRAIT_ONLY);
        elm_win_indicator_mode_set(ad->win, ELM_WIN_INDICATOR_SHOW);
+       UG_INIT_EFL(ad->win, UG_OPT_INDICATOR_ENABLE);
        ug = create_button_ug(ad);
        if(ug!=NULL){
                ecore_x_e_illume_quickpanel_state_send(ecore_x_e_illume_zone_get(elm_win_xwindow_get(ad->win)),
index 3bdd8c0..a589a0f 100755 (executable)
@@ -695,6 +695,7 @@ int _app_reset(bundle *b, void *data)
                        _grab_key(ad);
                        _handle_bundle(b, ad);
                        _rotate_func(ad);
+                       elm_win_indicator_mode_set(ad->win, ELM_WIN_INDICATOR_HIDE);
                        evas_object_show(ad->win);
                        _mm_func(ad);
                        if (syspopup_has_popup(b))