Mercurial > pidgin
comparison src/protocols/toc/toc.c @ 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 | 793fb2e9d53b |
| children | dd78d89c910b |
comparison
equal
deleted
inserted
replaced
| 3082:71c88f2343a6 | 3083:219dfcbd6737 |
|---|---|
| 45 #include "pixmaps/admin_icon.xpm" | 45 #include "pixmaps/admin_icon.xpm" |
| 46 #include "pixmaps/aol_icon.xpm" | 46 #include "pixmaps/aol_icon.xpm" |
| 47 #include "pixmaps/away_icon.xpm" | 47 #include "pixmaps/away_icon.xpm" |
| 48 #include "pixmaps/dt_icon.xpm" | 48 #include "pixmaps/dt_icon.xpm" |
| 49 #include "pixmaps/free_icon.xpm" | 49 #include "pixmaps/free_icon.xpm" |
| 50 #include "pixmaps/wireless_icon.xpm" | |
| 50 | 51 |
| 51 #define REVISION "penguin" | 52 #define REVISION "penguin" |
| 52 | 53 |
| 53 #define TYPE_SIGNON 1 | 54 #define TYPE_SIGNON 1 |
| 54 #define TYPE_DATA 2 | 55 #define TYPE_DATA 2 |
| 81 | 82 |
| 82 #define UC_AOL 0x02 | 83 #define UC_AOL 0x02 |
| 83 #define UC_ADMIN 0x04 | 84 #define UC_ADMIN 0x04 |
| 84 #define UC_UNCONFIRMED 0x08 | 85 #define UC_UNCONFIRMED 0x08 |
| 85 #define UC_NORMAL 0x10 | 86 #define UC_NORMAL 0x10 |
| 87 #define UC_WIRELESS 0x20 | |
| 86 | 88 |
| 87 struct ft_request { | 89 struct ft_request { |
| 88 struct gaim_connection *gc; | 90 struct gaim_connection *gc; |
| 89 char *user; | 91 char *user; |
| 90 char UID[2048]; | 92 char UID[2048]; |
| 643 type |= UC_UNCONFIRMED; | 645 type |= UC_UNCONFIRMED; |
| 644 break; | 646 break; |
| 645 case 'O': | 647 case 'O': |
| 646 type |= UC_NORMAL; | 648 type |= UC_NORMAL; |
| 647 break; | 649 break; |
| 650 case 'C': | |
| 651 type |= UC_WIRELESS; | |
| 652 break; | |
| 648 default: | 653 default: |
| 649 break; | 654 break; |
| 650 } | 655 } |
| 651 if (uc[2] == 'U') | 656 if (uc[2] == 'U') |
| 652 type |= UC_UNAVAILABLE; | 657 type |= UC_UNAVAILABLE; |
| 1187 return (char **)free_icon_xpm; | 1192 return (char **)free_icon_xpm; |
| 1188 if (uc & UC_ADMIN) | 1193 if (uc & UC_ADMIN) |
| 1189 return (char **)admin_icon_xpm; | 1194 return (char **)admin_icon_xpm; |
| 1190 if (uc & UC_UNCONFIRMED) | 1195 if (uc & UC_UNCONFIRMED) |
| 1191 return (char **)dt_icon_xpm; | 1196 return (char **)dt_icon_xpm; |
| 1197 if (uc & UC_WIRELESS) | |
| 1198 return (char **)wireless_icon_xpm; | |
| 1192 return NULL; | 1199 return NULL; |
| 1193 } | 1200 } |
| 1194 | 1201 |
| 1195 static GList *toc_buddy_menu(struct gaim_connection *gc, char *who) | 1202 static GList *toc_buddy_menu(struct gaim_connection *gc, char *who) |
| 1196 { | 1203 { |
