changeset 7026:53a586c3a80e

[gaim-migrate @ 7589] And this should make Andrew happy. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Mon, 29 Sep 2003 21:35:34 +0000
parents db041f206848
children 47cedda1518d
files src/protocols/oscar/oscar.c
diffstat 1 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c	Mon Sep 29 21:20:20 2003 +0000
+++ b/src/protocols/oscar/oscar.c	Mon Sep 29 21:35:34 2003 +0000
@@ -6261,6 +6261,11 @@
 	g_free(substituted);
 }
 
+static void oscar_show_imforwardingurl(GaimConnection *gc)
+{
+	gaim_notify_uri(gc, "http://mymobile.aol.com/dbreg/register?action=imf&clientID=1");
+}
+
 static void oscar_set_icon(GaimConnection *gc, const char *iconfile)
 {
 	struct oscar_data *od = gc->proto_data;
@@ -6328,6 +6333,14 @@
 		m = g_list_append(m, pam);
 	}
 
+	if (od->sess->authinfo->chpassurl) {
+		pam = g_new0(struct proto_actions_menu, 1);
+		pam->label = _("Configure IM Forwarding (URL)");
+		pam->callback = oscar_show_imforwardingurl;
+		pam->gc = gc;
+		m = g_list_append(m, pam);
+	}
+
 	if (!od->icq) {
 		/* AIM actions */
 		m = g_list_append(m, NULL);