mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-09-13 04:51:15 +00:00
Add skip all button. (#48331) Patch from Guillaume Desmottes
2005-11-14 Alexander Larsson <alexl@redhat.com> * libnautilus-private/nautilus-file-operations.c: (handle_transfer_overwrite): Add skip all button. (#48331) Patch from Guillaume Desmottes <cass@skynet.be>
This commit is contained in:
parent
826193dab2
commit
cc944ab98e
|
@ -1,3 +1,10 @@
|
|||
2005-11-14 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* libnautilus-private/nautilus-file-operations.c:
|
||||
(handle_transfer_overwrite):
|
||||
Add skip all button. (#48331)
|
||||
Patch from Guillaume Desmottes <cass@skynet.be>
|
||||
|
||||
2005-11-13 Christian Neumair <chris@gnome-de.org>
|
||||
|
||||
* libnautilus-private/nautilus-icon-container.c:
|
||||
|
|
|
@ -1145,20 +1145,22 @@ handle_transfer_overwrite (const GnomeVFSXferProgressInfo *progress_info,
|
|||
(parent_for_error_dialog (transfer_info), TRUE, GTK_MESSAGE_QUESTION, text,
|
||||
secondary_text,
|
||||
_("Conflict While Copying"),
|
||||
_("Replace _All"), _("_Skip"), _("_Replace"), NULL);
|
||||
_("S_kip All"), _("Replace _All"), _("_Skip"), _("_Replace"), NULL);
|
||||
g_free (text);
|
||||
|
||||
nautilus_file_operations_progress_resume_timeout (transfer_info->progress_dialog);
|
||||
|
||||
switch (result) {
|
||||
case 0:
|
||||
return GNOME_VFS_XFER_OVERWRITE_ACTION_REPLACE_ALL;
|
||||
return GNOME_VFS_XFER_OVERWRITE_ACTION_SKIP_ALL;
|
||||
case 1:
|
||||
return GNOME_VFS_XFER_OVERWRITE_ACTION_REPLACE_ALL;
|
||||
case 2:
|
||||
return GNOME_VFS_XFER_OVERWRITE_ACTION_SKIP;
|
||||
default:
|
||||
g_assert_not_reached ();
|
||||
/* fall through */
|
||||
case 2:
|
||||
case 3:
|
||||
return GNOME_VFS_XFER_OVERWRITE_ACTION_REPLACE;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue