/* Delete previous copy of config profile and save new one */ #include "e.h" #include "e_mod_main.h" EAPI int wizard_page_init(E_Wizard_Page *pg __UNUSED__) { return 1; } EAPI int wizard_page_shutdown(E_Wizard_Page *pg __UNUSED__) { return 1; } EAPI int wizard_page_show(E_Wizard_Page *pg __UNUSED__) { return 0; /* 1 == show ui, and wait for user, 0 == just continue */ } EAPI int wizard_page_hide(E_Wizard_Page *pg __UNUSED__) { return 1; } EAPI int wizard_page_apply(E_Wizard_Page *pg __UNUSED__) { // save the config now everyone has modified it e_config_save(); // restart e e_sys_action_do(E_SYS_RESTART, NULL); return 1; }