# HG changeset patch # User Richard Laager # Date 1144712629 0 # Node ID 513d0e06f35fe0bc47a2a1241d59da7ad11f4228 # Parent ee7f92a706acda6c9320d3b6af585913a087321d [gaim-migrate @ 16003] A patch from Bj??rn Voigt to implement an error notification when a user search fails. committer: Tailor Script diff -r ee7f92a706ac -r 513d0e06f35f src/protocols/jabber/buddy.c --- 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; }