watch out for not loading the timed_menu plugin
This commit is contained in:
parent
c5b8ec744c
commit
7b65469aea
1 changed files with 6 additions and 4 deletions
|
@ -93,10 +93,12 @@ void menu_startup()
|
|||
menu_add_entry(m, menu_entry_new_submenu("subz", s));
|
||||
|
||||
t = (Menu *)plugin_create("timed_menu");
|
||||
a = action_from_string("execute");
|
||||
a->data.execute.path = g_strdup("xeyes");
|
||||
menu_add_entry(t, menu_entry_new("xeyes", a));
|
||||
menu_add_entry(m, menu_entry_new_submenu("timed", t));
|
||||
if (t) {
|
||||
a = action_from_string("execute");
|
||||
a->data.execute.path = g_strdup("xeyes");
|
||||
menu_add_entry(t, menu_entry_new("xeyes", a));
|
||||
menu_add_entry(m, menu_entry_new_submenu("timed", t));
|
||||
}
|
||||
|
||||
s = menu_new("empty", "chub", m);
|
||||
menu_add_entry(m, menu_entry_new_submenu("empty", s));
|
||||
|
|
Loading…
Reference in a new issue