1 /* Setup if we need backlight? */
3 #include "e_mod_main.h"
6 wizard_page_init(E_Wizard_Page *pg __UNUSED__)
12 wizard_page_shutdown(E_Wizard_Page *pg __UNUSED__)
18 wizard_page_show(E_Wizard_Page *pg __UNUSED__)
20 int hav_backlight = 0;
22 if (e_backlight_exists()) hav_backlight = 1;
28 EINA_LIST_FOREACH(e_config->modules, l, em)
30 if (!em->name) continue;
31 if (!strcmp(em->name, "backlight"))
33 e_config->modules = eina_list_remove_list
34 (e_config->modules, l);
35 if (em->name) eina_stringshare_del(em->name);
40 e_config_save_queue();
42 return 0; /* 1 == show ui, and wait for user, 0 == just continue */
46 wizard_page_hide(E_Wizard_Page *pg __UNUSED__)
52 wizard_page_apply(E_Wizard_Page *pg __UNUSED__)