summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shell/Makefile.am4
-rw-r--r--shell/mate-preferences-categories.menu114
2 files changed, 116 insertions, 2 deletions
diff --git a/shell/Makefile.am b/shell/Makefile.am
index ea502fd7..5f449f52 100644
--- a/shell/Makefile.am
+++ b/shell/Makefile.am
@@ -27,9 +27,9 @@ directory_DATA = $(directory_in_files:.directory.in=.directory)
@INTLTOOL_DIRECTORY_RULE@
menudir = $(sysconfdir)/xdg/menus
-menu_DATA = matecc.menu
+menu_DATA = matecc.menu mate-preferences-categories.menu
-EXTRA_DIST = matecc.desktop.in.in matecc.directory.in matecc.menu
+EXTRA_DIST = matecc.desktop.in.in matecc.directory.in matecc.menu mate-preferences-categories.menu
DISTCLEANFILES = matecc.desktop matecc.desktop.in matecc.directory
diff --git a/shell/mate-preferences-categories.menu b/shell/mate-preferences-categories.menu
new file mode 100644
index 00000000..bd897269
--- /dev/null
+++ b/shell/mate-preferences-categories.menu
@@ -0,0 +1,114 @@
+<!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN"
+ "http://www.freedesktop.org/standards/menu-spec/1.0/menu.dtd">
+
+<Menu>
+ <Name>Preferences</Name>
+
+ <Menu>
+ <Name>Personal</Name>
+ <Directory>mate-personal.directory</Directory>
+ <Include>
+ <And>
+ <Category>Settings</Category>
+ <Category>X-MATE-PersonalSettings</Category>
+ <Not><Category>System</Category></Not>
+ </And>
+ <And>
+ <Category>Settings</Category>
+ <Category>X-GNOME-PersonalSettings</Category>
+ <Not><Category>System</Category></Not>
+ </And>
+ <And>
+ <Category>Settings</Category>
+ <Category>X-GNOME-SystemSettings</Category>
+ <Category>Archiving</Category>
+ </And>
+ <And>
+ <Category>Settings</Category>
+ <Category>Accessibility</Category>
+ </And>
+ </Include>
+ </Menu>
+
+ <Menu>
+ <Name>Look and Feel</Name>
+ <Directory>mate-look-and-feel.directory</Directory>
+ <Include>
+ <And>
+ <Category>Settings</Category>
+ <Category>DesktopSettings</Category>
+ <Not><Category>System</Category></Not>
+ <Not><Category>Security</Category></Not>
+ </And>
+ <And>
+ <Category>Settings</Category>
+ <Category>Qt</Category>
+ <Not><Category>System</Category></Not>
+ <Not><Category>Security</Category></Not>
+ </And>
+ </Include>
+ </Menu>
+
+ <Menu>
+ <Name>Internet and Network</Name>
+ <Directory>mate-internet-and-network.directory</Directory>
+ <Include>
+ <And>
+ <Category>Settings</Category>
+ <Category>X-MATE-NetworkSettings</Category>
+ <Not><Category>System</Category></Not>
+ </And>
+ <And>
+ <Category>Settings</Category>
+ <Category>X-GNOME-NetworkSettings</Category>
+ <Not><Category>System</Category></Not>
+ </And>
+ <And>
+ <Category>Settings</Category>
+ <Category>Security</Category>
+ <Not><Category>System</Category></Not>
+ </And>
+ </Include>
+ </Menu>
+
+ <Menu>
+ <Name>Hardware</Name>
+ <Directory>mate-hardware.directory</Directory>
+ <Include>
+ <And>
+ <Category>Settings</Category>
+ <Category>HardwareSettings</Category>
+ <Not><Category>System</Category></Not>
+ </And>
+ </Include>
+ </Menu>
+
+ <Menu>
+ <Name>Other</Name>
+ <Directory>mate-other.directory</Directory>
+ <Include>
+ <And>
+ <Category>Settings</Category>
+ <Not><Category>Accessibility</Category></Not>
+ <Not><Category>System</Category></Not>
+ <Not><Category>DesktopSettings</Category></Not>
+ <Not><Category>HardwareSettings</Category></Not>
+ <Not><Category>Security</Category></Not>
+ <Not><Category>Archiving</Category></Not>
+ <Not><Category>Qt</Category></Not>
+ <Not><Category>X-MATE-NetworkSettings</Category></Not>
+ <Not><Category>X-GNOME-NetworkSettings</Category></Not>
+ <Not><Category>X-MATE-PersonalSettings</Category></Not>
+ <Not><Category>X-GNOME-PersonalSettings</Category></Not>
+ </And>
+ </Include>
+ <Exclude>
+ <Filename>matecc.desktop</Filename>
+ </Exclude>
+ </Menu>
+
+ <Exclude>
+ <Category>Settings</Category>
+ </Exclude>
+</Menu>
+