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

List:       kde-commits
Subject:    KDE/kdepim/wizards
From:       Will Stephenson <wstephenson () kde ! org>
Date:       2008-07-31 21:18:44
Message-ID: 1217539124.728221.11631.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 840318 by wstephens:

Write the kmail account type correctly for KDE 4 KMail.  

Should fix the Kolab bug about kolabwizard not setting up receiving
accounts correctly, please test.
CCMAIL: adam@kde.org
CCMAIL: ervin@kde.org



 M  +8 -2      kmailchanges.cpp  


--- trunk/KDE/kdepim/wizards/kmailchanges.cpp #840317:840318
@@ -187,7 +187,7 @@
     uid = group.readEntry( "Folder",0 );
   }
   group.writeEntry( "Id", uid );
-  group.writeEntry( "Type", "cachedimap");
+  group.writeEntry( "Type", "DImap");
   switch ( mAuthentication ) {
     case NONE:
       group.writeEntry( "auth", "*" );
@@ -248,6 +248,9 @@
     group.writeEntry( "store-passwd", true );
   }
 
+  group = c.group( QLatin1String( "AccountWizard" ) );
+  group.writeEntry( QLatin1String( "ShowOnStartup" ), false );
+
   KConfig transport( "mailtransports" );
   group = transport.group( QString("Transport %1").arg( transportId ) );
   group.writeEntry( "name", mAccountName );
@@ -323,7 +326,7 @@
   int uid = KRandom::random();
   group.writeEntry( "Folder", uid );
   group.writeEntry( "Id", uid );
-  group.writeEntry( "Type", "imap" );
+  group.writeEntry( "Type", "Imap" );
   group.writeEntry( "auth", "*" );
   group.writeEntry( "Name", mAccountName );
   group.writeEntry( "host", mServer );
@@ -362,6 +365,9 @@
 
   group = c.group( QString("Folder-%1").arg( uid ) );
   group.writeEntry( "isOpen", true );
+
+  group = c.group( QLatin1String( "AccountWizard" ) );
+  group.writeEntry( QLatin1String( "ShowOnStartup" ), false );
 }
 
 bool CreateImapAccount::writeToWallet(const QString & type, int id)
[prev in list] [next in list] [prev in thread] [next in thread] 

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