1999-01-07 Miguel de Icaza <miguel@nuclecu.unam.mx>
* file.c (panel_operate_flags): Only show this dialog box if it is a copy or move operation
Этот коммит содержится в:
родитель
fc124973c9
Коммит
bd94a80089
@ -1,3 +1,8 @@
|
||||
1999-01-07 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||
|
||||
* file.c (panel_operate_flags): Only show this dialog box if it is
|
||||
a copy or move operation
|
||||
|
||||
1999-01-06 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||
|
||||
* widget.c (listbox_new): Assing l->height.
|
||||
|
20
src/file.c
20
src/file.c
@ -1925,15 +1925,17 @@ panel_operate_flags (void *source_panel, FileOperation operation, char *thedefau
|
||||
|
||||
|
||||
#ifdef HAVE_GNOME
|
||||
/* FIXME: we need to determine if this dialog is actually needed. */
|
||||
/* We need to pre-copy all the files and see if there are any
|
||||
* over-writes. Ugh, this sounds yucky. )-: */
|
||||
if (policy_over_write_necessary) {
|
||||
if (file_progress_query_replace_policy (TRUE) == FILE_ABORT)
|
||||
goto clean_up;
|
||||
else
|
||||
/* this will initialize some variables */
|
||||
file_progress_query_replace_policy (FALSE);
|
||||
if (operation != OP_DELETE){
|
||||
/* FIXME: we need to determine if this dialog is actually needed. */
|
||||
/* We need to pre-copy all the files and see if there are any
|
||||
* over-writes. Ugh, this sounds yucky. )-: */
|
||||
if (policy_over_write_necessary) {
|
||||
if (file_progress_query_replace_policy (TRUE) == FILE_ABORT)
|
||||
goto clean_up;
|
||||
else
|
||||
/* this will initialize some variables */
|
||||
file_progress_query_replace_policy (FALSE);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
/* We now have ETA in all cases */
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user