pidgin: 5bf6b899: Added account option for oscar accounts ...
evands at pidgin.im
evands at pidgin.im
Sat Jun 7 14:45:58 EDT 2008
-----------------------------------------------------------------
Revision: 5bf6b899439a3fed0cd0b638d9afc41fc67e0675
Ancestor: 7336d0ba37008b29f80397209f6bdc4420772b13
Author: evands at pidgin.im
Date: 2008-06-07T18:42:12
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/5bf6b899439a3fed0cd0b638d9afc41fc67e0675
Modified files:
libpurple/protocols/oscar/oscar.c
ChangeLog:
Added account option for oscar accounts to allow multipe simultaneous logins,
which defaults to TRUE, our previous behavior.
-------------- next part --------------
============================================================
--- libpurple/protocols/oscar/oscar.c f19e6dde8c09025bf1785f502b7cec17a88e0d31
+++ libpurple/protocols/oscar/oscar.c 716240f987affc5a828d3cb735c8a3a522a03454
@@ -1812,7 +1812,7 @@ purple_parse_login(OscarData *od, FlapCo
aim_send_login(od, conn, purple_account_get_username(account),
purple_connection_get_password(gc), truncate_pass,
od->icq ? &icqinfo : &aiminfo, key,
- /* allow multple logins? */ OSCAR_DEFAULT_ALLOW_MULTIPLE_LOGINS);
+ /* allow multple logins? */ purple_account_get_bool(account, "allow_multiple_logins", OSCAR_DEFAULT_ALLOW_MULTIPLE_LOGINS));
purple_connection_update_progress(gc, _("Password sent"), 2, OSCAR_CONNECT_STEPS);
ck[2] = 0x6c;
@@ -6769,6 +6769,10 @@ void oscar_init(PurplePluginProtocolInfo
OSCAR_DEFAULT_ALWAYS_USE_RV_PROXY);
prpl_info->protocol_options = g_list_append(prpl_info->protocol_options, option);
+ option = purple_account_option_bool_new(_("Allow multiple simultaneous logins"), "allow_multiple_logins",
+ OSCAR_DEFAULT_ALLOW_MULTIPLE_LOGINS);
+ prpl_info->protocol_options = g_list_append(prpl_info->protocol_options, option);
+
if (init)
return;
init = TRUE;
More information about the Commits
mailing list