diff pidgin/gtkconv.c @ 21951:800ede833f99

Patch from QuLogic to prevent multiple alias editing fields in the infopane. Fixes #4467. committer: John Bailey <rekkanoryo@rekkanoryo.org>
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sat, 29 Dec 2007 04:26:17 +0000
parents 3fc5862b834a
children cca516eb7610 1494e0a0f2b9
line wrap: on
line diff
--- a/pidgin/gtkconv.c	Fri Dec 28 17:14:52 2007 +0000
+++ b/pidgin/gtkconv.c	Sat Dec 29 04:26:17 2007 +0000
@@ -8702,7 +8702,7 @@
 	PurpleConversation *conv = gtkconv->active_conv;
 	const char *text = NULL;
 
-	if (!GTK_WIDGET_VISIBLE(gtkconv->tab_label)) {
+	if (!GTK_WIDGET_VISIBLE(gtkconv->infopane)) {
 		/* There's already an entry for alias. Let's not create another one. */
 		return FALSE;
 	}