comparison src/status.c @ 10760:f93ed7f6ecc7

[gaim-migrate @ 12363] Changing your away message by just typing new text into the GtkStatusBox works again. I broke that earlier today when I fix a small bit of the which-status-is-the-active-status-in-this-presence thing. I also removed the log in or out in account.c depending on the status that was set. This was already handled by most of the PRPLs, and I feel that's the best way to do it. There was some talk of removing the login and close PRPL callbacks, and I'm not entirely against that, but things are starting to get pretty good. I don't see a need to change that right now. Also, I'm going to add a link to my (Mark Doliner) blog, for google, I guess: http://www.livejournal.com/users/thekingant/ committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Mon, 28 Mar 2005 04:26:33 +0000
parents 8a97b59f0071
children d01d81de94d8
comparison
equal deleted inserted replaced
10759:56915e1b3ba3 10760:f93ed7f6ecc7
720 * active status to "inactive." 720 * active status to "inactive."
721 */ 721 */
722 if (gaim_status_is_exclusive(status)) 722 if (gaim_status_is_exclusive(status))
723 { 723 {
724 old_status = gaim_presence_get_active_status(presence); 724 old_status = gaim_presence_get_active_status(presence);
725 if (old_status != NULL) 725 if (old_status != NULL && (old_status != status))
726 old_status->active = FALSE; 726 old_status->active = FALSE;
727 presence->active_status = status; 727 presence->active_status = status;
728 } 728 }
729 else 729 else
730 old_status = NULL; 730 old_status = NULL;