comparison libpurple/protocols/oscar/peer.c @ 21099:51cf02dbdb0e

disapproval of revision 'c484d979c4fda4433a9633ff8b69bd8a395c9479'
author Richard Laager <rlaager@wiktel.com>
date Fri, 16 Nov 2007 23:30:03 +0000
parents cab348e39751
children fcb848b2d669
comparison
equal deleted inserted replaced
21095:cab348e39751 21099:51cf02dbdb0e
1031 if (args->type == OSCAR_CAPABILITY_DIRECTIM) 1031 if (args->type == OSCAR_CAPABILITY_DIRECTIM)
1032 { 1032 {
1033 buf = g_strdup_printf(_("%s has just asked to directly connect to %s"), 1033 buf = g_strdup_printf(_("%s has just asked to directly connect to %s"),
1034 sn, purple_account_get_username(account)); 1034 sn, purple_account_get_username(account));
1035 1035
1036 purple_request_action_with_hint(conn, NULL, buf, 1036 purple_request_action(conn, NULL, buf,
1037 _("This requires a direct connection between " 1037 _("This requires a direct connection between "
1038 "the two computers and is necessary for IM " 1038 "the two computers and is necessary for IM "
1039 "Images. Because your IP address will be " 1039 "Images. Because your IP address will be "
1040 "revealed, this may be considered a privacy " 1040 "revealed, this may be considered a privacy "
1041 "risk."), 1041 "risk."),
1042 PURPLE_DEFAULT_ACTION_NONE, 1042 PURPLE_DEFAULT_ACTION_NONE,
1043 account, sn, NULL, 1043 account, sn, NULL,
1044 "buddy", conn, 2, 1044 conn, 2,
1045 _("C_onnect"), G_CALLBACK(peer_connection_got_proposition_yes_cb), 1045 _("C_onnect"), G_CALLBACK(peer_connection_got_proposition_yes_cb),
1046 _("Cancel"), G_CALLBACK(peer_connection_got_proposition_no_cb)); 1046 _("Cancel"), G_CALLBACK(peer_connection_got_proposition_no_cb));
1047 } 1047 }
1048 else if (args->type == OSCAR_CAPABILITY_SENDFILE) 1048 else if (args->type == OSCAR_CAPABILITY_SENDFILE)
1049 { 1049 {