changeset 3175:1c351bbdebf0

[gaim-migrate @ 3191] thanks, plutonski committer: Tailor Script <tailor@pidgin.im>
author Rob Flynn <gaim@robflynn.com>
date Fri, 26 Apr 2002 01:33:35 +0000
parents e75b4df7a770
children cbf2c8d259f2
files pixmaps/Makefile.am src/protocols/msn/msn.c
diffstat 2 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pixmaps/Makefile.am	Fri Apr 26 00:59:30 2002 +0000
+++ b/pixmaps/Makefile.am	Fri Apr 26 01:33:35 2002 +0000
@@ -73,6 +73,7 @@
 		mrt.xpm				\
 		msgpend.png			\
 		msn_away.xpm			\
+		msn_occ.xpm			\
 		msn_online.xpm			\
 		napster.xpm			\
 		no_icon.xpm			\
--- a/src/protocols/msn/msn.c	Fri Apr 26 00:59:30 2002 +0000
+++ b/src/protocols/msn/msn.c	Fri Apr 26 01:33:35 2002 +0000
@@ -13,6 +13,7 @@
 
 #include "pixmaps/msn_online.xpm"
 #include "pixmaps/msn_away.xpm"
+#include "pixmaps/msn_occ.xpm"
 
 /* MSN Smiley Faces */
 #include "pixmaps/protocols/msn/msn_angry.xpm"
@@ -1892,7 +1893,12 @@
 {
 	if (uc == 0)
 		return msn_online_xpm;
-
+	
+	uc >>= 1;
+	
+	if (uc == 2 || uc == 6)
+		return msn_occ_xpm;
+	
 	return msn_away_xpm;
 }