nautilus:wip/saluy/batch-rename

Last commit made on 2023-12-25
Get this branch:
git clone -b wip/saluy/batch-rename https://git.launchpad.net/nautilus

Branch merges

Branch information

Name:
wip/saluy/batch-rename
Repository:
lp:nautilus

Recent commits

2c27ccc... by Sebastian Luy <email address hidden>

batch-rename: Use tmp filename in the case of filename "loops"

Errors can occur when batch renaming files if a
new filename matches an existing filename.

Reordering the files does not solve this problem if the
filenames contain loops (ex. A -> B & B -> A).

Instead of reordering the files, give any problematic
files a temporary name and handle them after the rest of
the files have been renamed.

https://gitlab.gnome.org/GNOME/nautilus/-/issues/1443

dd53e0d... by Yosef Or Boczko <email address hidden>

Update Hebrew translation

5a34739... by =?utf-8?q?Ant=C3=B3nio_Fernandes?= <email address hidden>

properties-window: Add toast to restore custom icon

If the "Remove Custom Icon" button is pressed by accident, it may be
hard for the users to add it back, as they may no longer remember
where the image file is.

So, offer a way to undo this action.

1894df9... by Khalid Abu Shawarib

properties-window: Clean up some variable declarations

a04f3ae... by =?utf-8?q?Ant=C3=B3nio_Fernandes?= <email address hidden>

properties-window: Offer to set custom icons on folders only

Custom icons on files are easily confused with thumbnails and
might even be used to misrepresent a file for no good reasons.

Now that the feature is more visibly discoverable, it may also be
a distraction, so let's present it only where the relevant use cases
are: folders.

The ability to remove custom icons from regular files is kept,
to avoid mistaking them for thumbnails.

7e82c6c... by Khalid Abu Shawarib

properties-window: Fix relative path for custom thumbnails

The code for setting a relative path to use for locating custom
thumbnails didn't work since [1] due to mispositioning of the
arguments of g_file_get_relative_path.

[1] 014ba7ae36eb70f31d9adcf60ce7743238468998

95e3cd7... by Khalid Abu Shawarib

properties-window: Remove unused variable

Variable was mistakingly not removed in b1cb977812054a45bb10a4b297871a25ad3262d9

db92b29... by Khalid Abu Shawarib

properties-window: Port custom icon dialog to GtkFileDialog

Also rename the action label from "Open" to "Select".

Also remove the dialog variable from the window and the window
checks in the callback.

1c70bab... by Khalid Abu Shawarib

properies-window: Replace thumbnail button with two buttons

Replace the thumbnail button used to pick a custom icon with
two buttons for clearing and picking a new icon. The revert
button inside the dialog is therefore removed.

679f71a... by Khalid Abu Shawarib

properies-window: Update thumbnail button visibility on changes

Always setup the drag controller for the custom icon button. The
button is always hidden anyway when non functional.

Also move the stack page selection for the custom icon into a new
function. This will allow updating the stack page on changes of
files.