Mercurial > pidgin.yaz
comparison src/server.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 | dd34e0b40fed |
children | b48065e52337 |
comparison
equal
deleted
inserted
replaced
3426:ccbcc11a68c2 | 3427:8fa61405af2b |
---|---|
50 if (user->gc != NULL) | 50 if (user->gc != NULL) |
51 return; | 51 return; |
52 | 52 |
53 if (p && p->login) { | 53 if (p && p->login) { |
54 if (!strlen(user->password) && !(p->options & OPT_PROTO_NO_PASSWORD)) { | 54 if (!strlen(user->password) && !(p->options & OPT_PROTO_NO_PASSWORD)) { |
55 do_error_dialog(_("Please enter your password"), _("Signon Error")); | 55 do_error_dialog(_("Please enter your password"), NULL, GAIM_ERROR); |
56 return; | 56 return; |
57 } | 57 } |
58 | 58 |
59 debug_printf(PACKAGE " " VERSION " logging in %s using %s\n", user->username, p->name()); | 59 debug_printf(PACKAGE " " VERSION " logging in %s using %s\n", user->username, p->name()); |
60 p->login(user); | 60 p->login(user); |
803 gc->evil = lev; | 803 gc->evil = lev; |
804 | 804 |
805 g_snprintf(buf2, sizeof(buf2), "%s has just been warned by %s.\nYour new warning level is %d%%", | 805 g_snprintf(buf2, sizeof(buf2), "%s has just been warned by %s.\nYour new warning level is %d%%", |
806 gc->username, ((name == NULL)? "an anonymous person" : name), lev); | 806 gc->username, ((name == NULL)? "an anonymous person" : name), lev); |
807 | 807 |
808 do_error_dialog(buf2, _("Warned")); | 808 do_error_dialog(buf2, NULL, GAIM_INFO); |
809 } | 809 } |
810 | 810 |
811 void serv_got_typing(struct gaim_connection *gc, char *name, int timeout) { | 811 void serv_got_typing(struct gaim_connection *gc, char *name, int timeout) { |
812 struct conversation *cnv = find_conversation(name); | 812 struct conversation *cnv = find_conversation(name); |
813 if (cnv) { | 813 if (cnv) { |