changeset 3083:219dfcbd6737

[gaim-migrate @ 3097] It looks like Toc was updated for the "Mobile" status. Don't use toc. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Tue, 19 Mar 2002 16:09:41 +0000
parents 71c88f2343a6
children 2c526f9f0d11
files src/protocols/toc/toc.c
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/toc/toc.c	Tue Mar 19 07:15:43 2002 +0000
+++ b/src/protocols/toc/toc.c	Tue Mar 19 16:09:41 2002 +0000
@@ -47,6 +47,7 @@
 #include "pixmaps/away_icon.xpm"
 #include "pixmaps/dt_icon.xpm"
 #include "pixmaps/free_icon.xpm"
+#include "pixmaps/wireless_icon.xpm"
 
 #define REVISION "penguin"
 
@@ -83,6 +84,7 @@
 #define UC_ADMIN	0x04
 #define UC_UNCONFIRMED	0x08
 #define UC_NORMAL	0x10
+#define UC_WIRELESS     0x20
 
 struct ft_request {
 	struct gaim_connection *gc;
@@ -645,6 +647,9 @@
 		case 'O':
 			type |= UC_NORMAL;
 			break;
+		case 'C':
+			type |= UC_WIRELESS;
+			break;
 		default:
 			break;
 		}
@@ -1189,6 +1194,8 @@
 		return (char **)admin_icon_xpm;
 	if (uc & UC_UNCONFIRMED)
 		return (char **)dt_icon_xpm;
+	if (uc & UC_WIRELESS)
+		return (char **)wireless_icon_xpm;
 	return NULL;
 }