projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfab6c6
)
clean up - checks are handled elsewhere
author
Vladimir Nadvornik
<nadvornik@suse.cz>
Sat, 26 Jul 2008 10:27:41 +0000
(10:27 +0000)
committer
Vladimir Nadvornik
<nadvornik@suse.cz>
Sat, 26 Jul 2008 10:27:41 +0000
(10:27 +0000)
src/view_file_list.c
patch
|
blob
|
history
diff --git
a/src/view_file_list.c
b/src/view_file_list.c
index
2dfdbca
..
c01d1ea
100644
(file)
--- a/
src/view_file_list.c
+++ b/
src/view_file_list.c
@@
-420,12
+420,6
@@
static gint vflist_row_rename_cb(TreeEditData *td, const gchar *old, const gchar
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 */