summaryrefslogtreecommitdiffstats
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
parent269de3ec2385aad4416201ff37c89353f1d6f7b6 (diff)
downloadtde-packaging-6b71d2cda5d9c1dbd01a404b9283a75724775f2b.zip
tde-packaging-6b71d2cda5d9c1dbd01a404b9283a75724775f2b.tar.gz
RPM packaging: update tdeutilsr14.0.0
-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 be5549b..8186daa 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}"