comparison src/protocols/oscar/oscar.c @ 10240:95ca0db2d01d

[gaim-migrate @ 11377] Removing trust parameter for gaim_notify_uri (see gaim-devel over past few days). Removed URI scheme filtering for win32. Instead we'll allow what ever the default http browser allows. committer: Tailor Script <tailor@pidgin.im>
author Herman Bloggs <hermanator12002@yahoo.com>
date Mon, 22 Nov 2004 22:13:12 +0000
parents 9e0b98c458b1
children a66cf83552dc
comparison
equal deleted inserted replaced
10239:d0558652e0c4 10240:95ca0db2d01d
7192 } 7192 }
7193 7193
7194 static void oscar_show_set_info_icqurl(GaimPluginAction *action) 7194 static void oscar_show_set_info_icqurl(GaimPluginAction *action)
7195 { 7195 {
7196 GaimConnection *gc = (GaimConnection *) action->context; 7196 GaimConnection *gc = (GaimConnection *) action->context;
7197 gaim_notify_uri(gc, "http://www.icq.com/whitepages/user_details.php", TRUE); 7197 gaim_notify_uri(gc, "http://www.icq.com/whitepages/user_details.php");
7198 } 7198 }
7199 7199
7200 static void oscar_change_pass(GaimPluginAction *action) 7200 static void oscar_change_pass(GaimPluginAction *action)
7201 { 7201 {
7202 GaimConnection *gc = (GaimConnection *) action->context; 7202 GaimConnection *gc = (GaimConnection *) action->context;
7206 static void oscar_show_chpassurl(GaimPluginAction *action) 7206 static void oscar_show_chpassurl(GaimPluginAction *action)
7207 { 7207 {
7208 GaimConnection *gc = (GaimConnection *) action->context; 7208 GaimConnection *gc = (GaimConnection *) action->context;
7209 OscarData *od = gc->proto_data; 7209 OscarData *od = gc->proto_data;
7210 gchar *substituted = gaim_strreplace(od->sess->authinfo->chpassurl, "%s", gaim_account_get_username(gaim_connection_get_account(gc))); 7210 gchar *substituted = gaim_strreplace(od->sess->authinfo->chpassurl, "%s", gaim_account_get_username(gaim_connection_get_account(gc)));
7211 gaim_notify_uri(gc, substituted, TRUE); 7211 gaim_notify_uri(gc, substituted);
7212 g_free(substituted); 7212 g_free(substituted);
7213 } 7213 }
7214 7214
7215 static void oscar_show_imforwardingurl(GaimPluginAction *action) 7215 static void oscar_show_imforwardingurl(GaimPluginAction *action)
7216 { 7216 {
7217 GaimConnection *gc = (GaimConnection *) action->context; 7217 GaimConnection *gc = (GaimConnection *) action->context;
7218 gaim_notify_uri(gc, "http://mymobile.aol.com/dbreg/register?action=imf&clientID=1", TRUE); 7218 gaim_notify_uri(gc, "http://mymobile.aol.com/dbreg/register?action=imf&clientID=1");
7219 } 7219 }
7220 7220
7221 static void oscar_set_icon(GaimConnection *gc, const char *iconfile) 7221 static void oscar_set_icon(GaimConnection *gc, const char *iconfile)
7222 { 7222 {
7223 OscarData *od = gc->proto_data; 7223 OscarData *od = gc->proto_data;