From 6554a8d63ccd3304bf378a427bce17579ea358f3 Mon Sep 17 00:00:00 2001 From: Patrick Griffis Date: Mon, 16 May 2016 08:50:13 -0400 Subject: servlistgui: Show invalid nick/user on open It is possible to have an invalid config from a previous upgrade Fixes #1715 --- src/fe-gtk/servlistgui.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/fe-gtk/servlistgui.c b/src/fe-gtk/servlistgui.c index cca5bf44..b64cf78c 100644 --- a/src/fe-gtk/servlistgui.c +++ b/src/fe-gtk/servlistgui.c @@ -2198,6 +2198,10 @@ servlist_open_networks (void) g_signal_connect (G_OBJECT (entry_nick2), "changed", G_CALLBACK(servlist_nick_changed_cb), button_connect); + /* Run validity checks now */ + servlist_nick_changed_cb (GTK_ENTRY(entry_nick2), button_connect); + servlist_username_changed_cb (GTK_ENTRY(entry_guser), button_connect); + gtk_label_set_mnemonic_widget (GTK_LABEL (label3), entry1); gtk_label_set_mnemonic_widget (GTK_LABEL (label6), entry4); /* gtk_label_set_mnemonic_widget (GTK_LABEL (label7), entry5); */ -- cgit 1.4.1