libpurple/protocols/msn/msn.c

changeset 21630
591a79c1b295
parent 21503
b3cad646ba4a
parent 21352
e10c4ea18f7c
child 21931
cead4fd74e6e
child 22069
841d24b3a2bc
child 23762
8bb3533742fd
--- a/libpurple/protocols/msn/msn.c	Fri Nov 16 03:39:04 2007 +0000
+++ b/libpurple/protocols/msn/msn.c	Sat Nov 17 00:12:30 2007 +0000
@@ -283,14 +283,14 @@
 
 	gc = (PurpleConnection *) action->context;
 
-	purple_request_input_with_hint(gc, NULL, _("Set your friendly name."),
+	purple_request_input(gc, NULL, _("Set your friendly name."),
 					   _("This is the name that other MSN buddies will "
 						 "see you as."),
 					   purple_connection_get_display_name(gc), FALSE, FALSE, NULL,
 					   _("OK"), G_CALLBACK(msn_act_id),
 					   _("Cancel"), NULL,
 					   purple_connection_get_account(gc), NULL, NULL,
-					   PURPLE_REQUEST_UI_HINT_ACCOUNT, gc);
+					   gc);
 }
 
 static void
@@ -302,12 +302,12 @@
 	gc = (PurpleConnection *) action->context;
 	session = gc->proto_data;
 
-	purple_request_input_with_hint(gc, NULL, _("Set your home phone number."), NULL,
+	purple_request_input(gc, NULL, _("Set your home phone number."), NULL,
 					   msn_user_get_home_phone(session->user), FALSE, FALSE, NULL,
 					   _("OK"), G_CALLBACK(msn_set_home_phone_cb),
 					   _("Cancel"), NULL,
 					   purple_connection_get_account(gc), NULL, NULL,
-					   PURPLE_REQUEST_UI_HINT_ACCOUNT, gc);
+					   gc);
 }
 
 static void
@@ -319,12 +319,12 @@
 	gc = (PurpleConnection *) action->context;
 	session = gc->proto_data;
 
-	purple_request_input_with_hint(gc, NULL, _("Set your work phone number."), NULL,
+	purple_request_input(gc, NULL, _("Set your work phone number."), NULL,
 					   msn_user_get_work_phone(session->user), FALSE, FALSE, NULL,
 					   _("OK"), G_CALLBACK(msn_set_work_phone_cb),
 					   _("Cancel"), NULL,
 					   purple_connection_get_account(gc), NULL, NULL,
-					   PURPLE_REQUEST_UI_HINT_ACCOUNT, gc);
+					   gc);
 }
 
 static void
@@ -336,12 +336,12 @@
 	gc = (PurpleConnection *) action->context;
 	session = gc->proto_data;
 
-	purple_request_input_with_hint(gc, NULL, _("Set your mobile phone number."), NULL,
+	purple_request_input(gc, NULL, _("Set your mobile phone number."), NULL,
 					   msn_user_get_mobile_phone(session->user), FALSE, FALSE, NULL,
 					   _("OK"), G_CALLBACK(msn_set_mobile_phone_cb),
 					   _("Cancel"), NULL,
 					   purple_connection_get_account(gc), NULL, NULL,
-					   PURPLE_REQUEST_UI_HINT_ACCOUNT, gc);
+					   gc);
 }
 
 static void
@@ -351,13 +351,13 @@
 
 	gc = (PurpleConnection *) action->context;
 
-	purple_request_action_with_hint(gc, NULL, _("Allow MSN Mobile pages?"),
+	purple_request_action(gc, NULL, _("Allow MSN Mobile pages?"),
 						_("Do you want to allow or disallow people on "
 						  "your buddy list to send you MSN Mobile pages "
 						  "to your cell phone or other mobile device?"),
 						-1,
 						purple_connection_get_account(gc), NULL, NULL,
-						PURPLE_REQUEST_UI_HINT_ACCOUNT, gc, 3,
+						gc, 3,
 						_("Allow"), G_CALLBACK(enable_msn_pages_cb),
 						_("Disallow"), G_CALLBACK(disable_msn_pages_cb),
 						_("Cancel"), NULL);
@@ -401,12 +401,12 @@
 	data->gc = gc;
 	data->passport = buddy->name;
 
-	purple_request_input_with_hint(gc, NULL, _("Send a mobile message."), NULL,
+	purple_request_input(gc, NULL, _("Send a mobile message."), NULL,
 					   NULL, TRUE, FALSE, NULL,
 					   _("Page"), G_CALLBACK(send_to_mobile_cb),
 					   _("Close"), G_CALLBACK(close_mobile_page_cb),
 					   purple_connection_get_account(gc), purple_buddy_get_name(buddy), NULL,
-					   PURPLE_REQUEST_UI_HINT_ACCOUNT, data);
+					   data);
 }
 
 static gboolean

mercurial