[nautilus] file-undo-operations: fix extract undo and redo descriptions
- From: Răzvan-Mihai Chițu <razvanchitu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] file-undo-operations: fix extract undo and redo descriptions
- Date: Wed, 24 Aug 2016 20:37:57 +0000 (UTC)
commit a8a889a7e40924a8c30ff7c710077a8b385dd2fd
Author: Razvan Chitu <razvan ch95 gmail com>
Date: Wed Aug 24 01:21:41 2016 +0300
file-undo-operations: fix extract undo and redo descriptions
The undo description is reassigned the description for the redo operation. Fix
this by correctly assigning the redo description.
https://bugzilla.gnome.org/show_bug.cgi?id=770305
src/nautilus-file-undo-operations.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/nautilus-file-undo-operations.c b/src/nautilus-file-undo-operations.c
index b499922..e880547 100644
--- a/src/nautilus-file-undo-operations.c
+++ b/src/nautilus-file-undo-operations.c
@@ -1755,9 +1755,9 @@ extract_strings_func (NautilusFileUndoInfo *info,
source = self->priv->sources->data;
name = g_file_get_parse_name (source);
- *undo_description = g_strdup_printf (_("Extract '%s'"), name);
+ *redo_description = g_strdup_printf (_("Extract '%s'"), name);
} else {
- *undo_description = g_strdup_printf (ngettext ("Extract %d file",
+ *redo_description = g_strdup_printf (ngettext ("Extract %d file",
"Extract %d files",
total_sources),
total_sources);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]