diff src/protocols/qq/qq.c @ 14014:9c5790820ac6

[gaim-migrate @ 16606] QQ no longer supports changing one's password through the client. Users must go to password.qq.com instead. I also squashed a compiler warning. committer: Tailor Script <tailor@pidgin.im>
author Mark Huetsch <markhuetsch>
date Tue, 01 Aug 2006 16:15:39 +0000
parents 16102b9c5c4a
children 9516a796ed5f
line wrap: on
line diff
--- a/src/protocols/qq/qq.c	Tue Aug 01 13:08:03 2006 +0000
+++ b/src/protocols/qq/qq.c	Tue Aug 01 16:15:39 2006 +0000
@@ -447,6 +447,12 @@
 	qq_prepare_modify_info(gc);
 }
 
+
+static void _qq_menu_change_password(GaimPluginAction * action)
+{
+	        gaim_notify_uri(NULL, "https://password.qq.com");
+}
+
 /* remove a buddy from my list and remove myself from his list */
 /* TODO: re-enable this
 static void _qq_menu_block_buddy(GaimBlistNode * node)
@@ -668,6 +674,9 @@
 	act = gaim_plugin_action_new(_("Modify My Information"), _qq_menu_modify_my_info);
 	m = g_list_append(m, act);
 
+	act = gaim_plugin_action_new(_("Change Password"), _qq_menu_change_password);
+	m = g_list_append(m, act);
+
 	act = gaim_plugin_action_new(_("Show Login Information"), _qq_menu_show_login_info);
 	m = g_list_append(m, act);