Mercurial > pidgin
comparison src/protocols/oscar/oscar.c @ 4356:6d277ffb6daa
[gaim-migrate @ 4622]
Gaim has improved A LOT since 0.59.
"The first step in a successful revolution is destroying all competing
revolutionaries."
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 20 Jan 2003 05:32:50 +0000 |
parents | 33e5c088346b |
children | 2b8abf7f9cc1 |
comparison
equal
deleted
inserted
replaced
4355:33e5c088346b | 4356:6d277ffb6daa |
---|---|
5069 pbm->label = _("Get Status Msg"); | 5069 pbm->label = _("Get Status Msg"); |
5070 pbm->callback = oscar_get_away_msg; | 5070 pbm->callback = oscar_get_away_msg; |
5071 pbm->gc = gc; | 5071 pbm->gc = gc; |
5072 m = g_list_append(m, pbm); | 5072 m = g_list_append(m, pbm); |
5073 } else { | 5073 } else { |
5074 pbm = g_new0(struct proto_buddy_menu, 1); | 5074 struct buddy *b = find_buddy(gc->user, who); |
5075 pbm->label = _("Get Away Msg"); | 5075 |
5076 pbm->callback = oscar_get_away_msg; | 5076 if (!b || (b->uc & UC_UNAVAILABLE)) { |
5077 pbm->gc = gc; | 5077 pbm = g_new0(struct proto_buddy_menu, 1); |
5078 m = g_list_append(m, pbm); | 5078 pbm->label = _("Get Away Msg"); |
5079 pbm->callback = oscar_get_away_msg; | |
5080 pbm->gc = gc; | |
5081 m = g_list_append(m, pbm); | |
5082 } | |
5079 | 5083 |
5080 if (aim_sncmp(gc->username, who)) { | 5084 if (aim_sncmp(gc->username, who)) { |
5081 pbm = g_new0(struct proto_buddy_menu, 1); | 5085 pbm = g_new0(struct proto_buddy_menu, 1); |
5082 pbm->label = _("Direct IM"); | 5086 pbm->label = _("Direct IM"); |
5083 pbm->callback = oscar_ask_direct_im; | 5087 pbm->callback = oscar_ask_direct_im; |