[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE_3_2_BRANCH: kdepim/kmail
From:       Volker Krause <volker.krause () rwth-aachen ! de>
Date:       2004-02-24 17:52:39
Message-ID: 20040224175239.53A609965 () office ! kde ! org
[Download RAW message or body]

CVS commit by vkrause: 

Backport r1.144 from HEAD:

Fix the remaining issues with kontact's new mail notification, i.e. passive popups \
are now placed correctly and taskbar flashing works.

Reviewed by Ingo Kloecker


  M +4 -2      kmmainwidget.cpp   1.132.2.1


--- kdepim/kmail/kmmainwidget.cpp  #1.132:1.132.2.1
@@ -758,8 +758,10 @@ void KMMainWidget::slotMailChecked(bool 
   if(kmkernel->xmlGuiInstance()) {
     KNotifyClient::Instance instance(kmkernel->xmlGuiInstance());
-    KNotifyClient::event(0, "new-mail-arrived", i18n("New mail arrived"));
+    KNotifyClient::event(topLevelWidget()->winId(), "new-mail-arrived", 
+      i18n("New mail arrived"));
   }
   else
-    KNotifyClient::event(0, "new-mail-arrived", i18n("New mail arrived"));
+    KNotifyClient::event(topLevelWidget()->winId(), "new-mail-arrived", 
+      i18n("New mail arrived"));
   if (mBeepOnNew) {
     KNotifyClient::beep();


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic