2011-08-15 02:21:12 -07:00
|
|
|
/* Delete previous copy of config profile and save new one */
|
2009-01-05 18:10:45 -08:00
|
|
|
#include "e.h"
|
|
|
|
#include "e_mod_main.h"
|
|
|
|
|
|
|
|
EAPI int
|
2010-08-19 09:52:09 -07:00
|
|
|
wizard_page_init(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_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;
|
|
|
|
}
|
2011-08-15 02:21:12 -07:00
|
|
|
|
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();
|
|
|
|
// restart e
|
|
|
|
e_sys_action_do(E_SYS_RESTART, NULL);
|
|
|
|
return 1;
|
|
|
|
}
|