diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2012-01-31 21:16:40 -0500 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2012-01-31 21:16:40 -0500 |
commit | 6b2e19cb9957f0685eb561a6e22c1be6730e6fee (patch) | |
tree | 9b42e932625b5f125e64eb277d2480217bbbfb43 /libnautilus-private | |
parent | c4099c1a20c0502dd7a12e0d1ffbfe70d4bf527a (diff) | |
download | nautilus-6b2e19cb9957f0685eb561a6e22c1be6730e6fee.tar.gz |
undo: fix logic in the file operation callback
This caused some actions not to be scheduled for redo.
Diffstat (limited to 'libnautilus-private')
-rw-r--r-- | libnautilus-private/nautilus-file-undo-operations.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libnautilus-private/nautilus-file-undo-operations.c b/libnautilus-private/nautilus-file-undo-operations.c index dc0e2a49a..fc3dd22fd 100644 --- a/libnautilus-private/nautilus-file-undo-operations.c +++ b/libnautilus-private/nautilus-file-undo-operations.c @@ -301,7 +301,7 @@ file_undo_info_operation_callback (NautilusFile * file, { NautilusFileUndoInfo *self = user_data; - file_undo_info_complete_apply (self, (error != NULL), + file_undo_info_complete_apply (self, (error == NULL), g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CANCELLED)); } |