[gnome-flashback] data: add gnome-flashback-applications.menu
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-flashback] data: add gnome-flashback-applications.menu
- Date: Thu, 16 Oct 2014 16:01:51 +0000 (UTC)
commit 4b81aed3a084c5cb2742942d2c16387a13f00ec3
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Thu Oct 16 18:59:53 2014 +0300
data: add gnome-flashback-applications.menu
Add unchanged applictions.menu file as gnome-flashback-application.menu
from gnome-menus-3.6.2 package.
data/Makefile.am | 4 +
data/gnome-flashback-applications.menu | 175 ++++++++++++++++++++++++++++++++
2 files changed, 179 insertions(+), 0 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index 2628c42..115ed07 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -10,6 +10,9 @@ gnome-flashback-metacity: Makefile
$(AM_V_GEN) (echo '#! /bin/sh' && echo 'exec gnome-session --session=gnome-flashback-metacity "$$@"')
$@
$(AM_V_at) chmod a+x $@
+menudir = $(sysconfdir)/xdg/menus
+menu_DATA = gnome-flashback-applications.menu
+
sessiondir = $(datadir)/gnome-session/sessions
session_in_files = gnome-flashback-compiz.session.in gnome-flashback-metacity.session.in
session_DATA = $(session_in_files:.session.in=.session)
@@ -44,6 +47,7 @@ gsettings_SCHEMAS = $(gsettings_schemas_in:.xml.in=.xml)
EXTRA_DIST = \
$(desktop_in_files) \
$(gsettings_schemas_in_in) \
+ $(menu_DATA) \
$(session_in_files) \
$(xsession_in_in_files)
diff --git a/data/gnome-flashback-applications.menu b/data/gnome-flashback-applications.menu
new file mode 100644
index 0000000..afbc817
--- /dev/null
+++ b/data/gnome-flashback-applications.menu
@@ -0,0 +1,175 @@
+<!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN"
+ "http://www.freedesktop.org/standards/menu-spec/1.0/menu.dtd">
+
+<Menu>
+
+ <Name>Applications</Name>
+ <Directory>X-GNOME-Menu-Applications.directory</Directory>
+
+ <!-- Scan legacy dirs first, as later items take priority -->
+ <KDELegacyDirs/>
+ <LegacyDir>/etc/X11/applnk</LegacyDir>
+ <LegacyDir>/usr/share/gnome/apps</LegacyDir>
+
+ <!-- Read standard .directory and .desktop file locations -->
+ <DefaultAppDirs/>
+ <DefaultDirectoryDirs/>
+
+ <!-- Read in overrides and child menus from applications-merged/ -->
+ <DefaultMergeDirs/>
+
+ <!-- Accessories submenu -->
+ <Menu>
+ <Name>Accessories</Name>
+ <Directory>Utility.directory</Directory>
+ <Include>
+ <And>
+ <Category>Utility</Category>
+ <!-- Accessibility spec must have either the Utility or Settings
+ category, and we display an accessibility submenu already for
+ the ones that do not have Settings, so don't display accessibility
+ applications here -->
+ <Not><Category>Accessibility</Category></Not>
+ <Not><Category>System</Category></Not>
+ </And>
+ </Include>
+ </Menu> <!-- End Accessories -->
+
+ <!-- Accessibility submenu -->
+ <Menu>
+ <Name>Universal Access</Name>
+ <Directory>Utility-Accessibility.directory</Directory>
+ <Include>
+ <And>
+ <Category>Accessibility</Category>
+ <Not><Category>Settings</Category></Not>
+ </And>
+ </Include>
+ </Menu> <!-- End Accessibility -->
+
+ <!-- Development Tools -->
+ <Menu>
+ <Name>Development</Name>
+ <Directory>Development.directory</Directory>
+ <Include>
+ <And>
+ <Category>Development</Category>
+ </And>
+ <Filename>emacs.desktop</Filename>
+ </Include>
+ </Menu> <!-- End Development Tools -->
+
+ <!-- Education -->
+ <Menu>
+ <Name>Education</Name>
+ <Directory>Education.directory</Directory>
+ <Include>
+ <And>
+ <Category>Education</Category>
+ </And>
+ </Include>
+ </Menu> <!-- End Education -->
+
+ <!-- Games -->
+ <Menu>
+ <Name>Games</Name>
+ <Directory>Game.directory</Directory>
+ <Include>
+ <And>
+ <Category>Game</Category>
+ </And>
+ </Include>
+ </Menu> <!-- End Games -->
+
+ <!-- Graphics -->
+ <Menu>
+ <Name>Graphics</Name>
+ <Directory>Graphics.directory</Directory>
+ <Include>
+ <And>
+ <Category>Graphics</Category>
+ </And>
+ </Include>
+ </Menu> <!-- End Graphics -->
+
+ <!-- Internet -->
+ <Menu>
+ <Name>Internet</Name>
+ <Directory>Network.directory</Directory>
+ <Include>
+ <And>
+ <Category>Network</Category>
+ <Not>
+ <Category>X-GNOME-WebApplication</Category>
+ </Not>
+ </And>
+ </Include>
+ </Menu> <!-- End Internet -->
+
+ <!-- Web Applications -->
+ <Menu>
+ <Name>Web Applications</Name>
+ <Directory>X-GNOME-WebApplications.directory</Directory>
+ <Include>
+ <And>
+ <Category>Network</Category>
+ <Category>X-GNOME-WebApplication</Category>
+ </And>
+ </Include>
+ </Menu>
+
+ <!-- Multimedia -->
+ <Menu>
+ <Name>Multimedia</Name>
+ <Directory>AudioVideo.directory</Directory>
+ <Include>
+ <And>
+ <Category>AudioVideo</Category>
+ </And>
+ </Include>
+ </Menu> <!-- End Multimedia -->
+
+ <!-- Office -->
+ <Menu>
+ <Name>Office</Name>
+ <Directory>Office.directory</Directory>
+ <Include>
+ <And>
+ <Category>Office</Category>
+ </And>
+ </Include>
+ </Menu> <!-- End Office -->
+
+ <!-- System Tools-->
+ <Menu>
+ <Name>System</Name>
+ <Directory>System-Tools.directory</Directory>
+ <Include>
+ <And>
+ <Category>System</Category>
+ <Not><Category>Settings</Category></Not>
+ </And>
+ </Include>
+ </Menu> <!-- End System Tools -->
+
+ <!-- Other -->
+ <Menu>
+ <Name>Other</Name>
+ <Directory>X-GNOME-Other.directory</Directory>
+ <OnlyUnallocated/>
+ <Include>
+ <And>
+ <Not><Category>Core</Category></Not>
+ <Not><Category>Screensaver</Category></Not>
+ <Not><Category>X-GNOME-Settings-Panel</Category></Not>
+ </And>
+ </Include>
+ </Menu> <!-- End Other -->
+
+ <Layout>
+ <Merge type="menus" />
+ <Menuname>Other</Menuname>
+ <Merge type="files" />
+ </Layout>
+
+</Menu> <!-- End Applications -->
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]