Fix the issue in which poweroff popup is terminated by key up event submit/tizen_2.1/20130514.055006
authorTaeyoung Kim <ty317.kim@samsung.com>
Mon, 13 May 2013 07:03:38 +0000 (16:03 +0900)
committerTaeyoung Kim <ty317.kim@samsung.com>
Mon, 13 May 2013 07:03:38 +0000 (16:03 +0900)
Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
poweroff-popup/src/poweroff.c

index 8c6661c..cfbbd70 100755 (executable)
@@ -284,7 +284,6 @@ int create_and_show_basic_popup_min(struct appdata *ad)
        xwin = elm_win_xwindow_get(ad->popup_poweroff);
        ecore_x_netwm_window_type_set(xwin, ECORE_X_WINDOW_TYPE_NOTIFICATION);
        utilx_grab_key(ecore_x_display_get(), xwin, KEY_SELECT, SHARED_GRAB);
-       ecore_event_handler_add(ECORE_EVENT_KEY_UP, poweroff_response_no_cb_min, NULL);
        evas_object_show(ad->popup_poweroff);
        vconf_notify_key_changed(VCONFKEY_PM_STATE, poweroff_popup_direct_cancel, ad);