So far we only had a nice count down until we would restore but we never

restored. Calling the restore function now it countdown is at zero.

Not sure if function re-ordering or declaration is preferred here. Just added a
declaration as some others exist already.

Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>


SVN revision: 65371
This commit is contained in:
Stefan Schmidt 2011-11-18 08:00:53 +00:00 committed by Mike Blumenkrantz
parent 1024977100
commit 37fed2cea0
1 changed files with 8 additions and 1 deletions

View File

@ -80,6 +80,8 @@ extern void dialog_subdialog_orientation_update_edje(Evas_Object *crtc);
extern void dialog_subdialog_orientation_keep_changes(E_Config_Dialog_Data *cfdata);
extern void dialog_subdialog_orientation_discard_changes(E_Config_Dialog_Data *cfdata);
static void _e_conf_randr_confirmation_dialog_discard_cb(void *data, E_Dialog *dia);
/* actual module specifics */
E_Config_Dialog_Data *e_config_runtime_info = NULL;
extern E_Module *conf_randr_module;
@ -187,7 +189,12 @@ _e_conf_randr_confirmation_dialog_timer_cb(void *data)
e_dialog_text_set(cdd->dialog, buf);
return (cdd->countdown > 0) ? ECORE_CALLBACK_RENEW : ECORE_CALLBACK_CANCEL;
if (cdd->countdown == 0)
{
_e_conf_randr_confirmation_dialog_discard_cb(cdd, cdd->dialog);
return ECORE_CALLBACK_CANCEL;
}
return ECORE_CALLBACK_RENEW;
}
static void