diff --git a/nepomuk/services/strigi/eventmonitor.cpp b/nepomuk/services/strigi/eventmonitor.cpp
index 51ae599..fa61a24 100644
--- a/nepomuk/services/strigi/eventmonitor.cpp
+++ b/nepomuk/services/strigi/eventmonitor.cpp
@@ -34,13 +34,23 @@
 #include <QtDBus/QDBusInterface>
 
 
-namespace {
-    void sendEvent( const QString& event, const QString& text, const QString& iconName ) {
-        KNotification::event( event, text, KIcon( iconName ).pixmap( 32, 32 ) );
+void Nepomuk::EventMonitor::sendEvent(const QString& event, const QString& text, const QString& iconName)
+{
+    KNotification *notify = new KNotification(event);
+    notify->setText( text);
+
+    notify->setPixmap(KIcon( iconName ).pixmap( 32, 32 ));
+    if(m_indexScheduler->isSuspended()){
+        notify->setActions(QStringList (i18n("Resume")));
+        connect(notify,SIGNAL(action1Activated()), this , SLOT(resumeIndexing()) );
     }
+    else {
+        notify->setActions(QStringList (i18n("Pause")));
+        connect(notify,SIGNAL(action1Activated()), this , SLOT(pauseIndexing()) );
+    }
+    notify->sendEvent();
 }
 
-
 Nepomuk::EventMonitor::EventMonitor( IndexScheduler* scheduler, QObject* parent )
     : QObject( parent ),
       m_indexScheduler( scheduler ),
diff --git a/nepomuk/services/strigi/eventmonitor.h b/nepomuk/services/strigi/eventmonitor.h
index b0ec97d..0968eed 100644
--- a/nepomuk/services/strigi/eventmonitor.h
+++ b/nepomuk/services/strigi/eventmonitor.h
@@ -39,15 +39,16 @@ namespace Nepomuk {
         ~EventMonitor();
 
     private Q_SLOTS:
-        void slotPowerManagementStatusChanged( bool conserveResources );
+        void sendEvent(const QString& event, const QString& text, const QString& iconName);
+	void slotPowerManagementStatusChanged( bool conserveResources );
         void slotCheckAvailableSpace();
         void slotIndexingStopped();
         void pauseIndexing(int pauseState);
         void resumeIndexing();
         void slotIndexingSuspended( bool suspended );
         void slotIndexingStateChanged( bool indexing );
-
-    private:
+	
+     private:
         enum {
             NotPaused,
             PausedDueToPowerManagement,