| Age | Commit message (Collapse) | Author |
|
Use a GtkStack instead of an overlay. Also drop redundant GtkWidget
function reimplementations.
|
|
Capture inputs from the whole dialog and focus search entry on changes.
|
|
|
|
|
|
window: Remove width limit of sidebar
|
|
Now that there is AdwTabOverview and AdwTabButton, hide
AdwTabBar when the window. The tab management will be
done through AdwTabOverview, which is better suitable
for small screens.
|
|
Add an AdwTabButton at the bottom toolbar to open
AdwTabOverview. This makes reaching AdwTabOverview
much easier in a phone, for example, which improves
UX and adaptiveness.
|
|
AdwTabOverview helps managing tabs, specially when there
are lots of them open.
Co-authored-by: Khalid Abu Shawarib <kas@gnome.org>
|
|
|
|
Custom thumbnails also work now
|
|
Also remove old focus hack and force selection changed signal emission
when changing the filter.
|
|
|
|
This saves around 8 MiB in a 600 items folder if captions are never used,
and a bit of CPU time when creating cells.
|
|
So everyone knows what's it for.
|
|
|
|
These values match those given in [1]
[1] https://developer.gnome.org/hig/guidelines/adaptive.html#small-size-handling
|
|
|
|
|
|
Test image locality via schema and check for image via glycin.
Replaces a usage of GdkPixbuf.
|
|
Icons for multiple files is still handled outside NautilusImage
|
|
|
|
This reverts commit cc4647a57680fc82ce19861075e416e2831ad127.
Third argument of short item syntax is an icon name the needed
action target parameter.
Fixes https://gitlab.gnome.org/GNOME/nautilus/-/issues/4133
|
|
|
|
It's only ever used for free-floating windows, so drop the modality.
Fixes https://gitlab.gnome.org/GNOME/nautilus/-/issues/4119
|
|
|
|
|
|
It was needed with different names lengths in the original and result
labels to be kept aligned.
Reverts c970b4613fbe73cf496ab0ce09aac42cda9a059c but in blueprint
|
|
Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/4113
|
|
By doing this, we're not in conflictwith AdwDialog's focus handling and we
do not lose the a11y focus notification by focusing the widget too soon.
|
|
"sidebar-label" is a legacy style available from Gtk but not explicitly
documented. Replace it by setting spacing in the Blueprint file.
|
|
|
|
This style wasn't used by nautilus, libadwaita nor gtk.
|
|
Allows displaying properties in a non-modal window. This window keeps
the app running if it's the only open window.
|
|
|
|
This splits the current properties window into a properties widget
and a window which wraps around the widget. This will help with
displaying properties in different contexts, e.g. as a standalone
widget, an AdwDialog or even in a sidebar.
|
|
This is a preparation for the next commit to have a cleaner diff.
|
|
Show a dedicated loading placeholder page while not all files/items are
ready. The window needs to be resized after displaying this placeholder
page, which is done by measuring the desired natural height.
Code-wise this removes the StartupData struct along with its helper
functions and creates the properties window directly. Proper setup of
displayed properties still only happens after all items are ready, at
which point the navigation stack is switched out for the main page.
|
|
Added the 'thumbnail' CSS class to the icon image widget. Defined the
'nautilus-properties-window' style class in the Blueprint file.
Updated the CSS to apply the checkerboard background to transparent
thumbnails in the properties window.
Closes https://gitlab.gnome.org/GNOME/nautilus/-/issues/4049
properties-window: Add checkerboard background to transparent thumbnails
Added the 'thumbnail' CSS class to the icon image widget. Defined the
'nautilus-properties-window' style class in the Blueprint file.
Updated the CSS to apply the checkerboard background to transparent
thumbnails in the properties window.
Closes https://gitlab.gnome.org/GNOME/nautilus/-/issues/4049
|
|
|
|
This is to move it from preferences to the view menu, like the columns
chooser in list view.
|
|
This groups the files by intent as well as by file type.
|
|
|
|
The Blueprint converter does not support them, re-add them manually.
|
|
Blueprint is a markup language for GTK user interfaces, that has several
benefits over XML UI files. The simpler syntax makes it easier to read
and write, which should improve readability and reviewability of UI
changes.
This commit adds the Blueprint compiler as a subproject and converts all
XML UI files into the Blueprint format, with the exceptions of menu-only
definitions. It also cleans up the created Blueprint files to account
for the issues reported in [1]-[4].
The menu-only UI files use features not supported by Blueprint, such as
action target types and submenu links. As they mostly consist of flat
lists, keeping them as plain GTK UI files shouldn't be too confusing for
contributors.
In case Blueprint should ever stop being supported, the generated files
can be used to revert to XML based UI files.
[1] https://gitlab.gnome.org/GNOME/blueprint-compiler/-/issues/202
[2] https://gitlab.gnome.org/GNOME/blueprint-compiler/-/issues/237
[3] https://gitlab.gnome.org/GNOME/blueprint-compiler/-/issues/238
[4] https://gitlab.gnome.org/GNOME/blueprint-compiler/-/issues/240
|
|
|
|
This will help with porting this file to Blueprint.
|
|
This will allow porting this file to Blueprint.
|
|
This follows what is used in other modern code bits, such as grid and
list view styling. It will also slightly help with porting to Blueprint
as there is an (unreported) bug of replacing the template class name in
other properties with "template".
|
|
This will help with porting this file to Blueprint.
|
|
Parsing attributes from a string has been added in GTK 4.10 with [1].
This will allow Blueprint to decompile the files into its format.
[1] https://gitlab.gnome.org/GNOME/gtk/-/commit/9682085e09c3d46cc9b0fb96c9218efe7bd86df5
|