[metacity/wip/gtk-theme: 60/61] prefs: add theme preference
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [metacity/wip/gtk-theme: 60/61] prefs: add theme preference
- Date: Tue, 20 Jan 2015 23:18:43 +0000 (UTC)
commit 2e774c954780b66f2c466b60281a1fc6bada4a52
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Wed Jan 21 01:05:06 2015 +0200
prefs: add theme preference
src/core/prefs.c | 2 +-
src/org.gnome.metacity.gschema.xml.in | 12 +++++++++++-
2 files changed, 12 insertions(+), 2 deletions(-)
---
diff --git a/src/core/prefs.c b/src/core/prefs.c
index a85aaee..f5c786c 100644
--- a/src/core/prefs.c
+++ b/src/core/prefs.c
@@ -369,7 +369,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 6b4eb0d..7491630 100644
--- a/src/org.gnome.metacity.gschema.xml.in
+++ b/src/org.gnome.metacity.gschema.xml.in
@@ -53,7 +53,17 @@
workspaces, or "random" to place new windows at random locations within
their workspaces.
</_description>
- </key>
+ </key>
+ <key name="theme" type="s">
+ <default>''</default>
+ <_summary>Current theme</_summary>
+ <_description>
+ The theme determines the appearance of window borders, titlebar,
+ and so forth.
+
+ Empty means that GTK+ theme will be used.
+ </_description>
+ </key>
</schema>
</schemalist>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]