comparison src/protocols/irc/irc.c @ 8351:ffa642240fc1

[gaim-migrate @ 9075] marv is incredibly patient, waiting a long time for this to go in you should all be using Jabber for file transfer anyway, but if you're still stuck in the stone age, now you can transfer files via IRC committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Fri, 27 Feb 2004 01:45:26 +0000
parents ef881489396e
children 77baefe979c6
comparison
equal deleted inserted replaced
8350:0018b8118e77 8351:ffa642240fc1
1 /** 1 /**
2 * @file irc.c 2 * @file irc.c
3 * 3 *
4 * gaim 4 * gaim
5 * 5 *
6 * Copyright (C) 2003, Robbert Haarman <gaim@inglorion.net>
6 * Copyright (C) 2003, Ethan Blanton <eblanton@cs.purdue.edu> 7 * Copyright (C) 2003, Ethan Blanton <eblanton@cs.purdue.edu>
7 * Copyright (C) 2000-2003, Rob Flynn <rob@tgflinux.com> 8 * Copyright (C) 2000-2003, Rob Flynn <rob@tgflinux.com>
8 * Copyright (C) 1998-1999, Mark Spencer <markster@marko.net> 9 * Copyright (C) 1998-1999, Mark Spencer <markster@marko.net>
9 * 10 *
10 * This program is free software; you can redistribute it and/or modify 11 * This program is free software; you can redistribute it and/or modify
144 return list; 145 return list;
145 } 146 }
146 147
147 static GList *irc_buddy_menu(GaimConnection *gc, const char *who) 148 static GList *irc_buddy_menu(GaimConnection *gc, const char *who)
148 { 149 {
149 return NULL; 150 GList *m = NULL;
151 struct proto_buddy_menu *pbm;
152
153 pbm = g_new0(struct proto_buddy_menu, 1);
154 pbm->label = _("Send File");
155 pbm->callback = irc_dccsend_send_ask;
156 pbm->gc = gc;
157 m = g_list_append(m, pbm);
158
159 return m;
150 } 160 }
151 161
152 static GList *irc_chat_join_info(GaimConnection *gc) 162 static GList *irc_chat_join_info(GaimConnection *gc)
153 { 163 {
154 GList *m = NULL; 164 GList *m = NULL;