Mercurial > pidgin
diff src/protocols/icq/gaim_icq.c @ 2501:227cc42ffa6e
[gaim-migrate @ 2514]
i should have hidden something ultra-secret in this.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Sun, 14 Oct 2001 11:36:36 +0000 |
parents | 569ae9f2bb89 |
children | 3ec36a342496 |
line wrap: on
line diff
--- a/src/protocols/icq/gaim_icq.c Sun Oct 14 05:52:36 2001 +0000 +++ b/src/protocols/icq/gaim_icq.c Sun Oct 14 11:36:36 2001 +0000 @@ -133,7 +133,7 @@ char buf[256]; g_snprintf(buf, sizeof buf, "%lu", uin); - status = (st == STATUS_ONLINE) ? UC_NORMAL : UC_UNAVAILABLE | (st << 5); + status = (st == STATUS_ONLINE) ? 0 : UC_UNAVAILABLE | (st << 1); serv_got_update(gc, buf, 1, 0, 0, 0, status, 0); } @@ -149,7 +149,7 @@ char buf[256]; g_snprintf(buf, sizeof buf, "%lu", uin); - status = (st == STATUS_ONLINE) ? UC_NORMAL : UC_UNAVAILABLE | (st << 5); + status = (st == STATUS_ONLINE) ? 0 : UC_UNAVAILABLE | (st << 1); serv_got_update(gc, buf, 1, 0, 0, 0, status, 0); } @@ -400,9 +400,9 @@ static char **icq_list_icon(int uc) { guint status; - if (uc == UC_NORMAL) + if (uc == 0) return icon_online_xpm; - status = uc >> 5; + status = uc >> 1; if (status & STATUS_NA) return icon_na_xpm; if (status & STATUS_DND) @@ -453,7 +453,7 @@ return m; } -static GList *icq_away_states() { +static GList *icq_away_states(struct gaim_connection *gc) { GList *m = NULL; m = g_list_append(m, "Online");