[metacity] prefs: add theme preference
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [metacity] prefs: add theme preference
- Date: Thu, 19 Feb 2015 21:21:12 +0000 (UTC)
commit b6e140de066df0690b2aa0fc8f0e1734731d5445
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Thu Feb 19 18:22:15 2015 +0200
prefs: add theme preference
src/core/prefs.c | 2 +-
src/org.gnome.metacity.gschema.xml.in | 8 ++++++++
2 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/src/core/prefs.c b/src/core/prefs.c
index 49fa86c..5d3d23a 100644
--- a/src/core/prefs.c
+++ b/src/core/prefs.c
@@ -378,7 +378,7 @@ static MetaStringPreference preferences_string[] =
},
{
{ "theme",
- SCHEMA_GENERAL,
+ SCHEMA_METACITY,
META_PREF_THEME,
},
theme_name_handler,
diff --git a/src/org.gnome.metacity.gschema.xml.in b/src/org.gnome.metacity.gschema.xml.in
index dbbb642..94628d0 100644
--- a/src/org.gnome.metacity.gschema.xml.in
+++ b/src/org.gnome.metacity.gschema.xml.in
@@ -62,6 +62,14 @@
Alt-Tab window instead of only icons.
</_description>
</key>
+ <key name="theme" type="s">
+ <default>'Adwaita'</default>
+ <_summary>Current theme</_summary>
+ <_description>
+ The theme determines the appearance of window borders, titlebar,
+ and so forth.
+ </_description>
+ </key>
</schema>
</schemalist>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]