Mercurial > pidgin.yaz
comparison src/protocols/gg/gg.c @ 2706:e841b14b5b89
[gaim-migrate @ 2719]
oh
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Sat, 10 Nov 2001 08:02:40 +0000 |
parents | 37d80035e77f |
children | a0fd8f91e294 |
comparison
equal
deleted
inserted
replaced
2705:5f431eefb0f2 | 2706:e841b14b5b89 |
---|---|
1 /* | 1 /* |
2 * gaim - Gadu-Gadu Protocol Plugin | 2 * gaim - Gadu-Gadu Protocol Plugin |
3 * $Id: gg.c 2694 2001-11-06 23:58:24Z warmenhoven $ | 3 * $Id: gg.c 2719 2001-11-10 08:02:40Z warmenhoven $ |
4 * | 4 * |
5 * Copyright (C) 2001, Arkadiusz Mi¶kiewicz <misiek@pld.ORG.PL> | 5 * Copyright (C) 2001, Arkadiusz Mi¶kiewicz <misiek@pld.ORG.PL> |
6 * | 6 * |
7 * This program is free software; you can redistribute it and/or modify | 7 * This program is free software; you can redistribute it and/or modify |
8 * it under the terms of the GNU General Public License as published by | 8 * it under the terms of the GNU General Public License as published by |
531 static void agg_login(struct aim_user *user) | 531 static void agg_login(struct aim_user *user) |
532 { | 532 { |
533 struct gaim_connection *gc = new_gaim_conn(user); | 533 struct gaim_connection *gc = new_gaim_conn(user); |
534 struct agg_data *gd = gc->proto_data = g_new0(struct agg_data, 1); | 534 struct agg_data *gd = gc->proto_data = g_new0(struct agg_data, 1); |
535 char buf[80]; | 535 char buf[80]; |
536 | |
537 gc->checkbox = _("Send as message"); | |
536 | 538 |
537 gd->sess = g_new0(struct gg_session, 1); | 539 gd->sess = g_new0(struct gg_session, 1); |
538 | 540 |
539 if (user->proto_opt[USEROPT_NICK][0]) | 541 if (user->proto_opt[USEROPT_NICK][0]) |
540 g_snprintf(gc->displayname, sizeof(gc->displayname), "%s", | 542 g_snprintf(gc->displayname, sizeof(gc->displayname), "%s", |
955 void gg_init(struct prpl *ret) | 957 void gg_init(struct prpl *ret) |
956 { | 958 { |
957 ret->protocol = PROTO_GADUGADU; | 959 ret->protocol = PROTO_GADUGADU; |
958 ret->options = 0; | 960 ret->options = 0; |
959 ret->name = agg_name; | 961 ret->name = agg_name; |
960 ret->checkbox = _("Send as message"); | |
961 ret->list_icon = agg_list_icon; | 962 ret->list_icon = agg_list_icon; |
962 ret->away_states = agg_away_states; | 963 ret->away_states = agg_away_states; |
963 ret->actions = agg_actions; | 964 ret->actions = agg_actions; |
964 ret->do_action = agg_do_action; | 965 ret->do_action = agg_do_action; |
965 ret->user_opts = agg_user_opts; | 966 ret->user_opts = agg_user_opts; |