comparison src/multi.c @ 3427:8fa61405af2b

[gaim-migrate @ 3453] Who never commits anything *now*, Etan? I changed most of the error message text around. If you think any of it should be different, just let me know, or send a patch. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Sun, 25 Aug 2002 10:51:24 +0000
parents 412d1035d666
children 66b1ad9782a9
comparison
equal deleted inserted replaced
3426:ccbcc11a68c2 3427:8fa61405af2b
943 } else if (u->gc) { 943 } else if (u->gc) {
944 u->gc->wants_to_die = TRUE; 944 u->gc->wants_to_die = TRUE;
945 signoff(u->gc); 945 signoff(u->gc);
946 } else { 946 } else {
947 if (u->protocol == PROTO_TOC) 947 if (u->protocol == PROTO_TOC)
948 do_error_dialog(_("You have attempted to login an IM account using the " 948 do_error_dialog(_("TOC not found."),
949 _("You have attempted to login an IM account using the "
949 "TOC protocol. Because this protocol is inferior to " 950 "TOC protocol. Because this protocol is inferior to "
950 "OSCAR, it is now compiled as a plugin by default. " 951 "OSCAR, it is now compiled as a plugin by default. "
951 "To login, edit this account to use OSCAR or load the " 952 "To login, edit this account to use OSCAR or load the "
952 "TOC plugin."), _("Login Error")); 953 "TOC plugin."), GAIM_ERROR);
953 else 954 else
954 do_error_dialog(_("You cannot log this account in; you do not have " 955 do_error_dialog(_("Protocol not found."),
956 _("You cannot log this account in; you do not have "
955 "the protocol it uses loaded, or the protocol does " 957 "the protocol it uses loaded, or the protocol does "
956 "not have a login function."), _("Login Error")); 958 "not have a login function."), GAIM_ERROR);
957 } 959 }
958 l = l->next; 960 l = l->next;
959 } 961 }
960 } 962 }
961 963
1387 sprintf(buf, _("%s\n%s: %s"), full_date(), prologue, details); 1389 sprintf(buf, _("%s\n%s: %s"), full_date(), prologue, details);
1388 if (k) 1390 if (k)
1389 gtk_widget_destroy(k->dlg); 1391 gtk_widget_destroy(k->dlg);
1390 k = g_new0(struct kick_dlg, 1); 1392 k = g_new0(struct kick_dlg, 1);
1391 k->user = gc->user; 1393 k->user = gc->user;
1392 k->dlg = do_error_dialog(buf, title); 1394 k->dlg = do_error_dialog(title, buf, GAIM_ERROR);
1393 kicks = g_slist_append(kicks, k); 1395 kicks = g_slist_append(kicks, k);
1394 gtk_signal_connect(GTK_OBJECT(k->dlg), "destroy", GTK_SIGNAL_FUNC(set_kick_null), k); 1396 gtk_signal_connect(GTK_OBJECT(k->dlg), "destroy", GTK_SIGNAL_FUNC(set_kick_null), k);
1395 if (meter) { 1397 if (meter) {
1396 kill_meter(meter); 1398 kill_meter(meter);
1397 meters = g_slist_remove(meters, meter); 1399 meters = g_slist_remove(meters, meter);