| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Otherwise, due to some modular arithmetic artifacts, there is an
unsightly 1px transparent line between the picture and its css border.
Fixes https://gitlab.gnome.org/GNOME/nautilus/-/issues/2779
|
|
|
|
|
|
| |
This change makes the rubberband to have rounded corners,
making it consistent with other elements such as buttons and text entries,
which also have rounded corners.
|
|
|
|
|
|
|
|
|
|
|
|
| |
GtkTreeExpander includes a built-in "expand on drag hover" feature.
But our own "open on drag hover" feature competes (and often wins)
over it, making it hard to reliably expand rows on hover without
opening the folder.
So, separate the content and the expander. Trigger "expand on drag
hover" only if over the expander, and "open on drag hover" only if
over the rest.
|
|
|
|
|
| |
The spinner is shown only after 1 second without the directory having
finished loading, to avoid visual noise when directories loads quickly.
|
|
|
|
| |
Starred, Recent and Search still not supported due to bugs
|
|
|
|
|
|
|
|
|
| |
With the introduction of ::extra-drag-value in AdwTabBar, we can
now dynamically set the preferred action on the AdwTabBar. Use
the "extra" drop target on the AdwTabBar, and use our existing code
making this fairly simple.
Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/2495
|
|
|
|
| |
Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/1620
|
| |
|
|
|
|
|
| |
Add the ability from the tab menu to close all
other tabs.
|
| |
|
|
|
|
|
| |
Use AdwWindow as a base class for the conflict dialog, as GtkDialog is
deprecated with GTK 4.10.
|
|
|
|
|
| |
This is part of an initiative to use the "app" term instead:
https://gitlab.gnome.org/Teams/Design/initiatives/-/issues/123
|
|
|
|
|
|
|
|
|
| |
The old canvas expanded filename over the next row when the item was
selected. This is impossible to replicate in GtkGridView due to the
next row getting drawn after (== on top of) the previous one.
This is perceived as a feature regression. So, let's aleviate it
using tooltips when the filename is ellipsized.
|
|
|
|
| |
Fixes #2465
|
|
|
|
|
|
|
| |
When not folded, there is not visible nor invisible way to restore the
sidebar, so it shouldn't be allowed to be closed by touch gesture.
Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/2536
|
|
|
|
|
|
|
| |
Widgets are visible by default on GTK4. Remove visible property
when setting to TRUE.
Source: https://gitlab.gnome.org/GNOME/gtk/-/blob/main/gtk/gtkwidget.c#L1275
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Pango library doesn't support specifying text-transform in utf8
codepoints. It instead uses positions in the raw string. This is why we
have problems with, for example, the Cyrillic label in the UI file
text_transform positions are specified as 0 for the start and 1 for
the end and the first Cyrillic letter consist of two bytes.
Remove attributes from the UI file and implement label text capitalization
using the function eel_str_capitalize() which does the same but in
a proper way for type_value_label and type_file_system_label.
Fixes https://gitlab.gnome.org/GNOME/nautilus/-/issues/2494
|
|
|
|
|
|
|
|
| |
Cyrillic languages"
This reverts commit 91f7fb675e558fb0b2c3dc5a6082386b0aef159a.
The commit message was broken, missing context.
|
| |
|
|
|
|
|
|
|
|
|
| |
We don't need an extra action to show help-overlay.
It already managed by GTK.
Source: https://docs.gtk.org/gtk4/class.Application.html#automatic-resources
Topic: https://discourse.gnome.org/t/nautilus-unnecessary-action-to-show-help-overlay/12516
|
|
|
|
|
|
|
|
|
| |
Add trailing ellipsis at the end of Empty Trash to fulfill
GNOME Human Interface Guidelines.
Trailing ellipsis is used when further input or confirmation is
required from the user before the action can be carried out.
Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/2502
|
|
|
|
|
|
|
|
|
| |
Remove the trailing ellipsis from Visible Columns to
fulfill the GNOME Human Interface Guidelines. Trailing ellipsis is used
when further input or confirmation is required from the user before the
action can be carried out.
Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/2534
|
|
|
|
|
|
|
|
| |
The code for "Open file and close window" shortcut was
removed in 3332de3026846ee6d0cae9bd203f1ec9311d21cc but it is still
listed on the keyboard shortcuts help. Remove it from there as well.
Fixes #2612
|
|
|
|
|
| |
In columnview we are setting them using the attribute value
and they should match the toolbar dropdown.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
It hardcodes a color which matches only in light mode, and only if high
contrast is not enabled.
Instead derive from currentColor to get light/dark automatic support
and double the alpha opacity on high contrast.
The alpha values were copied from libadwaita's color used by level bar.
|
|
|
|
|
|
|
| |
Remove inset borders from the former, add them to the later.
Also inset the pathbar border, to make it look look the same height as
buttons in the headerbar and overlap the secondary menu border.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Doing this allows us to automatically load stylesheets located in the
resource base path, so move contents of both Adwaita.css and
nautilus.css to style.css in the root of the resource directory, which
will be always automatically loaded.
Additionally, create a style-hc.css which will be used when the system
high contrast preference is enabled, and adjust it to fix issues with
NautilusPathBar.
Fixes https://gitlab.gnome.org/GNOME/nautilus/-/issues/2166
|
|
|
|
|
|
|
|
|
|
|
|
| |
Before the GTK 4 port, we had animation theatrics which showed an
expanding "aura" for the newly revealed button, together with a
glowing CSS animation.
Under GTK4 there is currently no available copylib for implementing
similar theatrics.
So, use only the CSS animation, make it simpler, and use accent
color to compensate for otherwise reduced attention-grabbing effect.
|
|
|
|
|
|
|
| |
Now we have another way to star files (by DnD), but unstarring is
limitted to the properties window and the listview icon. Add back
the ability to unstar from the files context menu only when in the
starred folder.
|
|
|
|
|
|
|
| |
Picture will automatically take the size of the paintable, while
Image defaults to 16px.
Fixes https://gitlab.gnome.org/GNOME/nautilus/-/issues/2432
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The list should be sorted by name-ascending, that state is set
when the action is created. The sort is set when the action state
is changed, and since the action state isn't changed after creation, the
sort never happens. This leads to an inconsistent state where
the list is not sorted, but the button label indicates that the list
is sorted.
Change the numbering-order state to name-ascending after the actions
are created (even though that state is already set) in order to force
list sorting.
Also remove, the default label on the sort button in order
to prevent this issue in the future (the label gets set anyways when
the state is changed).
|
|
|
|
|
|
|
|
|
| |
Similar to 60b0a8ae87075374d56b5e3a766a63e5bcdd39ee in gtk4
the delete-text and insert-text should be connected to the
editable delegate of the entry as the entry does not emit those
signals.
Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/2442
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In gtk4, we need to set labelled-by to help a11y programs know what
it currently selected.
Unfortunately, the focus is on a GTK internal widget, so at the moment
this solution requires a hack: we mark the internal list item widget as
being labeled by our cell (which is, in turn, labeled by the filename label).
We are reporting this to GTK to work toward a better solution.
Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/2460
|
| |
|
|
|
|
|
| |
After removing the action from the trash infobar, let's add it back
where it makes sense to be located.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Change tooltips for the toolbar as follows:
OLD:
Go back
Go forward
<Nothing for path bar locations>
<Nothing for the path bar menu>
Search
Show list
View options
<Nothing for the primary menu>
NEW:
Back
Forward
<Folder Name>
Current Folder Menu
Search
List View (or Grid View)
View Options
Main Menu
Fixes #2349.
|
|
|
|
|
|
|
|
|
|
|
| |
According to GNOME HIG, menu entries should be Title Case.
This patch corrects "Icon size" to "Icon Size".
GNOME HIG header capitalization guideline:
https://developer.gnome.org/hig/guidelines/writing-style.html#header-capitalization
Fixes: #2425
|
|
|
|
|
|
| |
Wrap the filename using PANGO_WRAP_WORD_CHAR to ensure long filenames without spaces wrap properly.
Fixes #2411
|
| |
|
|
|
|
|
|
|
|
| |
eac32fcad6dc829a6388a7cc78a189dc83844a85 added an action row which
inherits from a GtkListBoxRow without putting it in a GtkListBox
(or something that inherits from GtkListBox like AdwPerferencesGroup).
This caused the activatable-widget not to work. Put the row in a
GtkListBox since we don't want any of the other styles from Adw
|
|
|
|
|
|
| |
eac32fcad6dc829a6388a7cc78a189dc83844a85 changed the bottom row to use
AdwActionRow which provides for a much easier way of setting the title
and subtitle
|
|
|
|
|
|
|
|
| |
The app chooser doesn't work correctly when user the <Enter> key.
Connect to the application-activated signal to properly handle this
and other situations where it's activated.
Related: https://gitlab.gnome.org/GNOME/nautilus/-/issues/2390
|
|
|
|
|
| |
The translatable string is not new, it was simply lost in the rebasing
process leading to commit dd407da7da81cbc02a3e8ec1a03f447cea0ac65f
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
On the verge of UI freeze, spliting this among previous commits is not
possible, unfortunately. So, this packs a few changes at once:
* Avoid double scrollbars. The GtkScrolledWindow is preserved for
future use when we get rid of GtkAppChooserWidger, but otherwise
it doesn't scroll.
* Add a separator above default switch row.
* Make the switch row and make the whole row clickable.
* Fine-tune margins.
|
| |
|
|
|
|
|
| |
Make default title "Open File" or "Open Folder" if it's a folder.
If we are acting on a mix of items make it "Open Items"
|
|
|
|
|
|
|
| |
Set the switch to active when the association is set as default
and inactive when it is not set as default (also a way to remove
the default association). Add a label for the switch with a
subtitle indicating the content description.
|