Mercurial > pidgin
comparison src/protocols/msn/msn.c @ 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 | d71c23e4d1c2 |
children | 92a763567ddc |
comparison
equal
deleted
inserted
replaced
3174:e75b4df7a770 | 3175:1c351bbdebf0 |
---|---|
11 #include "proxy.h" | 11 #include "proxy.h" |
12 #include "md5.h" | 12 #include "md5.h" |
13 | 13 |
14 #include "pixmaps/msn_online.xpm" | 14 #include "pixmaps/msn_online.xpm" |
15 #include "pixmaps/msn_away.xpm" | 15 #include "pixmaps/msn_away.xpm" |
16 #include "pixmaps/msn_occ.xpm" | |
16 | 17 |
17 /* MSN Smiley Faces */ | 18 /* MSN Smiley Faces */ |
18 #include "pixmaps/protocols/msn/msn_angry.xpm" | 19 #include "pixmaps/protocols/msn/msn_angry.xpm" |
19 #include "pixmaps/protocols/msn/msn_bat.xpm" | 20 #include "pixmaps/protocols/msn/msn_bat.xpm" |
20 #include "pixmaps/protocols/msn/msn_beer.xpm" | 21 #include "pixmaps/protocols/msn/msn_beer.xpm" |
1890 | 1891 |
1891 static char **msn_list_icon(int uc) | 1892 static char **msn_list_icon(int uc) |
1892 { | 1893 { |
1893 if (uc == 0) | 1894 if (uc == 0) |
1894 return msn_online_xpm; | 1895 return msn_online_xpm; |
1895 | 1896 |
1897 uc >>= 1; | |
1898 | |
1899 if (uc == 2 || uc == 6) | |
1900 return msn_occ_xpm; | |
1901 | |
1896 return msn_away_xpm; | 1902 return msn_away_xpm; |
1897 } | 1903 } |
1898 | 1904 |
1899 static char *msn_get_away_text(int s) | 1905 static char *msn_get_away_text(int s) |
1900 { | 1906 { |