diff src/prpl.c @ 5436:ad445074d239

[gaim-migrate @ 5818] Another big commit. Ugh. I need a very smart regexp. Core/UI split do_error_dialog(), and soon the mail dialogs! Yay! This should work without problems at all, but standard disclaimer.. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sun, 18 May 2003 19:59:02 +0000
parents 1f901484599d
children 3e8487580024
line wrap: on
line diff
--- a/src/prpl.c	Sun May 18 19:13:21 2003 +0000
+++ b/src/prpl.c	Sun May 18 19:59:02 2003 +0000
@@ -23,6 +23,7 @@
 #include "gtkutils.h"
 #include "gtkblist.h"
 #include "prpl.h"
+#include "notify.h"
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <unistd.h>
@@ -700,10 +701,13 @@
 		   msg ? ": " : ".",
 		   msg ? msg : "",
 		   b ? "" : _("\n\nDo you wish to add him or her to your buddy list?"));
-	if (b)
-		do_error_dialog(_("Gaim - Information"), buf, GAIM_INFO);
+
+	if (b) {
+		gaim_notify_info(NULL, NULL, _("Gaim - Information"), buf);
+	}
 	else
-		do_ask_dialog(_("Gaim - Confirm"), buf, ga, _("Add"), do_add, _("Cancel"), dont_add, NULL, FALSE);
+		do_ask_dialog(_("Gaim - Confirm"), buf, ga,
+					  _("Add"), do_add, _("Cancel"), dont_add, NULL, FALSE);
 }
 
 static GtkWidget *regdlg = NULL;