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"
|
2009-01-05 18:10:45 -08:00
|
|
|
|
2012-11-30 02:46:48 -08:00
|
|
|
#if 0
|
2009-01-05 18:10:45 -08:00
|
|
|
EAPI int
|
2012-11-26 04:40:31 -08:00
|
|
|
wizard_page_init(E_Wizard_Page *pg __UNUSED__, Eina_Bool *need_xdg_desktops __UNUSED__, Eina_Bool *need_xdg_icons __UNUSED__)
|
2009-01-05 18:10:45 -08:00
|
|
|
{
|
|
|
|
return 1;
|
|
|
|
}
|
2010-08-19 09:52:09 -07:00
|
|
|
|
2009-01-05 18:10:45 -08:00
|
|
|
EAPI int
|
2010-08-19 09:52:09 -07:00
|
|
|
wizard_page_shutdown(E_Wizard_Page *pg __UNUSED__)
|
2009-01-05 18:10:45 -08:00
|
|
|
{
|
|
|
|
return 1;
|
|
|
|
}
|
2010-08-19 09:52:09 -07:00
|
|
|
|
2009-01-05 18:10:45 -08:00
|
|
|
EAPI int
|
2010-08-19 09:52:09 -07:00
|
|
|
wizard_page_show(E_Wizard_Page *pg __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
|
|
|
|
2009-01-05 18:10:45 -08:00
|
|
|
EAPI int
|
2011-08-15 02:21:12 -07:00
|
|
|
wizard_page_hide(E_Wizard_Page *pg __UNUSED__)
|
2009-01-05 18:10:45 -08:00
|
|
|
{
|
|
|
|
return 1;
|
|
|
|
}
|
2012-11-30 02:46:48 -08:00
|
|
|
#endif
|
2009-01-05 18:10:45 -08:00
|
|
|
EAPI int
|
2010-08-19 09:52:09 -07:00
|
|
|
wizard_page_apply(E_Wizard_Page *pg __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
|
|
|
|