1
1

1998-12-13 Federico Mena Quintero <federico@nuclecu.unam.mx>

* gdnd.c (perform_action): Fixed a pair of incorrect braces.
	Files were not being operated on because of this.
Этот коммит содержится в:
Miguel de Icaza 1998-12-14 01:36:24 +00:00
родитель 3b03faaa2e
Коммит accb3df6e6
2 изменённых файлов: 29 добавлений и 25 удалений

Просмотреть файл

@ -1,3 +1,8 @@
1998-12-13 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gdnd.c (perform_action): Fixed a pair of incorrect braces.
Files were not being operated on because of this.
1998-12-12 Owen Taylor <otaylor@gtk.org> 1998-12-12 Owen Taylor <otaylor@gtk.org>
* gscreen.c (panel_tree_drag_motion): Doubled timeout * gscreen.c (panel_tree_drag_motion): Doubled timeout

Просмотреть файл

@ -201,32 +201,31 @@ perform_action (GList *names, GdkDragAction action, char *destdir)
/* FIXME: this error message sucks */ /* FIXME: this error message sucks */
if (file_error (_("Could not stat %s\n%s"), dest_name) != FILE_RETRY) if (file_error (_("Could not stat %s\n%s"), dest_name) != FILE_RETRY)
result = 0; result = 0;
else { } else {
long count = 0; long count = 0;
double bytes = 0; double bytes = 0;
if (S_ISDIR (s.st_mode)) { if (S_ISDIR (s.st_mode)) {
if (action == GDK_ACTION_COPY) if (action == GDK_ACTION_COPY)
copy_dir_dir ( copy_dir_dir (
name, dest_name, name, dest_name,
TRUE, FALSE, TRUE, FALSE,
FALSE, FALSE, FALSE, FALSE,
&count, &bytes); &count, &bytes);
else else
move_dir_dir ( move_dir_dir (
name, dest_name, name, dest_name,
&count, &bytes); &count, &bytes);
} else { } else {
if (action == GDK_ACTION_COPY) if (action == GDK_ACTION_COPY)
copy_file_file ( copy_file_file (
name, dest_name, name, dest_name,
TRUE, TRUE,
&count, &bytes); &count, &bytes);
else else
move_file_file ( move_file_file (
name, dest_name, name, dest_name,
&count, &bytes); &count, &bytes);
}
} }
} }
} while (result != 0); } while (result != 0);