[Adium-devl] -[AIAccountMenu menuNeedsUpdate:] - why do we need to rebuild the menus so often?
Evan Schoenberg
evan.s at dreskin.net
Tue Nov 20 22:26:16 UTC 2007
On Nov 20, 2007, at 3:04 PM, Peter Hosey wrote:
> On Nov 20, 2007, at 12:16:36, Evan Schoenberg wrote:
>> Is there a better way we could approach this, such as finding out
>> when a change is needed and flipping a flag to rebuild next time
>> it's needed?
>
> Does the account controller post notifications when an account is
> added or deleted?
>
> Do accounts post notifications when anything about them is changed?
Yes and yes, at least for anything that I know of that requires
updating... but I suspect that the change was made because things can
change silently (silently at present, that is) within the xmpp prpl in
libpurple. I can say with near certainty that for all other account
types, an update is only needed when the account signs on or signs off.
-Evan
More information about the devel
mailing list