summaryrefslogtreecommitdiff
path: root/layout
diff options
context:
space:
mode:
Diffstat (limited to 'layout')
-rw-r--r--layout/Makefile.am3
-rw-r--r--layout/mate-preferences-categories.menu114
2 files changed, 116 insertions, 1 deletions
diff --git a/layout/Makefile.am b/layout/Makefile.am
index f6ab8e6..239005f 100644
--- a/layout/Makefile.am
+++ b/layout/Makefile.am
@@ -2,7 +2,8 @@ menudir = $(sysconfdir)/xdg/menus
menu_DATA = \
mate-applications.menu \
- mate-settings.menu
+ mate-settings.menu \
+ mate-preferences-categories.menu
EXTRA_DIST= $(menu_DATA)
diff --git a/layout/mate-preferences-categories.menu b/layout/mate-preferences-categories.menu
new file mode 100644
index 0000000..bd89726
--- /dev/null
+++ b/layout/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>
+