don't generate fileman submenu if it already exists

SVN revision: 75818
This commit is contained in:
Mike Blumenkrantz 2012-08-29 07:51:34 +00:00
parent 3a1f9aea52
commit e63e5b1e1b
1 changed files with 2 additions and 0 deletions

View File

@ -532,6 +532,8 @@ _e_mod_menu_generate(void *data __UNUSED__, E_Menu *m)
Eina_Bool need_separator;
Eina_Bool volumes_visible = 0;
if (m->items) return;
/* Home */
mi = e_menu_item_new(m);
e_menu_item_label_set(mi, _("Home"));