summaryrefslogtreecommitdiffstats
path: root/redhat
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2014-12-09 22:05:49 +0100
committerFrançois Andriot <albator78@libertysurf.fr>2014-12-09 22:05:49 +0100
commit6b71d2cda5d9c1dbd01a404b9283a75724775f2b (patch)
treed29163804980bf288c08b68bab426c0eb41a8ed0 /redhat
parent269de3ec2385aad4416201ff37c89353f1d6f7b6 (diff)
downloadtde-packaging-6b71d2cda5d9c1dbd01a404b9283a75724775f2b.tar.gz
tde-packaging-6b71d2cda5d9c1dbd01a404b9283a75724775f2b.zip
RPM packaging: update tdeutilsr14.0.0
Diffstat (limited to 'redhat')
-rw-r--r--redhat/main/tdeutils/tdeutils-14.0.0.spec10
1 files changed, 10 insertions, 0 deletions
diff --git a/redhat/main/tdeutils/tdeutils-14.0.0.spec b/redhat/main/tdeutils/tdeutils-14.0.0.spec
index be5549b92..8186daa2f 100644
--- a/redhat/main/tdeutils/tdeutils-14.0.0.spec
+++ b/redhat/main/tdeutils/tdeutils-14.0.0.spec
@@ -1155,6 +1155,16 @@ export PATH="%{tde_bindir}:${PATH}"
%suse_update_desktop_file KFloppy System Filesystem
%endif
+# Icons from TDE Control Center should only be displayed in TDE
+for i in %{?buildroot}%{tde_tdeappdir}/*.desktop ; do
+ if grep -q "^Categories=.*X-TDE-settings" "${i}"; then
+ if ! grep -q "OnlyShowIn=TDE" "${i}" ; then
+ echo "OnlyShowIn=TDE;" >>"${i}"
+ fi
+ fi
+done
+
+
%clean
%__rm -rf "%{?buildroot}"