comparison libpurple/protocols/msn/msn.c @ 17105:3aee35e0ecd8

Fix MSN "Open Hotmail Inbox" for non-hotmail.com accounts (eg. hotmail.co.uk) Also a tweak from gmiedema in ticket 934 to the html we use to open the inbox to possibly make opening Hotmail work better for IE users on XP SP2. Fixes #1047 References #934
author Stu Tomlinson <stu@nosnilmot.com>
date Thu, 17 May 2007 13:45:18 +0000
parents cb4380df3005
children 0c7d4f561b04
comparison
equal deleted inserted replaced
17104:7cdc1d7fad55 17105:3aee35e0ecd8
617 m = g_list_append(m, act); 617 m = g_list_append(m, act);
618 618
619 account = purple_connection_get_account(gc); 619 account = purple_connection_get_account(gc);
620 user = msn_normalize(account, purple_account_get_username(account)); 620 user = msn_normalize(account, purple_account_get_username(account));
621 621
622 if (strstr(user, "@hotmail.com") != NULL) 622 if (strstr(user, "@hotmail.") != NULL)
623 { 623 {
624 m = g_list_append(m, NULL); 624 m = g_list_append(m, NULL);
625 act = purple_plugin_action_new(_("Open Hotmail Inbox"), 625 act = purple_plugin_action_new(_("Open Hotmail Inbox"),
626 msn_show_hotmail_inbox); 626 msn_show_hotmail_inbox);
627 m = g_list_append(m, act); 627 m = g_list_append(m, act);