[nautilus] undo: fix logic in the file operation callback
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] undo: fix logic in the file operation callback
- Date: Wed, 1 Feb 2012 02:20:02 +0000 (UTC)
commit 6b2e19cb9957f0685eb561a6e22c1be6730e6fee
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Tue Jan 31 21:16:40 2012 -0500
undo: fix logic in the file operation callback
This caused some actions not to be scheduled for redo.
.../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 dc0e2a4..fc3dd22 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));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]