diff src/dialogs.c @ 2334:b53cd5b63a99

[gaim-migrate @ 2347] i feel like everyone's watching me committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 21 Sep 2001 00:14:12 +0000
parents a2da18405b64
children 19ea44f74a88
line wrap: on
line diff
--- a/src/dialogs.c	Thu Sep 20 21:44:52 2001 +0000
+++ b/src/dialogs.c	Fri Sep 21 00:14:12 2001 +0000
@@ -454,107 +454,6 @@
 
 
 
-void show_error_dialog(char *d)
-{
-
-	int no = atoi(d);
-	char *w;
-	char buf[256];
-	char buf2[32];
-
-	plugin_event(event_error, (void *)no, 0, 0, 0);
-
-	w = strtok(NULL, ":");
- 	
-	
-        switch(no) {
-        case 69:
-                g_snprintf(buf, sizeof(buf), _("Unable to write file %s."), w);
-                break;
-        case 169:
-                g_snprintf(buf, sizeof(buf), _("Unable to read file %s."), w);
-                break;
-        case 269:
-                g_snprintf(buf, sizeof(buf), _("Message too long, last %s bytes truncated."), w);
-                break;
-        case 901:
-                g_snprintf(buf, sizeof(buf), _("%s not currently logged in."), w);
-                break;
-        case 902:
-                g_snprintf(buf, sizeof(buf), _("Warning of %s not allowed."), w);
-                break;
-        case 903:
-                g_snprintf(buf, sizeof(buf), _("A message has been dropped, you are exceeding the server speed limit."));
-                break;
-        case 950:
-                g_snprintf(buf, sizeof(buf), _("Chat in %s is not available."), w);
-                break;
-        case 960:
-                g_snprintf(buf, sizeof(buf), _("You are sending messages too fast to %s."), w);
-                break;
-        case 961:
-                g_snprintf(buf, sizeof(buf), _("You missed an IM from %s because it was too big."), w);
-                break;
-        case 962:
-                g_snprintf(buf, sizeof(buf), _("You missed an IM from %s because it was sent too fast."), w);
-                break;
-        case 970:
-                g_snprintf(buf, sizeof(buf), _("Failure."));
-                break;
-        case 971:
-                g_snprintf(buf, sizeof(buf), _("Too many matches."));
-                break;
-        case 972:
-                g_snprintf(buf, sizeof(buf), _("Need more qualifiers."));
-                break;
-        case 973:
-                g_snprintf(buf, sizeof(buf), _("Dir service temporarily unavailable."));
-                break;
-        case 974:
-                g_snprintf(buf, sizeof(buf), _("Email lookup restricted."));
-                break;
-        case 975:
-                g_snprintf(buf, sizeof(buf), _("Keyword ignored."));
-                break;
-        case 976:
-                g_snprintf(buf, sizeof(buf), _("No keywords."));
-                break;
-        case 977:
-                g_snprintf(buf, sizeof(buf), _("User has no directory information."));
-                /* g_snprintf(buf, sizeof(buf), "Language not supported."); */
-                break;
-        case 978:
-                g_snprintf(buf, sizeof(buf), _("Country not supported."));
-                break;
-        case 979:
-                g_snprintf(buf, sizeof(buf), _("Failure unknown: %s."), w);
-                break;
-        case 980:
-                g_snprintf(buf, sizeof(buf), _("Incorrect nickname or password."));
-                break;
-        case 981:
-                g_snprintf(buf, sizeof(buf), _("The service is temporarily unavailable."));
-                break;
-        case 982:
-                g_snprintf(buf, sizeof(buf), _("Your warning level is currently too high to log in."));
-                break;
-        case 983:
-                g_snprintf(buf, sizeof(buf), _("You have been connecting and disconnecting too frequently.  Wait ten minutes and try again.  If you continue to try, you will need to wait even longer."));
-                break;
-        case 989:
-                g_snprintf(buf, sizeof(buf), _("An unknown signon error has occurred: %s."), w);
-                break;
-        default:
-                g_snprintf(buf, sizeof(buf), _("An unknown error, %d, has occured.  Info: %s"), no, w);
-	}
-	
-	g_snprintf(buf2, sizeof(buf2), _("Gaim - Error %d"), no);
-
-
-        do_error_dialog(buf, buf2);
-        return;
-}
-
 static void do_im(GtkWidget *widget, GtkWidget *imentry)
 {
 	char *who;