# HG changeset patch # User nadvornik # Date 1217068061 0 # Node ID c87e9835c443a6aac427be1aef48a91c0bb7900d # Parent ca07ab364c60f302eb569751dde559f85931ebf8 clean up - checks are handled elsewhere diff -r ca07ab364c60 -r c87e9835c443 src/view_file_list.c --- a/src/view_file_list.c Sat Jul 26 09:58:25 2008 +0000 +++ b/src/view_file_list.c Sat Jul 26 10:27:41 2008 +0000 @@ -420,12 +420,6 @@ file_util_warning_dialog(_("Error renaming file"), text, GTK_STOCK_DIALOG_ERROR, vf->listview); g_free(text); } - else if (isfile(new_path)) - { - gchar *text = g_strdup_printf(_("A file with name %s already exists."), new); - file_util_warning_dialog(_("Error renaming file"), text, GTK_STOCK_DIALOG_ERROR, vf->listview); - g_free(text); - } else { FileData *fd = file_data_new_simple(old_path); /* get the fd from cache */