[nautilus] batch-rename-dialog: Fix sorting by creation date
- From: Alexandru-Ionut Pandelea <alexpandelea src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] batch-rename-dialog: Fix sorting by creation date
- Date: Sat, 8 Oct 2016 16:53:08 +0000 (UTC)
commit 277827467f9faec470ccaece02072be176727a88
Author: Alexandru Pandelea <alexandru pandelea gmail com>
Date: Fri Oct 7 13:14:55 2016 +0300
batch-rename-dialog: Fix sorting by creation date
The sorting by creation date is not working anymore, because the hash
table passed to the sorting function is NULL.
To fix this, instead of NULL, pass the hash table with the order of
the files for this sorting criteria.
https://bugzilla.gnome.org/show_bug.cgi?id=772557
src/nautilus-batch-rename-dialog.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/nautilus-batch-rename-dialog.c b/src/nautilus-batch-rename-dialog.c
index 6acccaa..ba6e7ef 100644
--- a/src/nautilus-batch-rename-dialog.c
+++ b/src/nautilus-batch-rename-dialog.c
@@ -140,7 +140,7 @@ change_numbering_order (GSimpleAction *action,
gettext (sorts_constants[i].label));
dialog->selection = nautilus_batch_rename_dialog_sort (dialog->selection,
sorts_constants[i].sort_mode,
- NULL);
+ dialog->create_date);
break;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]