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

List:       kmail-devel
Subject:    [Bug 92502] Checkbox "Ignore new mail in this folder" not
From:       Carsten Burghardt <burghardt () kde ! org>
Date:       2004-11-01 11:51:07
Message-ID: 20041101115107.26352.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
        
http://bugs.kde.org/show_bug.cgi?id=92502        
burghardt kde org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From burghardt kde org  2004-11-01 12:51 -------
CVS commit by burghard: 

Make sure writeConfig is written after all changes.
BUG: 92502


  M +8 -7      kmfolderdia.cpp   1.168


--- kdepim/kmail/kmfolderdia.cpp  #1.167:1.168
 @ -858,7 +858,4  @ bool FolderDiaGeneralTab::save()
         static_cast<KMail::FolderContentsType>( mContentsComboBox->currentItem() );
       folder->storage()->setContentsType( type );
-      // make sure everything is on disk, connected slots will call readConfig()
-      // when creating a new folder.
-      folder->storage()->writeConfig();
     }
 
 @ -874,10 +871,9  @ bool FolderDiaGeneralTab::save()
 
     folder->setIgnoreNewMail( mIgnoreNewMailCheckBox->isChecked() );
-    kmkernel->folderMgr()->contentsChanged();
-
     folder->setPutRepliesInSameFolder( mKeepRepliesInSameFolderCheckBox->isChecked() );
 
-    if( mDlg->isNewFolder() )
-      folder->close();
+    // make sure everything is on disk, connected slots will call readConfig()
+    // when creating a new folder.
+    folder->storage()->writeConfig();
 
     if( folder->folderType() == KMFolderTypeImap )
 @ -887,4 +883,9  @ bool FolderDiaGeneralTab::save()
           mNewMailCheckBox->isChecked() );
     }
+    kmkernel->folderMgr()->contentsChanged();
+
+    if( mDlg->isNewFolder() )
+      folder->close();
+
   }
   return true;
_______________________________________________
KMail developers mailing list
KMail-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmail-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

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