Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Submitted By: Richard Nelson (wabz)
Assigned to: Sean Egan (seanegan)
Summary: Consistent docklet statuses
This brings the docklet status list in line with the
status selector - when only accounts of one protocol
type are online, show that protocol's statuses.
Comment By: Richard Nelson (wabz)
Date: 2006-10-19 07:31
Logged In: YES
Even after the changes to the statusbox for b4, choosing a
per-protocol primitive status from the docklet didn't make
the statusbox reflect the change. This is because
gaim_account_set_status does not update a saved status, or
create a new one.
I considered making gaim_account_set_status do Something
Smart, but decided it's really impossible to find out what
whatever is calling it really wants - is it trying to set
all accounts to a primitive status? Does it want a new one?
I think whatever is calling it should be aware that it's not
going to change the default status, and the statusbox isn't
going to update.
So, I made the docklet do what the statusbox currently does,
which is to find or create an appropriate saved status, and
set that (and woah, the statusbox now updates correctly ;).
This involved moving a bunch of code around. I've tested it
with several protocol combinations, single protocol,
changing the status from <wherever>, it _appears_ to work