[gaim-migrate @ 15061]

Wed, 04 Jan 2006 18:44:56 +0000

author
Richard Laager <rlaager@pidgin.im>
date
Wed, 04 Jan 2006 18:44:56 +0000
changeset 12717
481cb96e3a36
parent 12716
d861e0fb6bbc
child 12718
34152a2d35fc

[gaim-migrate @ 15061]
In SF Patch #1396955, Thomas Huriaux pointed out that we have some confusion with the busy status in GG. I believe I broke this. It's fixed now. I also noticed that I hadn't made this Busy status a substatus of UNAVAILABLE, so that's done now too.

src/protocols/gg/gg.c file | annotate | diff | comparison | revisions
--- a/src/protocols/gg/gg.c	Wed Jan 04 17:36:42 2006 +0000
+++ b/src/protocols/gg/gg.c	Wed Jan 04 18:44:56 2006 +0000
@@ -896,7 +896,7 @@
 			break;
 		case GG_STATUS_BUSY:
 		case GG_STATUS_BUSY_DESCR:
-			st = "away";
+			st = "busy";
 			break;
 		case GG_STATUS_BLOCKED:
 			/* user is blocking us.... */
@@ -1441,7 +1441,7 @@
 	types = g_list_append(types, type);
 
 	type = gaim_status_type_new_with_attrs(
-			GAIM_STATUS_AWAY, "busy", _("Busy"), TRUE, TRUE, FALSE,
+			GAIM_STATUS_UNAVAILABLE, "busy", _("Busy"), TRUE, TRUE, FALSE,
 			"message", _("Message"), gaim_value_new(GAIM_TYPE_STRING),
 			NULL);
 	types = g_list_append(types, type);

mercurial