2011-08-15 02:21:12 -07:00
|
|
|
/* Menu setup */
|
2008-10-25 08:18:48 -07: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__)
|
2008-10-25 08:18:48 -07:00
|
|
|
{
|
|
|
|
return 1;
|
|
|
|
}
|
2009-11-25 10:55:15 -08:00
|
|
|
|
2008-10-25 08:18:48 -07:00
|
|
|
EAPI int
|
2010-08-19 09:52:09 -07:00
|
|
|
wizard_page_shutdown(E_Wizard_Page *pg __UNUSED__)
|
2008-10-25 08:18:48 -07:00
|
|
|
{
|
|
|
|
return 1;
|
|
|
|
}
|
2009-11-25 10:55:15 -08:00
|
|
|
|
2008-10-25 08:18:48 -07:00
|
|
|
EAPI int
|
2011-08-15 02:21:12 -07:00
|
|
|
wizard_page_show(E_Wizard_Page *pg __UNUSED__)
|
2008-10-25 08:18:48 -07:00
|
|
|
{
|
2011-08-15 02:21:12 -07:00
|
|
|
char buf[PATH_MAX];
|
|
|
|
|
|
|
|
snprintf(buf, sizeof(buf), "%s/etc/xdg/menus/enlightenment.menu",
|
|
|
|
e_prefix_get());
|
|
|
|
e_config->default_system_menu = eina_stringshare_add(buf);
|
|
|
|
return 0; /* 1 == show ui, and wait for user, 0 == just continue */
|
2008-10-25 08:18:48 -07:00
|
|
|
}
|
2009-11-25 10:55:15 -08:00
|
|
|
|
2008-10-25 08:18:48 -07:00
|
|
|
EAPI int
|
2011-08-15 02:21:12 -07:00
|
|
|
wizard_page_hide(E_Wizard_Page *pg __UNUSED__)
|
2008-10-25 08:18:48 -07:00
|
|
|
{
|
|
|
|
return 1;
|
|
|
|
}
|
2009-11-25 10:55:15 -08:00
|
|
|
|
2008-10-25 08:18:48 -07:00
|
|
|
EAPI int
|
2010-08-19 09:52:09 -07:00
|
|
|
wizard_page_apply(E_Wizard_Page *pg __UNUSED__)
|
2008-10-25 08:18:48 -07:00
|
|
|
{
|
|
|
|
return 1;
|
|
|
|
}
|