The mime type x-directory/smb-share is not used by any current programs
anymore. A Github search resulted only in nautilus forks and references
to the deprecated gnome-vfs.
Allow passing a file's parent to get_filesystem_use_preview and
get_filesystem_remote. This resolves the multi-level parent checking
discussed in [1], by only checking one parent at most.
[1] https://gitlab.gnome.org/GNOME/nautilus/-/issues/3336
GtkCheckButton has the label property, so embedding a GtkLabel
to it is unnecessary. This fixes the warning that says
"Finalizing GtkCheckButton [...], but it still has children left:
GtkLabel".
Also, add a mnemonic.
Because of the "Reset" button, the "Replace and "Rename" button
use the letter "P" and "N" respectively for their mnemonics,
which is odd, since the letter "R" would be more practical
to use; and "Replace and "Rename" never appear together.
So, use the letter "R" for "Replace and "Rename" and "E"
for the "Reset" button.
Each module's shutdown() should have been called in unload(), but
as we know, unload() never ended up getting called. Instead
call it during teardown()
Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/1971
Our modules never would reach the unload point anyways and GModule
doesn't actually unload the module, so let's remove anything related
to unloading to simplify.
Related: https://gitlab.gnome.org/GNOME/glib/-/issues/667
Related: 72df62600d
Also:
- Increase margins around content to make the UI more
balanced
- Ditch the .view style class to improve consistency,
because other Nautilus windows don't use this style class
- Put the GtkGrid directly in the content widget
These types are part of xdg-mime specification and already have
translations that are identical to the ones that we have. Remove
them from here to reduce duplicate work for the translators.
Disables pasting in the context menu and shortcuts with specific error
dialogs. Previously, pasting into these directories using 'ctrl-v'
triggered strange error dialogs. The Trash folder also had paste enabled
in the menu.
Fixes#3235
Usage page was embedded into privacy and we didn't update the
code to reflect that. Change the name in the dbus request to
launch the containing panel, and also specify the subpage name.
Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/3348
When copying files from readonly mounts we only reset the permissions of
the source if those are of filesystem type isofs. The original behaviour
was meant to be a workaround for isofs optical disks [1][2] for which the
kernel driver sets permissions of all inodes to r-x if the POSIX
permission extension (rock ridge) is not available [1].
As we can't detect the presence of such an extension from gio we can only
guess and reset the permissions for all isofs mounts. This is still
wrong [3], but reduces the scope of the bug to isofs.
[1] https://bugzilla.gnome.org/show_bug.cgi?id=167102
[2] https://bugzilla.gnome.org/show_bug.cgi?id=550816
[3] https://gitlab.gnome.org/GNOME/nautilus/-/issues/2873
This was supposed to be done in ee6ee07543
The select action called by this focus function would set the
selection and notify the changes which updates the selection info
in the floating bar.
Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/3354