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

List:       kde-commits
Subject:    branches/kdepim/enterprise/kdepim/kmail
From:       Allen Winter <winter () kde ! org>
Date:       2009-08-25 16:18:26
Message-ID: 1251217106.709600.10454.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1015486 by winterz:

display the Recent Addresses sublist last, by default.
kolab/issue3804

MERGE: e4,trunk,4.3



 M  +3 -3      kmlineeditspell.cpp  


--- branches/kdepim/enterprise/kdepim/kmail/kmlineeditspell.cpp #1015485:1015486
@@ -164,14 +164,14 @@
         KRecentAddress::RecentAddresses::self( KMKernel::config() )->addresses();
       QStringList::Iterator it = recent.begin();
       QString name, email;
-      // FIXME: Make the 120 configureable. This is also hardcoded somewhere else!
-      int idx = addCompletionSource( i18n( "Recent Addresses" ), 120 );
+      // FIXME: Make the 10 configureable. This is also hardcoded somewhere else!
+      int idx = addCompletionSource( i18n( "Recent Addresses" ), 10 );
       for ( ; it != recent.end(); ++it ) {
         KABC::Addressee addr;
         KPIM::getNameAndMail(*it, name, email);
         addr.setNameFromString( KPIM::quoteNameIfNecessary( name ));
         addr.insertEmail( email, true );
-        addContact( addr, 120, idx ); // more weight than kabc entries and more than ldap results
+        addContact( addr, 10, idx ); // more weight than kabc entries and more than ldap results
       }
     }
   }
[prev in list] [next in list] [prev in thread] [next in thread] 

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