Tizen 2.1 release
[platform/core/uifw/e17.git] / src / modules / wizard / page_030.c
1 /* Menu setup */
2 #include "e.h"
3 #include "e_mod_main.h"
4
5 EAPI int
6 wizard_page_init(E_Wizard_Page *pg __UNUSED__)
7 {
8    return 1;
9 }
10
11 EAPI int
12 wizard_page_shutdown(E_Wizard_Page *pg __UNUSED__)
13 {
14    return 1;
15 }
16
17 EAPI int
18 wizard_page_show(E_Wizard_Page *pg __UNUSED__)
19 {
20    char buf[PATH_MAX];
21
22    snprintf(buf, sizeof(buf), "%s/etc/xdg/menus/enlightenment.menu",
23             e_prefix_get());
24    e_config->default_system_menu = eina_stringshare_add(buf);
25    return 0; /* 1 == show ui, and wait for user, 0 == just continue */
26 }
27
28 EAPI int
29 wizard_page_hide(E_Wizard_Page *pg __UNUSED__)
30 {
31    return 1;
32 }
33
34 EAPI int
35 wizard_page_apply(E_Wizard_Page *pg __UNUSED__)
36 {
37    return 1;
38 }
39