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.
This commit is contained in:
William Jon McCann 2010-10-31 11:51:36 -04:00
parent cbed9f956a
commit 2fe7507689
2 changed files with 20 additions and 0 deletions

View File

@ -62,5 +62,23 @@
</locale>
</schema>
<schema>
<key>/schemas/desktop/gnome/shell/windows/theme</key>
<applyto>/desktop/gnome/shell/windows/theme</applyto>
<owner>gnome-shell</owner>
<type>string</type>
<default>Adwaita</default>
<locale name="C">
<short>Current theme</short>
<long>
The theme determines the appearance of window borders,
titlebar, and so forth.
This key overrides /apps/metacity/general/theme when
running GNOME Shell.
</long>
</locale>
</schema>
</schemalist>
</gconfschemafile>

View File

@ -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