summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-02-18 16:23:48 +0100
committerStefano Karapetsas <[email protected]>2014-02-18 16:23:48 +0100
commit33c1874fbb17ed83c6d24103eff09c83297e0c4d (patch)
treebb314fc4831721be0e3da08d6fd07251137087e6 /data
parent453154a00f0f17e20340e408055e224ea57cc4e8 (diff)
downloadmate-panel-33c1874fbb17ed83c6d24103eff09c83297e0c4d.tar.bz2
mate-panel-33c1874fbb17ed83c6d24103eff09c83297e0c4d.tar.xz
Allow to have multiple panel layouts
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am6
-rw-r--r--data/default.layout (renamed from data/panel-default-layout.mate)0
-rw-r--r--data/org.mate.panel.gschema.xml.in.in5
3 files changed, 8 insertions, 3 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 7b7d3721..cca1600c 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -1,5 +1,5 @@
-default_layoutdir = $(datadir)/mate-panel
-default_layout_DATA = panel-default-layout.mate
+layoutdir = $(datadir)/mate-panel/layouts
+layout_DATA = default.layout
@INTLTOOL_XML_NOMERGE_RULE@
@@ -26,7 +26,7 @@ convert_DATA = mate-panel.convert
EXTRA_DIST = \
$(convert_DATA) \
$(panel_gschemas_in_in) \
- panel-default-layout.mate
+ $(layout_DATA)
CLEANFILES = \
$(panel_gschemas_in) \
diff --git a/data/panel-default-layout.mate b/data/default.layout
index 77923b42..77923b42 100644
--- a/data/panel-default-layout.mate
+++ b/data/default.layout
diff --git a/data/org.mate.panel.gschema.xml.in.in b/data/org.mate.panel.gschema.xml.in.in
index 53c32b86..ec613941 100644
--- a/data/org.mate.panel.gschema.xml.in.in
+++ b/data/org.mate.panel.gschema.xml.in.in
@@ -1,5 +1,10 @@
<schemalist gettext-domain="@GETTEXT_PACKAGE@">
<schema id="org.mate.panel" path="/org/mate/panel/general/">
+ <key name="default-layout" type="s">
+ <default>'default'</default>
+ <_summary>Default panel layout</_summary>
+ <_description>The default panels layout to use when panels are created or resetted.</_description>
+ </key>
<key name="enable-program-list" type="b">
<default>true</default>
<_summary>Enable program list in "Run Application" dialog</_summary>