Lists are ordered and I'm silly

This commit is contained in:
kramo
2023-08-22 13:32:56 +02:00
parent 01f1f31f10
commit 8c5f4f1780

View File

@@ -40,13 +40,13 @@ class DesktopSourceIterable(SourceIterable):
icon_theme = Gtk.IconTheme.new() icon_theme = Gtk.IconTheme.new()
search_paths = GLib.get_system_data_dirs() + [ search_paths = [
"/usr/share/pixmaps",
"/run/host/usr/share",
"/run/host/usr/local/share",
"/run/host/usr/share/pixmaps",
shared.home / ".local" / "share", shared.home / ".local" / "share",
] "/run/host/usr/local/share",
"/run/host/usr/share",
"/run/host/usr/share/pixmaps",
"/usr/share/pixmaps",
] + GLib.get_system_data_dirs()
for search_path in search_paths: for search_path in search_paths:
path = Path(search_path) path = Path(search_path)