[gaim-migrate @ 15062]

Wed, 04 Jan 2006 18:52:34 +0000

author
Richard Laager <rlaager@pidgin.im>
date
Wed, 04 Jan 2006 18:52:34 +0000
changeset 12718
34152a2d35fc
parent 12717
481cb96e3a36
child 12719
acf70b8c30b2

[gaim-migrate @ 15062]
On second thought, let's go with Thomas Huriaux's plan. Almost everything in the PRPL called that status 'away', and it makes more sense to have away and not busy than busy and not away.

src/protocols/gg/gg.c file | annotate | diff | comparison | revisions
--- a/src/protocols/gg/gg.c	Wed Jan 04 18:44:56 2006 +0000
+++ b/src/protocols/gg/gg.c	Wed Jan 04 18:52:34 2006 +0000
@@ -896,7 +896,7 @@
 			break;
 		case GG_STATUS_BUSY:
 		case GG_STATUS_BUSY_DESCR:
-			st = "busy";
+			st = "away";
 			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_UNAVAILABLE, "busy", _("Busy"), TRUE, TRUE, FALSE,
+			GAIM_STATUS_AWAY, NULL, NULL, TRUE, TRUE, FALSE,
 			"message", _("Message"), gaim_value_new(GAIM_TYPE_STRING),
 			NULL);
 	types = g_list_append(types, type);

mercurial