Summary: | Changing the order of accounts does not stick | ||
---|---|---|---|
Product: | [Unmaintained] kopete | Reporter: | Ken Zalewski <kennyz> |
Component: | general | Assignee: | Kopete Developers <kopete-bugs-null> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | cshobe, pereira.alex |
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Slackware | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Ken Zalewski
2003-08-10 07:46:41 UTC
Subject: kdenonbeta/kopete CVS commit by ogoffart: Make the ordering of accounts working in libkpoete. use this account order to find the preferred contact in a metacontact with multiple contact. !!!!*****FIXME***TODO*****!!! The account order is still not saved in the KConfig file. KConfig does not give dirrect way (AFAIK) to save an order, unlike the old XML saving. I still donn't know how I (or others?) will implement the saving of this order. CCMAIL: 62439@bugs.kde.org CCMAIL: 54676@bugs.kde.org M +12 -3 kopete/conf/accountconfig.cpp 1.18 M +21 -0 libkopete/kopeteaccountmanager.cpp 1.30 M +15 -0 libkopete/kopeteaccountmanager.h 1.17 M +8 -1 libkopete/kopetemetacontact.cpp 1.169 Subject: Re: kdenonbeta/kopete What you could e.g. do is saving the names (or other unique identifiers) to a QStringList and write this QStringList to KConfig. KConfig will definitely keep the order in this list, and you can use it in order to restore the order of the entries. Another solution is to store a position with each entry and sort by those. That's what e.g. KMail does for the accounts. Kalle On Saturday 23 August 2003 13:56, Olivier Goffart wrote: > CVS commit by ogoffart: > > Make the ordering of accounts working in libkpoete. > use this account order to find the preferred contact in a metacontact with > multiple contact. > > !!!!*****FIXME***TODO*****!!! > The account order is still not saved in the KConfig file. > KConfig does not give dirrect way (AFAIK) to save an order, unlike the old > XML saving. I still donn't know how I (or others?) will implement the > saving of this order. > > CCMAIL: 62439@bugs.kde.org > CCMAIL: 54676@bugs.kde.org > > > M +12 -3 kopete/conf/accountconfig.cpp 1.18 > M +21 -0 libkopete/kopeteaccountmanager.cpp 1.30 > M +15 -0 libkopete/kopeteaccountmanager.h 1.17 > M +8 -1 libkopete/kopetemetacontact.cpp 1.169 *** Bug 64184 has been marked as a duplicate of this bug. *** Olivier, do you plan to take Kalle up on his suggestion? IIRC, there was a discussion about his way of doing it. Did you decide anything? forgot to add that I can confirm this. *** This bug has been marked as a duplicate of 54676 *** |