A Sunday 05 August 2007 11:03:38, Matt Rogers escreveu: > On Wednesday 01 August 2007 09:28, Gustavo Pichorim Boiko wrote: > > Hello > > > > After some hacking I got some news on the identity support for kopete. > > Every account now is assigned to an identity. > > By default, there will be only one identity (the "default" one), which > > will be created by the time you configure the first account in kopete, > > but more identities can be created in the identity configuration > > interface. > > > > The Kopete::Account now has a identity() method which returns the > > identity assigned to the account. This method always returns a valid > > identity. If no identity was configured, it will create a default one and > > assign the account to that identity. > > > > Account properties such as nickName, photo, will become now identity > > properties. They should be read from/written to the identity assigned to > > the account. > > > > As I don't know the protocol implementations, I need some help on that: > > any place where user information is required should use the identity() > > now, by doing identity()->property() to get a property value, and > > identity()->setProperty() to set the value of a property in the identity. > > > > It is still undecided how to handle synchronization, but my idea is to > > always use properties from the identity, never from the accounts > > themselves (unless an identity has only one account assigned to it, this > > would allow using the data from the account, but for all other cases, the > > identity data has preference). > > > > Property changes are already being notified by the identity, so if the > > account supports storing information server-side, it can use that to > > always have up-to-date information from the identity. > > > > I have created a dialog for configuring identity properties (which is > > accessible from the configuration dialog), but for chaning properties > > that are offen changed (like photo, nickname and so), I have created a > > inplace widget in kopete contact list window, which can be seen at: > > http://people.mandriva.com/~boiko/kopete/identity/kopete_identity_status. > >pn g Besides Bille not liking the underlined texts (which is something > > pretty easy to fix), I would like to know your opinion about that. > > Can it be made smaller? It's too big IMHO.
Probably, but for now it is like this ;) I will spend time on UI discussion and design after everything else is implemented. (...) > As far as I'm concerned, you can merge when ready. I won't speak for the > rest of us, but i'd like to delay releasing Kopete until it's actually > ready. If that means it's not released until 4.1, then so be it. We're not > ready now though, IMHO. Yes, I completelly agree. I think we should delay and release a Killer (TM) Kopete when it is ready :) Cheers -- Gustavo Pichorim Boiko ----------------------------------- KDE Developer www.kde.org Mandriva Labs www.mandriva.com _______________________________________________ kopete-devel mailing list [email protected] https://mail.kde.org/mailman/listinfo/kopete-devel
