[gnome-shell] Enable the workspaces_only_on_primary feature of mutter
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] Enable the workspaces_only_on_primary feature of mutter
- Date: Thu, 17 Mar 2011 13:34:03 +0000 (UTC)
commit 2c5657e8a972b7468367f211067cb94de017d92e
Author: Alexander Larsson <alexl redhat com>
Date: Mon Feb 28 14:05:05 2011 +0100
Enable the workspaces_only_on_primary feature of mutter
https://bugzilla.gnome.org/show_bug.cgi?id=609258
data/gnome-shell.schemas | 15 +++++++++++++++
src/main.c | 2 ++
2 files changed, 17 insertions(+), 0 deletions(-)
---
diff --git a/data/gnome-shell.schemas b/data/gnome-shell.schemas
index 24cade6..f2e69ee 100644
--- a/data/gnome-shell.schemas
+++ b/data/gnome-shell.schemas
@@ -81,5 +81,20 @@
</locale>
</schema>
+ <schema>
+ <key>/schemas/desktop/gnome/shell/windows/workspaces_only_on_primary</key>
+ <applyto>/desktop/gnome/shell/windows/workspaces_only_on_primary</applyto>
+ <owner>gnome-shell</owner>
+ <type>bool</type>
+ <default>true</default>
+ <locale name="C">
+ <short>Workspaces only on primary monitor</short>
+ <long>
+ This key overrides /apps/mutter/general/workspaces_only_on_primary when
+ running GNOME Shell.
+ </long>
+ </locale>
+ </schema>
+
</schemalist>
</gconfschemafile>
diff --git a/src/main.c b/src/main.c
index ba53a73..029acb8 100644
--- a/src/main.c
+++ b/src/main.c
@@ -221,6 +221,8 @@ shell_prefs_init (void)
{
meta_prefs_override_preference_location ("/apps/mutter/general/attach_modal_dialogs",
"/desktop/gnome/shell/windows/attach_modal_dialogs");
+ meta_prefs_override_preference_location ("/apps/mutter/general/workspaces_only_on_primary",
+ "/desktop/gnome/shell/windows/workspaces_only_on_primary");
meta_prefs_override_preference_location ("/apps/metacity/general/button_layout",
"/desktop/gnome/shell/windows/button_layout");
meta_prefs_override_preference_location ("/apps/metacity/general/edge_tiling",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]