summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-04-09 00:41:09 +0200
committerStefano Karapetsas <[email protected]>2013-04-09 00:41:09 +0200
commitd6f65a7e6f4cd1a5f71884781d03c24ce3535928 (patch)
tree8c87108452d67370e2dbd3e5e42ab1618d1a2ca3
parentd6cc1de269ca4fa4404137d075d6e59fc20dc4fb (diff)
downloadmarco-d6f65a7e6f4cd1a5f71884781d03c24ce3535928.tar.bz2
marco-d6f65a7e6f4cd1a5f71884781d03c24ce3535928.tar.xz
Set maximum workspaces number to 36
Closes https://github.com/mate-desktop/mate-window-manager/issues/42
-rw-r--r--src/core/prefs.c2
-rw-r--r--src/org.mate.marco.gschema.xml102
2 files changed, 102 insertions, 2 deletions
diff --git a/src/core/prefs.c b/src/core/prefs.c
index 2ec6134f..116a9bb8 100644
--- a/src/core/prefs.c
+++ b/src/core/prefs.c
@@ -31,7 +31,7 @@
#include <string.h>
#include <stdlib.h>
-#define MAX_REASONABLE_WORKSPACES 16
+#define MAX_REASONABLE_WORKSPACES 36
#define MAX_COMMANDS (32 + NUM_EXTRA_COMMANDS)
#define NUM_EXTRA_COMMANDS 2
diff --git a/src/org.mate.marco.gschema.xml b/src/org.mate.marco.gschema.xml
index d3841f9c..464deb34 100644
--- a/src/org.mate.marco.gschema.xml
+++ b/src/org.mate.marco.gschema.xml
@@ -111,7 +111,7 @@
<description>A font description string describing a font for window titlebars. The size from the description will only be used if the titlebar_font_size option is set to 0. Also, this option is disabled if the titlebar_uses_desktop_font option is set to true.</description>
</key>
<key name="num-workspaces" type="i">
- <range min="1" max="16"/>
+ <range min="1" max="36"/>
<default>4</default>
<summary>Number of workspaces</summary>
<description>Number of workspaces. Must be more than zero, and has a fixed maximum to prevent making the desktop unusable by accidentally asking for too many workspaces.</description>
@@ -249,6 +249,106 @@
<summary>Name of workspace</summary>
<description>The name of a workspace.</description>
</key>
+ <key name="name-17" type="s">
+ <default>''</default>
+ <summary>Name of workspace</summary>
+ <description>The name of a workspace.</description>
+ </key>
+ <key name="name-18" type="s">
+ <default>''</default>
+ <summary>Name of workspace</summary>
+ <description>The name of a workspace.</description>
+ </key>
+ <key name="name-19" type="s">
+ <default>''</default>
+ <summary>Name of workspace</summary>
+ <description>The name of a workspace.</description>
+ </key>
+ <key name="name-20" type="s">
+ <default>''</default>
+ <summary>Name of workspace</summary>
+ <description>The name of a workspace.</description>
+ </key>
+ <key name="name-21" type="s">
+ <default>''</default>
+ <summary>Name of workspace</summary>
+ <description>The name of a workspace.</description>
+ </key>
+ <key name="name-22" type="s">
+ <default>''</default>
+ <summary>Name of workspace</summary>
+ <description>The name of a workspace.</description>
+ </key>
+ <key name="name-23" type="s">
+ <default>''</default>
+ <summary>Name of workspace</summary>
+ <description>The name of a workspace.</description>
+ </key>
+ <key name="name-24" type="s">
+ <default>''</default>
+ <summary>Name of workspace</summary>
+ <description>The name of a workspace.</description>
+ </key>
+ <key name="name-25" type="s">
+ <default>''</default>
+ <summary>Name of workspace</summary>
+ <description>The name of a workspace.</description>
+ </key>
+ <key name="name-26" type="s">
+ <default>''</default>
+ <summary>Name of workspace</summary>
+ <description>The name of a workspace.</description>
+ </key>
+ <key name="name-27" type="s">
+ <default>''</default>
+ <summary>Name of workspace</summary>
+ <description>The name of a workspace.</description>
+ </key>
+ <key name="name-28" type="s">
+ <default>''</default>
+ <summary>Name of workspace</summary>
+ <description>The name of a workspace.</description>
+ </key>
+ <key name="name-29" type="s">
+ <default>''</default>
+ <summary>Name of workspace</summary>
+ <description>The name of a workspace.</description>
+ </key>
+ <key name="name-30" type="s">
+ <default>''</default>
+ <summary>Name of workspace</summary>
+ <description>The name of a workspace.</description>
+ </key>
+ <key name="name-31" type="s">
+ <default>''</default>
+ <summary>Name of workspace</summary>
+ <description>The name of a workspace.</description>
+ </key>
+ <key name="name-32" type="s">
+ <default>''</default>
+ <summary>Name of workspace</summary>
+ <description>The name of a workspace.</description>
+ </key>
+ <key name="name-33" type="s">
+ <default>''</default>
+ <summary>Name of workspace</summary>
+ <description>The name of a workspace.</description>
+ </key>
+ <key name="name-34" type="s">
+ <default>''</default>
+ <summary>Name of workspace</summary>
+ <description>The name of a workspace.</description>
+ </key>
+ <key name="name-35" type="s">
+ <default>''</default>
+ <summary>Name of workspace</summary>
+ <description>The name of a workspace.</description>
+ </key>
+ <key name="name-36" type="s">
+ <default>''</default>
+ <summary>Name of workspace</summary>
+ <description>The name of a workspace.</description>
+ </key>
</schema>
<schema id="org.mate.Marco.global-keybindings" path="/org/mate/marco/global-keybindings/">