changeset 20437:8e722e947e00

Patch from Pse to use the same status primitives as im.pidgin.pidgin for "Busy" and "On the Phone". Fixes #1270
author Stu Tomlinson <stu@nosnilmot.com>
date Sat, 26 May 2007 18:09:07 +0000
parents ad481ea028be
children 0d67ac110e2b
files libpurple/protocols/msn/msn.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/msn.c	Sat May 26 17:14:25 2007 +0000
+++ b/libpurple/protocols/msn/msn.c	Sat May 26 18:09:07 2007 +0000
@@ -640,13 +640,13 @@
 	types = g_list_append(types, status);
 
 	status = purple_status_type_new_with_attrs(
-			PURPLE_STATUS_AWAY, "busy", _("Busy"), TRUE, TRUE, FALSE,
+			PURPLE_STATUS_UNAVAILABLE, "busy", _("Busy"), TRUE, TRUE, FALSE,
 			"message", _("Message"), purple_value_new(PURPLE_TYPE_STRING),
 			"currentmedia", _("Current media"), purple_value_new(PURPLE_TYPE_STRING),
 			NULL);
 	types = g_list_append(types, status);
 	status = purple_status_type_new_with_attrs(
-			PURPLE_STATUS_AWAY, "phone", _("On the Phone"), TRUE, TRUE, FALSE,
+			PURPLE_STATUS_UNAVAILABLE, "phone", _("On the Phone"), TRUE, TRUE, FALSE,
 			"message", _("Message"), purple_value_new(PURPLE_TYPE_STRING),
 			"currentmedia", _("Current media"), purple_value_new(PURPLE_TYPE_STRING),
 			NULL);