diff src/multi.c @ 3074:793fb2e9d53b

[gaim-migrate @ 3088] Less ambiguous error message when you get kicked offline. Thanks, JSeymour. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Sun, 17 Mar 2002 20:23:34 +0000
parents cbb8b9b4ca4a
children c0928d7fdcf9
line wrap: on
line diff
--- a/src/multi.c	Sun Mar 17 18:55:39 2002 +0000
+++ b/src/multi.c	Sun Mar 17 20:23:34 2002 +0000
@@ -1401,6 +1401,17 @@
 	hide_login_progress_common(gc, why, _("Notice"), gc->username);
 }
 
+/*
+ * Like hide_login_progress(), but for non-signon error messages.
+ *
+ */
+void hide_login_progress_error(struct gaim_connection *gc, char *why)
+{
+	char buf[2048];
+	g_snprintf(buf, sizeof(buf), _("%s has been signed off"), gc->username);
+	hide_login_progress_common(gc, why, _("Connection Error"), buf);
+}
+
 void signoff_all()
 {
 	GSList *c = connections;