forked from enlightenment/enlightenment
only create syscon menu if it hasn't been created previously
SVN revision: 75242
This commit is contained in:
parent
08e0a309bd
commit
24d50c60bf
|
@ -250,6 +250,7 @@ e_syscon_menu_fill(E_Menu *m)
|
||||||
E_Menu_Item *it;
|
E_Menu_Item *it;
|
||||||
|
|
||||||
if (!m) return;
|
if (!m) return;
|
||||||
|
if (m->items) return;
|
||||||
if ((sca = _find_action("desk_lock")))
|
if ((sca = _find_action("desk_lock")))
|
||||||
{
|
{
|
||||||
it = e_menu_item_new(m);
|
it = e_menu_item_new(m);
|
||||||
|
|
Loading…
Reference in New Issue