2011-08-15 02:21:12 -07:00
|
|
|
/* Menu setup */
|
2012-11-30 06:38:34 -08:00
|
|
|
#include "e_wizard.h"
|
2012-11-30 02:46:48 -08:00
|
|
|
/*
|
2015-05-07 12:13:10 -07:00
|
|
|
E_API int
|
2015-03-18 15:09:09 -07:00
|
|
|
wizard_page_init(E_Wizard_Page *pg EINA_UNUSED, Eina_Bool *need_xdg_desktops EINA_UNUSED, Eina_Bool *need_xdg_icons EINA_UNUSED)
|
2008-10-25 08:18:48 -07:00
|
|
|
{
|
|
|
|
return 1;
|
|
|
|
}
|
2009-11-25 10:55:15 -08:00
|
|
|
|
2015-05-07 12:13:10 -07:00
|
|
|
E_API int
|
2015-03-18 15:09:09 -07:00
|
|
|
wizard_page_shutdown(E_Wizard_Page *pg EINA_UNUSED)
|
2008-10-25 08:18:48 -07:00
|
|
|
{
|
|
|
|
return 1;
|
|
|
|
}
|
2012-11-30 02:46:48 -08:00
|
|
|
*/
|
2015-05-07 12:13:10 -07:00
|
|
|
E_API int
|
2015-03-18 15:09:09 -07:00
|
|
|
wizard_page_show(E_Wizard_Page *pg EINA_UNUSED)
|
2008-10-25 08:18:48 -07:00
|
|
|
{
|
2011-08-15 02:21:12 -07:00
|
|
|
char buf[PATH_MAX];
|
2012-06-28 06:12:13 -07:00
|
|
|
|
2014-06-11 01:43:26 -07:00
|
|
|
snprintf(buf, sizeof(buf), "%s/etc/xdg/menus/e-applications.menu",
|
2011-08-15 02:21:12 -07:00
|
|
|
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
|
|
|
}
|
2012-11-30 02:46:48 -08:00
|
|
|
/*
|
2015-05-07 12:13:10 -07:00
|
|
|
E_API int
|
2015-03-18 15:09:09 -07:00
|
|
|
wizard_page_hide(E_Wizard_Page *pg EINA_UNUSED)
|
2008-10-25 08:18:48 -07:00
|
|
|
{
|
|
|
|
return 1;
|
|
|
|
}
|
2009-11-25 10:55:15 -08:00
|
|
|
|
2015-05-07 12:13:10 -07:00
|
|
|
E_API int
|
2015-03-18 15:09:09 -07:00
|
|
|
wizard_page_apply(E_Wizard_Page *pg EINA_UNUSED)
|
2008-10-25 08:18:48 -07:00
|
|
|
{
|
|
|
|
return 1;
|
|
|
|
}
|
2012-11-30 02:46:48 -08:00
|
|
|
*/
|