diff libpurple/protocols/qq/sys_msg.c @ 21230:75c97543b92a

Fix up some broken changes in the request API UI hint changes.
author Richard Laager <rlaager@wiktel.com>
date Sun, 14 Oct 2007 02:43:06 +0000
parents 285bb637a2b7
children 002c2495cae3 b9680933c2c6
line wrap: on
line diff
--- a/libpurple/protocols/qq/sys_msg.c	Sun Oct 14 02:41:00 2007 +0000
+++ b/libpurple/protocols/qq/sys_msg.c	Sun Oct 14 02:43:06 2007 +0000
@@ -83,7 +83,7 @@
 	qq_send_packet_get_info(gc, uid, TRUE);	/* we want to see window */
 
 	nombre = uid_to_purple_name(uid);
-	purple_request_action
+	purple_request_action_with_hint
 	    (gc, NULL, _("Do you want to approve the request?"), "", 2,
 		 purple_connection_get_account(gc), nombre, NULL,
 		 "chat", g, 2,
@@ -106,11 +106,11 @@
 
 	qq_send_packet_get_info(gc, uid, TRUE);	/* we want to see window */
 	nombre = uid_to_purple_name(uid);
-	purple_request_action
+	purple_request_action_with_hint
 	    (gc, NULL, _("Do you want to add this buddy?"), "", 2,
 		 purple_connection_get_account(gc), nombre, NULL,
 		 "buddy", g, 2,
-	     _("Cancel"), NULL,
+		 _("Cancel"), NULL,
 		 _("Add"), G_CALLBACK(qq_add_buddy_with_gc_and_uid));
 	g_free(nombre);
 }
@@ -239,7 +239,7 @@
 	reason = g_strdup_printf(_("Message: %s"), msg_utf8);
 	_qq_sys_msg_log_write(gc, message, from);
 
-	purple_request_action
+	purple_request_action_with_hint
 	    (gc, NULL, message, reason, 2,
 		purple_connection_get_account(gc), name, NULL,
 		 "buddy", g, 3,