changeset 930:c87e9835c443

clean up - checks are handled elsewhere
author nadvornik
date Sat, 26 Jul 2008 10:27:41 +0000
parents ca07ab364c60
children a53f5141228b
files src/view_file_list.c
diffstat 1 files changed, 0 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- 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 */