[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/4.6/kdebase/workspace/libs/kworkspace
From: Chani Armitage <chanika () gmail ! com>
Date: 2011-01-05 14:27:28
Message-ID: 20110105142728.5B2E2AC8B1 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1212025 by chani:
re-check hte icon when nepomuk comes up.
BUG: 261725
note: this isn't in trunk yet, me and ivan are discussing the Right way
to do it there.
M +9 -0 kactivityinfo.cpp
--- branches/KDE/4.6/kdebase/workspace/libs/kworkspace/kactivityinfo.cpp #1212024:1212025
@@ -16,6 +16,8 @@
* Boston, MA 02110-1301, USA.
*/
+#include <QDBusConnection>
+
#include <KDebug>
#include "kactivityinfo.h"
@@ -107,6 +109,13 @@
connect(KActivityManager::self(), SIGNAL(ActivityStopped(const QString &)),
this, SLOT(stopped(const QString &)));
+
+ //when nepomuk comes up, the icon becomes available, so give things a kick
+ QDBusConnection::sessionBus().connect(QLatin1String("org.kde.NepomukStorage"),
+ QLatin1String("/servicecontrol"),
+ QLatin1String("org.kde.nepomuk.ServiceControl"),
+ QLatin1String("serviceInitialized"),
+ this, SIGNAL(infoChanged()));
}
KActivityInfo::~KActivityInfo()
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic