[gtk/theme-reorg] Make the theme variants available as themes
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/theme-reorg] Make the theme variants available as themes
- Date: Fri, 15 Jan 2021 06:08:29 +0000 (UTC)
commit 1adc6db2a49ac0217487a8af5ff4e39218545f80
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Jan 15 01:07:08 2021 -0500
Make the theme variants available as themes
This makes it easier to implement the theme switching
in widget-factory, since we don't have a variant setting.
gtk/gen-gtk-gresources-xml.py | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/gtk/gen-gtk-gresources-xml.py b/gtk/gen-gtk-gresources-xml.py
index 25183bfb8c..5f5ae12541 100644
--- a/gtk/gen-gtk-gresources-xml.py
+++ b/gtk/gen-gtk-gresources-xml.py
@@ -32,7 +32,12 @@ def get_files(subdir,extension):
xml += '''
<file>theme/Empty/gtk.css</file>
+
<file>theme/Default/gtk.css</file>
+ <file alias='theme/Default-dark/gtk.css'>theme/Default/gtk-dark.css</file>
+ <file alias='theme/Default-hc/gtk.css'>theme/Default/gtk-hc.css</file>
+ <file alias='theme/Default-hc-dark/gtk.css'>theme/Default/gtk-hc-dark.css</file>
+
<file>theme/Default/gtk-light.css</file>
<file>theme/Default/gtk-dark.css</file>
<file>theme/Default/gtk-hc.css</file>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]