2011-08-15 02:21:12 -07:00
|
|
|
/* Delete previous copy of config profile and save new one */
|
2012-11-30 06:38:34 -08:00
|
|
|
#include "e_wizard.h"
|
2018-05-27 06:51:15 -07:00
|
|
|
#include "e_wizard_api.h"
|
2009-01-05 18:10:45 -08:00
|
|
|
|
2012-11-30 02:46:48 -08:00
|
|
|
#if 0
|
2015-05-07 12:13:10 -07:00
|
|
|
E_API int
|
2015-03-18 15:09:09 -07:00
|
|
|
wizard_page_init(E_Wizard_Page *pg EINA_UNUSED, Eina_Bool *need_xdg_desktops EINA_UNUSED, Eina_Bool *need_xdg_icons EINA_UNUSED)
|
2009-01-05 18:10:45 -08:00
|
|
|
{
|
|
|
|
return 1;
|
|
|
|
}
|
2010-08-19 09:52:09 -07:00
|
|
|
|
2015-05-07 12:13:10 -07:00
|
|
|
E_API int
|
2015-03-18 15:09:09 -07:00
|
|
|
wizard_page_shutdown(E_Wizard_Page *pg EINA_UNUSED)
|
2009-01-05 18:10:45 -08:00
|
|
|
{
|
|
|
|
return 1;
|
|
|
|
}
|
2010-08-19 09:52:09 -07:00
|
|
|
|
2015-05-07 12:13:10 -07:00
|
|
|
E_API int
|
2015-03-18 15:09:09 -07:00
|
|
|
wizard_page_show(E_Wizard_Page *pg EINA_UNUSED)
|
2009-01-05 18:10:45 -08:00
|
|
|
{
|
|
|
|
return 0; /* 1 == show ui, and wait for user, 0 == just continue */
|
|
|
|
}
|
2011-08-15 02:21:12 -07:00
|
|
|
|
2015-05-07 12:13:10 -07:00
|
|
|
E_API int
|
2015-03-18 15:09:09 -07:00
|
|
|
wizard_page_hide(E_Wizard_Page *pg EINA_UNUSED)
|
2009-01-05 18:10:45 -08:00
|
|
|
{
|
|
|
|
return 1;
|
|
|
|
}
|
2012-11-30 02:46:48 -08:00
|
|
|
#endif
|
2015-05-07 12:13:10 -07:00
|
|
|
E_API int
|
2015-03-18 15:09:09 -07:00
|
|
|
wizard_page_apply(E_Wizard_Page *pg EINA_UNUSED)
|
2009-01-05 18:10:45 -08:00
|
|
|
{
|
|
|
|
// save the config now everyone has modified it
|
|
|
|
e_config_save();
|
2012-02-10 22:43:58 -08:00
|
|
|
// diusable restart env so we actually start a whole new session properly
|
|
|
|
e_util_env_set("E_RESTART", NULL);
|
2009-01-05 18:10:45 -08:00
|
|
|
// restart e
|
|
|
|
e_sys_action_do(E_SYS_RESTART, NULL);
|
|
|
|
return 1;
|
|
|
|
}
|
2012-06-28 06:12:13 -07:00
|
|
|
|