From 9dcdaf05b5d21e460827b23ba0b7158973078d50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Thu, 8 Mar 2012 01:26:31 +0100 Subject: [PATCH] main: Add override for dynamic-workspaces key https://bugzilla.gnome.org/show_bug.cgi?id=671568 --- data/org.gnome.shell.gschema.xml.in | 8 ++++++++ src/main.c | 2 ++ 2 files changed, 10 insertions(+) diff --git a/data/org.gnome.shell.gschema.xml.in b/data/org.gnome.shell.gschema.xml.in index 3772d46e8..acf6adeb5 100644 --- a/data/org.gnome.shell.gschema.xml.in +++ b/data/org.gnome.shell.gschema.xml.in @@ -172,6 +172,14 @@ value here is from the GsmPresenceStatus enumeration. + + true + Workspaces are managed dynamically + + This key overrides the key in org.gnome.mutter when running GNOME Shell. + + + true Workspaces only on primary monitor diff --git a/src/main.c b/src/main.c index c872a12df..bac9524a3 100644 --- a/src/main.c +++ b/src/main.c @@ -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",