[gaim-migrate @ 7589]

Mon, 29 Sep 2003 21:35:34 +0000

author
Mark Doliner <markdoliner@pidgin.im>
date
Mon, 29 Sep 2003 21:35:34 +0000
changeset 7026
7828abff32da
parent 7025
350e767230a9
child 7027
90cb7740b26f

[gaim-migrate @ 7589]
And this should make Andrew happy.

src/protocols/oscar/oscar.c file | annotate | diff | comparison | revisions
--- 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);

mercurial