| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
There are cases where the files are not reordered correctly.
To fix this, the order of the files is checked until no more changes
are made.
In this patch, the reordering code is also extracted in a common function.
https://bugzilla.gnome.org/show_bug.cgi?id=771583
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a refactoring that is difficult to split in several pieces.
This patch implements the following changes:
- Use loops instead of serie of if/elses.
- Use enums and static arrays to define a static serie of tag types
and properties.
- Use enums for ordering and retrieval of properties of tags instead of
searching.
- Merge common code.
- Extract common code in functions.
- Mark for translation some strings.
- Plug some leaks.
- Fix some free-after-free.
- Fix issue with condition for unavailable metadata, that was
exacerbated with this refactoring.
https://bugzilla.gnome.org/show_bug.cgi?id=770586
|
|
|
|
|
|
|
| |
We were doing the same for several items. Use and array and a for
to iterate on them.
https://bugzilla.gnome.org/show_bug.cgi?id=770586
|
|
Renaming multiple files at once has been a missing feature in Nautilus
for a long time. This patch implements that feature in the following way:
This operation is launched in the same way as the rename one, when the
selection has more than one file.
When the batch renaming is launched, a dialog is shown, offering two
modes.
In the first mode, the user can use metadata (if available), numbering and
original file name tags to create the new names. Between the tags, there
also can be written normal text, which will be added in the new names. If
numbering is used, the order of the files can be modified by using several
criteria.
In the second mode, the user can replace an existing part of the name.
https://bugzilla.gnome.org/show_bug.cgi?id=768311
|