[gnome-menus] layout: Put control center apps in the applications menu
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-menus] layout: Put control center apps in the applications menu
- Date: Sat, 16 Feb 2013 01:49:44 +0000 (UTC)
commit cfaa9d460ef9fb502585d0fcdfcf3bb4e25b19aa
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Fri Feb 15 17:33:00 2013 -0500
layout: Put control center apps in the applications menu
This allows gnome-shell to do app tracking for them. It should
not display them, as the desktop directory itself is marked as
NoDisplay=true.
desktop-directories/Makefile.am | 1 +
.../X-GNOME-SystemSettings.directory.in | 5 +++++
layout/applications.menu | 10 +++++++++-
3 files changed, 15 insertions(+), 1 deletions(-)
---
diff --git a/desktop-directories/Makefile.am b/desktop-directories/Makefile.am
index 93550f4..8a2e860 100644
--- a/desktop-directories/Makefile.am
+++ b/desktop-directories/Makefile.am
@@ -20,6 +20,7 @@ directory_in_files = \
X-GNOME-Other.directory.in \
X-GNOME-Menu-Applications.directory.in \
X-GNOME-WebApplications.directory.in \
+ X-GNOME-SystemSettings.directory.in \
$(directory_in_controlcenterfiles)
directory_DATA = $(directory_in_files:.directory.in=.directory)
diff --git a/desktop-directories/X-GNOME-SystemSettings.directory.in
b/desktop-directories/X-GNOME-SystemSettings.directory.in
new file mode 100644
index 0000000..acfbffe
--- /dev/null
+++ b/desktop-directories/X-GNOME-SystemSettings.directory.in
@@ -0,0 +1,5 @@
+[Desktop Entry]
+Name=System Settings
+Icon=gnome-settings
+Type=Directory
+NoDisplay=true
diff --git a/layout/applications.menu b/layout/applications.menu
index afbc817..6472510 100644
--- a/layout/applications.menu
+++ b/layout/applications.menu
@@ -152,6 +152,15 @@
</Include>
</Menu> <!-- End System Tools -->
+ <!-- System Settings -->
+ <Menu>
+ <Name>System Settings</Name>
+ <Directory>X-GNOME-SystemSettings.directory</Directory>
+ <Include>
+ <Category>X-GNOME-Settings-Panel</Category>
+ </Include>
+ </Menu>
+
<!-- Other -->
<Menu>
<Name>Other</Name>
@@ -161,7 +170,6 @@
<And>
<Not><Category>Core</Category></Not>
<Not><Category>Screensaver</Category></Not>
- <Not><Category>X-GNOME-Settings-Panel</Category></Not>
</And>
</Include>
</Menu> <!-- End Other -->
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]