Add scan button, sort dropdown, and improved empty state to library view

Add a scan button and sort dropdown (Name A-Z, Recently Added, Size)
to the library header bar. Change the empty state to friendlier text
with Scan and Browse Catalog buttons. Default view mode changed to
list. Sort preference persisted via GSettings.
This commit is contained in:
lashman
2026-02-28 01:36:47 +02:00
parent b23f9e14f8
commit 46f46db98c
3 changed files with 116 additions and 14 deletions

View File

@@ -26,10 +26,20 @@
<choice value='grid'/>
<choice value='list'/>
</choices>
<default>'grid'</default>
<default>'list'</default>
<summary>Library view mode</summary>
<description>The library view mode: grid or list.</description>
</key>
<key name="sort-mode" type="s">
<choices>
<choice value='name'/>
<choice value='recently-added'/>
<choice value='size'/>
</choices>
<default>'name'</default>
<summary>Library sort mode</summary>
<description>How to sort the library: name, recently-added, or size.</description>
</key>
<key name="color-scheme" type="s">
<choices>
<choice value='default'/>