Mercurial > pidgin
changeset 22137:6dab6629497a
Improve oscar's default actions a tad bit
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 17 Jan 2008 07:26:57 +0000 |
parents | 9df0a8c7c9b7 |
children | 8515997d66e9 |
files | libpurple/protocols/oscar/oscar.c libpurple/protocols/oscar/peer.c |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/oscar/oscar.c Thu Jan 17 07:21:04 2008 +0000 +++ b/libpurple/protocols/oscar/oscar.c Thu Jan 17 07:26:57 2008 +0000 @@ -5227,7 +5227,7 @@ data->nick = (buddy ? g_strdup(purple_buddy_get_alias_only(buddy)) : NULL); purple_request_yes_no(gc, NULL, _("Authorization Given"), dialog_msg, - 1, /* Default action is "no" */ + PURPLE_DEFAULT_ACTION_NONE, purple_connection_get_account(gc), sn, NULL, data, G_CALLBACK(purple_icq_buddyadd), @@ -5983,7 +5983,7 @@ _("Because this reveals your IP address, it " "may be considered a security risk. Do you " "wish to continue?"), - 0, + 0, /* Default action is "connect" */ purple_connection_get_account(gc), data->who, NULL, data, 2, _("C_onnect"), G_CALLBACK(oscar_ask_directim_yes_cb),
--- a/libpurple/protocols/oscar/peer.c Thu Jan 17 07:21:04 2008 +0000 +++ b/libpurple/protocols/oscar/peer.c Thu Jan 17 07:26:57 2008 +0000 @@ -1041,7 +1041,7 @@ "Images. Because your IP address will be " "revealed, this may be considered a privacy " "risk."), - PURPLE_DEFAULT_ACTION_NONE, + 0, /* Default action is "connect" */ account, sn, NULL, conn, 2, _("C_onnect"), G_CALLBACK(peer_connection_got_proposition_yes_cb),