- hide cups in KDE4 menu

This commit is contained in:
Сергей Турчин 2011-06-24 17:11:29 +04:00
parent c4fbaccb9a
commit 755e1eb8c8
3 changed files with 38 additions and 47 deletions

View File

@ -5,7 +5,7 @@
Name: branding-%brand-kdesktop
Version: 6.0.0
Release: alt27
Release: alt28
BuildArch: noarch
%define theme %name
@ -272,6 +272,8 @@ popd
pushd kde4-settings
mkdir -p %buildroot%_sysconfdir/skel/.kde4
cp -a kde4/* %buildroot%_sysconfdir/skel/.kde4/
mkdir -p %buildroot%_sysconfdir/kde4/xdg/menus/applications-merged/
install menu/*.menu %buildroot%_sysconfdir/kde4/xdg/menus/applications-merged/
popd
#kde3-settings
@ -388,6 +390,7 @@ cat '/%_datadir/themes/%XdgThemeName/panel-default-setup.entries' > \
%_datadir/alt-notes/*
%files kde4-settings
%_sysconfdir/kde4/xdg/menus/applications-merged/*.menu
%_sysconfdir/skel/.kde4
%ifnarch %arm
@ -417,6 +420,9 @@ cat '/%_datadir/themes/%XdgThemeName/panel-default-setup.entries' > \
%_datadir/kde4/apps/kio_desktop/DesktopLinks/indexhtml.desktop
%changelog
* Fri Jun 24 2011 Sergey V Turchin <zerg@altlinux.org> 6.0.0-alt28
- hide cups in KDE4 menu
* Fri Jun 24 2011 Sergey V Turchin <zerg@altlinux.org> 6.0.0-alt27
- install indexhtml.desktop to KDE4 desktop

View File

@ -1,46 +0,0 @@
<!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN" "http://www.freedesktop.org/standards/menu-spec/1.0/menu.dtd">
<Menu>
<Menu>
<Name>System</Name>
<Include>
<Filename>kde4-kdebluetooth4.desktop</Filename>
</Include>
</Menu>
<Menu>
<Name>Internet</Name>
<Exclude>
<Filename>bssh.desktop</Filename>
<Filename>bvnc.desktop</Filename>
<Filename>krb5-ticket-watcher.desktop</Filename>
<Filename>kde4-Kppp.desktop</Filename>
<Filename>nm-applet.desktop</Filename>
<Filename>kde4-kdebluetooth4.desktop</Filename>
<Filename>nxclient.desktop</Filename>
<Filename>nxclient-help.desktop</Filename>
<Filename>nxclient-wizard.desktop</Filename>
<Filename>nxclient-admin.desktop</Filename>
<Filename>kde4-krdc.desktop</Filename>
</Exclude>
<Menu>
<Name>Remote Access</Name>
<Directory>desktop-remote-access.directory</Directory>
<Include>
<Filename>nxclient.desktop</Filename>
<Filename>nxclient-help.desktop</Filename>
<Filename>nxclient-wizard.desktop</Filename>
<Filename>nxclient-admin.desktop</Filename>
<Filename>kde4-krdc.desktop</Filename>
</Include>
</Menu>
<Menu>
<Name>More</Name>
<Include>
<Filename>bssh.desktop</Filename>
<Filename>bvnc.desktop</Filename>
<Filename>krb5-ticket-watcher.desktop</Filename>
<Filename>kde4-Kppp.desktop</Filename>
<Filename>nm-applet.desktop</Filename>
</Include>
</Menu>
</Menu>
</Menu>

View File

@ -0,0 +1,31 @@
<!DOCTYPE Menu PUBLIC '-//freedesktop//DTD Menu 1.0//EN' 'http://www.freedesktop.org/standards/menu-spec/1.0/menu.dtd'>
<Menu>
<Menu>
<Name>Settings</Name>
<Menu>
<Name>HardwareSettings</Name>
<Menu>
<Name>Printing</Name>
<Exclude>
<Filename>cups.desktop</Filename>
</Exclude>
</Menu>
</Menu>
</Menu>
<Menu>
<Name>System</Name>
<Exclude>
<Filename>cups.desktop</Filename>
</Exclude>
</Menu>
<Menu>
<Name>.hidden</Name>
<Include>
<Filename>cups.desktop</Filename>
</Include>
</Menu>
</Menu>