prevent all renaming when the icon menu flag is set to disable it

SVN revision: 74967
This commit is contained in:
Mike Blumenkrantz 2012-08-07 08:56:03 +00:00
parent ce76c249b8
commit 3b748e94c5
1 changed files with 1 additions and 0 deletions

View File

@ -9260,6 +9260,7 @@ _e_fm2_file_rename(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
ic->rename_click = NULL;
}
if ((ic->entry_dialog) || (ic->entry_widget)) return;
if (ic->sd->icon_menu.flags & E_FM2_MENU_NO_RENAME) return;
if (!_e_fm2_icon_entry_widget_add(ic))
{