pidgin/pidgin

[gaim-migrate @ 16003]

2006-04-10, Björn Voigt
029155b74f1c
Parents 983b0c58fcae
Children 0ee536d92264
[gaim-migrate @ 16003]
A patch from Björn Voigt to implement an error notification when a user search fails.


committer: Richard Laager
--- a/src/protocols/jabber/buddy.c Mon Apr 10 23:37:32 2006 +0000
+++ b/src/protocols/jabber/buddy.c Mon Apr 10 23:43:49 2006 +0000
@@ -1377,6 +1377,10 @@
/* XXX: make a pretty error box after the string freeze */
if(!(type = xmlnode_get_attrib(packet, "type")) || !strcmp(type, "error")) {
+ gaim_notify_error(js->gc, _("Directory Query Failed"),
+ _("Could not query the directory server. Either "
+ "the Jabber user directory specified is invalid or "
+ "directory server could not be reached."), NULL);
return;
}