Mercurial > pidgin
diff src/protocols/yahoo/yahoo.c @ 9466:d27156c9c876
[gaim-migrate @ 10291]
(21:36:44) datallah: anyway... i added "Send File" to the prpl core
committer: Tailor Script <tailor@pidgin.im>
| author | Luke Schierer <lschiere@pidgin.im> |
|---|---|
| date | Wed, 07 Jul 2004 01:49:39 +0000 |
| parents | 73ef7b884e02 |
| children | 7a65fdba750f |
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoo.c Wed Jul 07 01:35:27 2004 +0000 +++ b/src/protocols/yahoo/yahoo.c Wed Jul 07 01:49:39 2004 +0000 @@ -2666,20 +2666,6 @@ } -static void yahoo_ask_send_file_menu(GaimBlistNode *node, gpointer data) -{ - GaimBuddy *buddy; - GaimConnection *gc; - - g_return_if_fail(GAIM_BLIST_NODE_IS_BUDDY(node)); - - buddy = (GaimBuddy *) node; - gc = gaim_account_get_connection(buddy->account); - - yahoo_ask_send_file(gc, buddy->name); -} - - static GList *yahoo_buddy_menu(GaimBuddy *buddy) { GList *m = NULL; @@ -2713,11 +2699,6 @@ yahoo_initiate_conference, NULL); m = g_list_append(m, act); - /* FIXME: remove this when the ui does it for us. */ - act = gaim_blist_node_action_new(_("Send File"), - yahoo_ask_send_file_menu, NULL); - m = g_list_append(m, act); - if (yahoo_friend_get_game(f)) { const char *game = yahoo_friend_get_game(f); char *room; @@ -3232,13 +3213,6 @@ g_free(gpo); } -#if 0 -static gboolean yahoo_has_send_file(GaimConnection *gc, const char *who) -{ - return TRUE; -} -#endif - static GaimPlugin *my_protocol = NULL; static GaimPluginProtocolInfo prpl_info = @@ -3293,16 +3267,13 @@ yahoo_set_buddy_icon, NULL, /* void (*remove_group)(GaimConnection *gc, const char *group);*/ NULL, /* char *(*get_cb_real_name)(GaimConnection *gc, int id, const char *who); */ -#if 0 - yahoo_ask_send_file, - yahoo_send_file, - yahoo_has_send_file, -#endif NULL, NULL, yahoo_roomlist_get_list, yahoo_roomlist_cancel, - yahoo_roomlist_expand_category + yahoo_roomlist_expand_category, + NULL, + yahoo_send_file }; static GaimPluginInfo info =
