changeset 13830:0a1132e6eac4

[gaim-migrate @ 16279] SF Patch #1508370 from Sadrul "I had overlooked the changes that were necessary to behave properly when Escape is pressed in the per-account status selectors. This patch amends that." committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Mon, 19 Jun 2006 04:48:50 +0000
parents b6967e51f6c4
children 3c6d0c24179a
files src/gtkstatusbox.c
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkstatusbox.c	Sun Jun 18 02:03:08 2006 +0000
+++ b/src/gtkstatusbox.c	Mon Jun 19 04:48:50 2006 +0000
@@ -744,7 +744,11 @@
 	{
 		g_source_remove(status_box->typing);
 		status_box->typing = 0;
-		status_menu_refresh_iter(status_box);
+		if (status_box->account != NULL)
+			update_to_reflect_account_status(status_box, status_box->account,
+							gaim_account_get_active_status(status_box->account));
+		else
+			status_menu_refresh_iter(status_box);
 		return TRUE;
 	}