summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2014-04-19 22:52:30 -0400
committerTingPing <tingping@tingping.se>2014-04-19 22:52:30 -0400
commit41c209bf45ce1a926c526959cae2dc94fec7c0b9 (patch)
treebc0ad25894c0c28c7c5578c0e61bc4ad8be5eca6
parent231590f71e7a5dc58ba7fc13cbe6bd487d560e10 (diff)
Reset all nick entry errors in servlist when fixed
-rw-r--r--src/fe-gtk/servlistgui.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fe-gtk/servlistgui.c b/src/fe-gtk/servlistgui.c
index 7b79957b..05069f3c 100644
--- a/src/fe-gtk/servlistgui.c
+++ b/src/fe-gtk/servlistgui.c
@@ -1580,7 +1580,8 @@ servlist_nick_changed_cb (GtkEntry *entry, gpointer userdata)
 	}
 	else
 	{
-		gtk_entry_set_icon_from_stock (entry, GTK_ENTRY_ICON_SECONDARY, NULL);
+		gtk_entry_set_icon_from_stock (GTK_ENTRY(entry_nick1), GTK_ENTRY_ICON_SECONDARY, NULL);
+		gtk_entry_set_icon_from_stock (GTK_ENTRY(entry_nick2), GTK_ENTRY_ICON_SECONDARY, NULL);
 		gtk_widget_set_sensitive (connect_btn, TRUE);
 	}
 }