From 2fe7507689ec05aeac63c0d433fff16d8c5b3bb0 Mon Sep 17 00:00:00 2001 From: William Jon McCann Date: Sun, 31 Oct 2010 11:51:36 -0400 Subject: [PATCH] Use the GNOME 3 WM theme by default Set up an override to specify the metacity window decoration theme. Use the GNOME 3 standard theme as the default. --- data/gnome-shell.schemas | 18 ++++++++++++++++++ src/gnome-shell-plugin.c | 2 ++ 2 files changed, 20 insertions(+) diff --git a/data/gnome-shell.schemas b/data/gnome-shell.schemas index 5798a3edb..1a887118a 100644 --- a/data/gnome-shell.schemas +++ b/data/gnome-shell.schemas @@ -62,5 +62,23 @@ + + /schemas/desktop/gnome/shell/windows/theme + /desktop/gnome/shell/windows/theme + gnome-shell + string + Adwaita + + Current theme + + The theme determines the appearance of window borders, + titlebar, and so forth. + + This key overrides /apps/metacity/general/theme when + running GNOME Shell. + + + + diff --git a/src/gnome-shell-plugin.c b/src/gnome-shell-plugin.c index f67277840..0a3959df4 100644 --- a/src/gnome-shell-plugin.c +++ b/src/gnome-shell-plugin.c @@ -161,6 +161,8 @@ gnome_shell_plugin_init (GnomeShellPlugin *shell_plugin) "/desktop/gnome/shell/windows/button_layout"); meta_prefs_override_preference_location ("/apps/metacity/general/side_by_side_tiling", "/desktop/gnome/shell/windows/side_by_side_tiling"); + meta_prefs_override_preference_location ("/apps/metacity/general/theme", + "/desktop/gnome/shell/windows/theme"); } static void