summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-02-12 12:05:37 +0100
committerStefano Karapetsas <[email protected]>2014-02-12 12:05:37 +0100
commita47009814ce3418f5e861ba425e8fab2ac01f9da (patch)
tree49ce8190c861d010ec80fee1aeeb23ead0d52b08 /data
parentcd6f4678430417bf1675db8ce2343acc1f60f32b (diff)
downloadmate-panel-a47009814ce3418f5e861ba425e8fab2ac01f9da.tar.bz2
mate-panel-a47009814ce3418f5e861ba425e8fab2ac01f9da.tar.xz
Allow to customize menu bar with GSettings
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am3
-rw-r--r--data/org.mate.panel.menubar.gschema.xml.in.in29
2 files changed, 31 insertions, 1 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 516294cc..7b7d3721 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -9,7 +9,8 @@ gsettings_ENUM_FILES = $(top_srcdir)/mate-panel/panel-enums-gsettings.h
panel_gschemas_in_in = \
org.mate.panel.gschema.xml.in.in \
org.mate.panel.object.gschema.xml.in.in \
- org.mate.panel.toplevel.gschema.xml.in.in
+ org.mate.panel.toplevel.gschema.xml.in.in \
+ org.mate.panel.menubar.gschema.xml.in.in
panel_gschemas_in = $(panel_gschemas_in_in:.xml.in.in=.xml.in)
gsettings_SCHEMAS = $(panel_gschemas_in:.xml.in=.xml)
diff --git a/data/org.mate.panel.menubar.gschema.xml.in.in b/data/org.mate.panel.menubar.gschema.xml.in.in
new file mode 100644
index 00000000..9c7ed19f
--- /dev/null
+++ b/data/org.mate.panel.menubar.gschema.xml.in.in
@@ -0,0 +1,29 @@
+<schemalist gettext-domain="@GETTEXT_PACKAGE@">
+ <schema id="org.mate.panel.menubar" path="/org/mate/panel/menubar/">
+ <key name="show-applications" type="b">
+ <default>true</default>
+ <_summary>Show applications menu</_summary>
+ <_description>If true, show applications item in menu bar.</_description>
+ </key>
+ <key name="show-places" type="b">
+ <default>true</default>
+ <_summary>Show places menu</_summary>
+ <_description>If true, show places item in menu bar.</_description>
+ </key>
+ <key name="show-desktop" type="b">
+ <default>true</default>
+ <_summary>Show desktop menu</_summary>
+ <_description>If true, show desktop item in menu bar.</_description>
+ </key>
+ <key name="show-icon" type="b">
+ <default>true</default>
+ <_summary>Show icon</_summary>
+ <_description>If true, show icon in menu bar.</_description>
+ </key>
+ <key name="icon-name" type="s">
+ <default>'start-here'</default>
+ <_summary>Icon to show in menu bar</_summary>
+ <_description>Set the theme icon name to use in menu bar.</_description>
+ </key>
+ </schema>
+</schemalist>