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

List:       kde-commits
Subject:    branches/work/akonadi-ports/kdepim/korganizer
From:       Kevin Ottens <ervin () kde ! org>
Date:       2009-12-08 9:38:00
Message-ID: 1260265080.370075.32638.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1060140 by ervin:

In case of an event added, no need for warning and confirmations. It got
handled on the KMail side first.


 M  +4 -0      kogroupware.cpp  


--- branches/work/akonadi-ports/kdepim/korganizer/kogroupware.cpp #1060139:1060140
@@ -373,6 +373,10 @@
           parent, txt, i18n( "Group Scheduling Email" ),
           KGuiItem( i18n( "Send Update" ) ), KGuiItem( i18n( "Do Not Send" ) ) );
         setDoNotNotify( rc == KMessageBox::No );
+      } else if ( action == KOGlobals::INCIDENCEADDED ) {
+        // We just got this event from the groupware stack, so add it right away
+        // the notification mail was sent on the KMail side.
+        return true;
       } else {
         txt = i18n( "You are not the organizer of this event. Editing it will "
                     "bring your calendar out of sync with the organizer's calendar. "
[prev in list] [next in list] [prev in thread] [next in thread] 

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