diff options
author | Patrick Griffis <tingping@tingping.se> | 2016-05-16 08:50:13 -0400 |
---|---|---|
committer | Patrick Griffis <tingping@tingping.se> | 2016-05-16 08:51:18 -0400 |
commit | 6554a8d63ccd3304bf378a427bce17579ea358f3 (patch) | |
tree | a4bfbfc3fa6d3c614c557d32cf66ced85613003c | |
parent | d32aa65bc7d752493a89e13d869eca373d9570a2 (diff) |
servlistgui: Show invalid nick/user on open
It is possible to have an invalid config from a previous upgrade Fixes #1715
-rw-r--r-- | src/fe-gtk/servlistgui.c | 4 |
1 files changed, 4 insertions, 0 deletions
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); */ |