im.pidgin.pidgin: c5f0afa4059239bf55d344857ab508ceaad52000

markdoliner at pidgin.im markdoliner at pidgin.im
Thu Jan 17 02:41:05 EST 2008


-----------------------------------------------------------------
Revision: c5f0afa4059239bf55d344857ab508ceaad52000
Ancestor: 267fe0d0318481d2acaf3ba09d03fedb672d5315
Author: markdoliner at pidgin.im
Date: 2008-01-17T07:26:57
Branch: im.pidgin.pidgin

Modified files:
        libpurple/protocols/oscar/oscar.c
        libpurple/protocols/oscar/peer.c

ChangeLog: 

Improve oscar's default actions a tad bit

-------------- next part --------------
============================================================
--- libpurple/protocols/oscar/oscar.c	95cb580e515650ce7f56ab01b708d11bb279b2f4
+++ libpurple/protocols/oscar/oscar.c	3741f09e321af42c1be4c33211b796d5b4194f25
@@ -5227,7 +5227,7 @@ static int purple_ssi_authgiven(OscarDat
 	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 @@ oscar_ask_directim(gpointer object, gpoi
 			_("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),
============================================================
--- libpurple/protocols/oscar/peer.c	5dd67cbb8b447e750f6c5917cc584418fe53744a
+++ libpurple/protocols/oscar/peer.c	92d04a1c873ef5c63bc8e78eb98bb11849f03ca6
@@ -1041,7 +1041,7 @@ peer_connection_got_proposition(OscarDat
 						  "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),


More information about the Commits mailing list