main: Add override for dynamic-workspaces key

https://bugzilla.gnome.org/show_bug.cgi?id=671568
This commit is contained in:
Florian Müllner 2012-03-08 01:26:31 +01:00
parent c827cccdf3
commit 9dcdaf05b5
2 changed files with 10 additions and 0 deletions

View File

@ -172,6 +172,14 @@ value here is from the GsmPresenceStatus enumeration.</_summary>
</description>
</key>
<key name="dynamic-workspaces" type="b">
<default>true</default>
<summary>Workspaces are managed dynamically</summary>
<description>
This key overrides the key in org.gnome.mutter when running GNOME Shell.
</description>
</key>
<key name="workspaces-only-on-primary" type="b">
<default>true</default>
<summary>Workspaces only on primary monitor</summary>

View File

@ -163,6 +163,8 @@ shell_prefs_init (void)
{
meta_prefs_override_preference_schema ("attach-modal-dialogs",
OVERRIDES_SCHEMA);
meta_prefs_override_preference_schema ("dynamic-workspaces",
OVERRIDES_SCHEMA);
meta_prefs_override_preference_schema ("workspaces-only-on-primary",
OVERRIDES_SCHEMA);
meta_prefs_override_preference_schema ("button-layout",