aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libempathy-gtk/empathy-irc-network-chooser-dialog.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-irc-network-chooser-dialog.c b/libempathy-gtk/empathy-irc-network-chooser-dialog.c
index 6f123fb44..dc7445fd5 100644
--- a/libempathy-gtk/empathy-irc-network-chooser-dialog.c
+++ b/libempathy-gtk/empathy-irc-network-chooser-dialog.c
@@ -320,6 +320,8 @@ add_network (EmpathyIrcNetworkChooserDialog *self)
EmpathyIrcNetwork *network;
GtkTreeIter iter, filter_iter;
+ gtk_widget_hide (priv->search);
+
network = empathy_irc_network_new (_("New Network"));
empathy_irc_network_manager_add (priv->network_manager, network);
@@ -343,6 +345,8 @@ remove_network (EmpathyIrcNetworkChooserDialog *self)
EmpathyIrcNetwork *network;
GtkTreeIter iter;
+ gtk_widget_hide (priv->search);
+
network = dup_selected_network (self, &iter);
if (network == NULL)
return;