summaryrefslogtreecommitdiffstats
path: root/redhat/tdelibs/kdelibs-3.5.13-prevent_xdg_autostart_multiple_times.patch
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2014-10-03 16:37:29 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2014-10-03 16:37:29 +0200
commit207150b44fec55bf2b8c5e74badde93880e277fe (patch)
tree88bbd5a809eeda66be5a34388e1d0250cd6e57b3 /redhat/tdelibs/kdelibs-3.5.13-prevent_xdg_autostart_multiple_times.patch
parent91c51c0c2bb170ce7e1f7b0c3210f9462aff3435 (diff)
downloadtde-packaging-207150b44fec55bf2b8c5e74badde93880e277fe.tar.gz
tde-packaging-207150b44fec55bf2b8c5e74badde93880e277fe.zip
RPM Packaging: update and cleanup tdelibs
Diffstat (limited to 'redhat/tdelibs/kdelibs-3.5.13-prevent_xdg_autostart_multiple_times.patch')
-rw-r--r--redhat/tdelibs/kdelibs-3.5.13-prevent_xdg_autostart_multiple_times.patch53
1 files changed, 0 insertions, 53 deletions
diff --git a/redhat/tdelibs/kdelibs-3.5.13-prevent_xdg_autostart_multiple_times.patch b/redhat/tdelibs/kdelibs-3.5.13-prevent_xdg_autostart_multiple_times.patch
deleted file mode 100644
index 6a5a8c9d4..000000000
--- a/redhat/tdelibs/kdelibs-3.5.13-prevent_xdg_autostart_multiple_times.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-commit e9f29cfb2a76657f150ec585fa6775f372d7e460
-Author: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Date: 1343238048 -0500
-
- Prevent XDG autostart files from starting multiple times
- This resolves Bug 1096
-
-diff --git a/kinit/autostart.cpp b/kinit/autostart.cpp
-index 4880039..c7feb17 100644
---- a/kinit/autostart.cpp
-+++ b/kinit/autostart.cpp
-@@ -214,6 +214,32 @@ AutoStart::loadAutoStartList()
- }
- m_startList->append(item);
- }
-+
-+ // Check for duplicate entries and remove if found
-+ TQPtrListIterator<AutoStartItem> it1(*m_startList);
-+ TQPtrListIterator<AutoStartItem> it2(*m_startList);
-+ AutoStartItem *item1;
-+ AutoStartItem *item2;
-+ while ((item1 = it1.current()) != 0) {
-+ bool dupfound1 = false;
-+ it2.toFirst();
-+ while ((item2 = it2.current()) != 0) {
-+ bool dupfound2 = false;
-+ if (item2 != item1) {
-+ if (item1->service == item2->service) {
-+ m_startList->removeRef(item2);
-+ dupfound1 = true;
-+ dupfound2 = true;
-+ }
-+ }
-+ if (!dupfound2) {
-+ ++it2;
-+ }
-+ }
-+ if (!dupfound1) {
-+ ++it1;
-+ }
-+ }
- }
-
- TQString
-@@ -241,7 +267,7 @@ AutoStart::startService()
- }
- m_started.remove(m_started.begin());
- }
--
-+
- // Check for items that don't depend on anything
- AutoStartItem *item;
- for(item = m_startList->first();