We use unsaturated selection style for sidebar rows to make it grab
less attention. Since we use the light variant of Adwaita, we do this
by making the colors darker using the shade() CSS color expression.
However, this assumption breaks if the dark variant is explicitly set
in Tweaks.
While nautilus is not developed for the dark variant, this commit
makes it work by deriving shading from other theme colors instead.
Fixes https://gitlab.gnome.org/GNOME/nautilus/issues/630
This reverts commit 543f5ae369.
When this feature was originally proposed, the use cases when <Ctrl><F>
is required because "just typing" doesn't do the trick were not
considered. Two such cases are searching for a ~ (tilde) and pasting
text to search with <Ctrl><V>. Both are now impractical because the
filter popover steals the focus.
Furthermore, we have a few inconsistent state bugs related to this.
Instead of shipping version 3.30 with these regressions and bugs, let's
withdraw this change.
Closes https://gitlab.gnome.org/GNOME/nautilus/issues/597
Closes https://gitlab.gnome.org/GNOME/nautilus/issues/570
And closes https://gitlab.gnome.org/GNOME/nautilus/issues/571
Glade has been used to change the .ui definition of the Preference
dialog in commit f2061e9409
It has removed the "border-width" property, resulting in a 2px
padding being added around the notebook widget, which wasn not
intended and looks bad.
This issue will be gone in GTK+4, but we need to explicitly set
this style property to 0px in the meantime.
Do it in the code instead, where Glade cannot erase it.
Closes https://gitlab.gnome.org/GNOME/nautilus/issues/563
We are clearing &priv->extensions_background_menu when we actually
want to set priv->templates_menu. This looks like an edition overight
from 544c1cca56
Fix it. Also, remove != NULL guards because g_clear_object
already handles that case (doing nothing, as per documentation).
These actions are applying to the selected files, not the current folder.
Also, if fixed to apply to the current location, they overlap with
"Add to Bookmarks" in intent, making it hard for a person to decide.
Since we can't Star all location, favor "Add to Bookmarks" for now.
https://gitlab.gnome.org/GNOME/nautilus/issues/552
Currently the pathbar in trash shows a slash instead of
the trash icon at the start.
It could cause a misunderstanding of where users are now.
To fix this issue, it shows the icon.
Fixes: https://gitlab.gnome.org/GNOME/nautilus/issues/567
Currently back_button, forward_button and app_button (hamburger button)
are not accessible via keyboard.
This commit fixes this changing the property `can_focus` from False to
True for the above mentioned buttons.
Fixes: https://gitlab.gnome.org/GNOME/nautilus/issues/569