gnome-shell/js
Iain Lane 9ab35786f6 theme: Search in versioned directories
We support third party themes, via the "stylesheetName" property of a
mode's json files. However, our external CSS API is not completely
stable. If a third party theme wants to work on multiple gnome-shell
versions - for example because it is shipped as a Flatpak or a Snap - it
is not possible to ensure that a theme corresponding to the running
gnome-shell version is loaded.

GTK+ loads themes from versioned directories, search backwards from the
current version. Let's do the same in gnome-shell too. Then a downstream
theme can be shipped in $datadir/gnome-shell/3.28/theme/.

We keep searching all of the current paths. Additionally, the default
case where we look for the 'gnome' theme as a resource in the binary
continues to be the default so there are no additional lookups for users
of this theme.
2018-06-28 11:14:54 +01:00
..
extensionPrefs cleanup: Use Function.prototype.bind() 2018-02-21 13:55:02 +00:00
gdm loginDialog: Don't display timed login indicator if unused 2018-04-19 17:26:14 +02:00
misc keyboardManager: take group index into account when preserving keymap 2018-05-08 17:54:37 +00:00
perf scripting: Fix argument list of createTestWindow() 2018-04-25 23:47:06 +02:00
portalHelper cleanup: Use Function.prototype.bind() 2018-02-21 13:55:02 +00:00
ui theme: Search in versioned directories 2018-06-28 11:14:54 +01:00
js-resources.gresource.xml thunderbolt: add policy provider and indicator 2018-02-05 21:38:49 +01:00
meson.build build: Support the meson build system 2017-07-20 00:20:54 +02:00