diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2010-08-10 13:00:34 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2010-08-10 13:00:34 +0000 |
commit | f9601169ac45ad4cf9edfd2048819a7a6b0f6711 (patch) | |
tree | 122b4c3caf731a90b684b6119391295f2221614c /kde-base/kdebase-kioslaves | |
parent | Drop unused patch. (diff) | |
download | gentoo-2-f9601169ac45ad4cf9edfd2048819a7a6b0f6711.tar.gz gentoo-2-f9601169ac45ad4cf9edfd2048819a7a6b0f6711.tar.bz2 gentoo-2-f9601169ac45ad4cf9edfd2048819a7a6b0f6711.zip |
Drop unused patch.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'kde-base/kdebase-kioslaves')
-rw-r--r-- | kde-base/kdebase-kioslaves/ChangeLog | 6 | ||||
-rw-r--r-- | kde-base/kdebase-kioslaves/files/4.3.5-fix-slow-folderview.patch | 118 |
2 files changed, 5 insertions, 119 deletions
diff --git a/kde-base/kdebase-kioslaves/ChangeLog b/kde-base/kdebase-kioslaves/ChangeLog index c6cc9516fe46..6d98048d36ba 100644 --- a/kde-base/kdebase-kioslaves/ChangeLog +++ b/kde-base/kdebase-kioslaves/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for kde-base/kdebase-kioslaves # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kdebase-kioslaves/ChangeLog,v 1.205 2010/08/09 17:33:52 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdebase-kioslaves/ChangeLog,v 1.206 2010/08/10 13:00:34 scarabeus Exp $ + + 10 Aug 2010; Tomáš Chvátal <scarabeus@gentoo.org> + -files/4.3.5-fix-slow-folderview.patch: + Drop unused patch. 09 Aug 2010; Tomáš Chvátal <scarabeus@gentoo.org> kdebase-kioslaves-4.4.5.ebuild: diff --git a/kde-base/kdebase-kioslaves/files/4.3.5-fix-slow-folderview.patch b/kde-base/kdebase-kioslaves/files/4.3.5-fix-slow-folderview.patch deleted file mode 100644 index b6c223880f6d..000000000000 --- a/kde-base/kdebase-kioslaves/files/4.3.5-fix-slow-folderview.patch +++ /dev/null @@ -1,118 +0,0 @@ -Index: branches/KDE/4.3/kdebase/runtime/kioslave/desktop/desktopnotifier.h -=================================================================== ---- a/kioslave/desktop/desktopnotifier.h (revision 1080099) -+++ b/kioslave/desktop/desktopnotifier.h (revision 1080100) -@@ -1,5 +1,5 @@ - /* This file is part of the KDE Project -- Copyright (C) 2008 Fredrik Höglund <fredrik@kde.org> -+ Copyright (C) 2008, 2009 Fredrik Höglund <fredrik@kde.org> - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public -@@ -20,15 +20,26 @@ - #define DESKTOPNOTIFIER_H - - #include <kdedmodule.h> -+#include <QtDBus/QtDBus> - -+class KDirWatch; -+ - class DesktopNotifier : public KDEDModule - { - Q_OBJECT -+ Q_CLASSINFO("D-Bus Interface", "org.kde.DesktopNotifier") -+ - public: - DesktopNotifier(QObject* parent, const QList<QVariant>&); - -+public slots: -+ Q_SCRIPTABLE Q_NOREPLY void watchDir(const QString &path); -+ - private slots: - void dirty(const QString &path); -+ -+private: -+ KDirWatch *dirWatch; - }; - - #endif -Index: branches/KDE/4.3/kdebase/runtime/kioslave/desktop/kio_desktop.h -=================================================================== ---- a/kioslave/desktop/kio_desktop.h (revision 1080099) -+++ b/kioslave/desktop/kio_desktop.h (revision 1080100) -@@ -1,5 +1,5 @@ - /* This file is part of the KDE project -- Copyright (C) 2008 Fredrik Höglund <fredrik@kde.org> -+ Copyright (C) 2008, 2009 Fredrik Höglund <fredrik@kde.org> - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public -@@ -33,6 +33,7 @@ - void checkLocalInstall(); - QString desktopFile(KIO::UDSEntry&) const; - virtual bool rewriteUrl(const KUrl &url, KUrl &newUrl); -+ virtual void listDir(const KUrl &url); - virtual void prepareUDSEntry(KIO::UDSEntry &entry, bool listing=false) const; - virtual void rename(const KUrl &, const KUrl &, KIO::JobFlags flags); - }; -Index: branches/KDE/4.3/kdebase/runtime/kioslave/desktop/desktopnotifier.cpp -=================================================================== ---- a/kioslave/desktop/desktopnotifier.cpp (revision 1080099) -+++ b/kioslave/desktop/desktopnotifier.cpp (revision 1080100) -@@ -1,5 +1,5 @@ - /* This file is part of the KDE Project -- Copyright (C) 2008 Fredrik Höglund <fredrik@kde.org> -+ Copyright (C) 2008, 2009 Fredrik Höglund <fredrik@kde.org> - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public -@@ -36,13 +36,18 @@ - DesktopNotifier::DesktopNotifier(QObject *parent, const QList<QVariant> &) - : KDEDModule(parent) - { -- KDirWatch *dirWatch = new KDirWatch(this); -- dirWatch->addDir(KGlobalSettings::desktopPath(), KDirWatch::WatchSubDirs); -+ dirWatch = new KDirWatch(this); -+ dirWatch->addDir(KGlobalSettings::desktopPath()); - dirWatch->addDir(KGlobal::dirs()->localxdgdatadir() + "Trash/files"); - - connect(dirWatch, SIGNAL(dirty(QString)), SLOT(dirty(QString))); - } - -+void DesktopNotifier::watchDir(const QString &path) -+{ -+ dirWatch->addDir(path); -+} -+ - void DesktopNotifier::dirty(const QString &path) - { - Q_UNUSED(path) -Index: branches/KDE/4.3/kdebase/runtime/kioslave/desktop/kio_desktop.cpp -=================================================================== ---- a/kioslave/desktop/kio_desktop.cpp (revision 1080099) -+++ b/kioslave/desktop/kio_desktop.cpp (revision 1080100) -@@ -1,5 +1,5 @@ - /* This file is part of the KDE project -- Copyright (C) 2008 Fredrik Höglund <fredrik@kde.org> -+ Copyright (C) 2008, 2009 Fredrik Höglund <fredrik@kde.org> - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public -@@ -157,6 +157,17 @@ - return true; - } - -+void DesktopProtocol::listDir(const KUrl &url) -+{ -+ KIO::ForwardingSlaveBase::listDir(url); -+ -+ KUrl actual; -+ rewriteUrl(url, actual); -+ -+ QDBusInterface kded("org.kde.kded", "/modules/desktopnotifier", "org.kde.DesktopNotifier"); -+ kded.call("watchDir", actual.path()); -+} -+ - QString DesktopProtocol::desktopFile(KIO::UDSEntry &entry) const - { - const QString name = entry.stringValue(KIO::UDSEntry::UDS_NAME); |