changeset 13617:513d0e06f35f

[gaim-migrate @ 16003] A patch from Bj??rn Voigt to implement an error notification when a user search fails. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Mon, 10 Apr 2006 23:43:49 +0000
parents ee7f92a706ac
children 4d44d7ad536e
files src/protocols/jabber/buddy.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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;
 	}