Commit f63f2b69 authored by Anton V. Boyarshinov's avatar Anton V. Boyarshinov

added sustom menu for settings

parent 2e81c8e1
......@@ -147,6 +147,7 @@ KDE3 settings for %Brand %version %Theme
Summary: GNOME settings for %Brand %version %Theme
License: Distributable
Group: Graphical desktop/KDE
Requires: altlinux-menus
Requires: gtk2-theme-mist
Provides: gnome-theme-%brand-%theme = %version-%release
Provides: metacity-theme-%brand-%theme = %version-%release
......@@ -271,6 +272,8 @@ install -m 644 metacity-theme-1.xml '%buildroot/%_datadir/themes/%XdgThemeName/m
install -m 644 index.theme '%buildroot/%_datadir/themes/%XdgThemeName/'
mkdir -p '%buildroot/etc/gnome/xdg/menus/applications-merged/'
install -m 644 applications.menu '%buildroot/etc/gnome/xdg/menus/applications-merged/'
mkdir -p '%buildroot/etc/xdg/menus/'
install -m 644 settings.menu '%buildroot/etc/xdg/menus/'
popd
#slideshow
......@@ -356,6 +359,7 @@ echo $lang > lang
%files gnome-settings
%_datadir/themes/*
/etc/gnome/xdg/menus/applications-merged/
/etc/xdg/menus/*
%files slideshow
/usr/share/install2/slideshow
......
<!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN"
"http://www.freedesktop.org/standards/menu-spec/1.0/menu.dtd">
<Menu>
<Name>Desktop</Name>
<Directory>X-GNOME-Menu-System.directory</Directory>
<!-- Read standard .directory and .desktop file locations -->
<DefaultAppDirs/>
<DefaultDirectoryDirs/>
<!-- Read in overrides and child menus from applications-merged/ -->
<DefaultMergeDirs/>
<!-- Add a link to the control center -->
<Include>
<Filename>gnomecc.desktop</Filename>
</Include>
<!-- Merge in these other files as submenus -->
<Menu>
<Name>Preferences</Name>
<Directory>Settings.directory</Directory>
<Include>
<And>
<Category>Settings</Category>
<Not>
<Or>
<Category>System</Category>
<Filename>gnomecc.desktop</Filename>
</Or>
</Not>
</And>
</Include>
</Menu>
<!-- System Settings -->
<Menu>
<Name>Administration</Name>
<Directory>Settings-System.directory</Directory>
<Include>
<And>
<Category>Settings</Category>
<Category>System</Category>
</And>
</Include>
</Menu> <!-- End System Settings -->
<Layout>
<Menuname>Preferences</Menuname>
<Menuname>Administration</Menuname>
<Merge type="menus"/>
<Merge type="files"/>
</Layout>
</Menu> <!-- End Settings -->
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment