aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-08-26 17:50:11 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-08-26 17:50:11 +0800
commitacc900cd828e7883436fe41ca68d5de3b27cf1df (patch)
treefc12ef8175a47b74caa8941f25d5a7ec9dc3439a /libempathy-gtk
parentdeddbb95eba55352658572a9a3c9293fed4842c2 (diff)
downloadgsoc2013-empathy-acc900cd828e7883436fe41ca68d5de3b27cf1df.tar
gsoc2013-empathy-acc900cd828e7883436fe41ca68d5de3b27cf1df.tar.gz
gsoc2013-empathy-acc900cd828e7883436fe41ca68d5de3b27cf1df.tar.bz2
gsoc2013-empathy-acc900cd828e7883436fe41ca68d5de3b27cf1df.tar.lz
gsoc2013-empathy-acc900cd828e7883436fe41ca68d5de3b27cf1df.tar.xz
gsoc2013-empathy-acc900cd828e7883436fe41ca68d5de3b27cf1df.tar.zst
gsoc2013-empathy-acc900cd828e7883436fe41ca68d5de3b27cf1df.zip
Hide the search after picking the network to get the right one
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-irc-network-chooser-dialog.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-irc-network-chooser-dialog.c b/libempathy-gtk/empathy-irc-network-chooser-dialog.c
index dc7445fd5..8dce07389 100644
--- a/libempathy-gtk/empathy-irc-network-chooser-dialog.c
+++ b/libempathy-gtk/empathy-irc-network-chooser-dialog.c
@@ -345,12 +345,13 @@ remove_network (EmpathyIrcNetworkChooserDialog *self)
EmpathyIrcNetwork *network;
GtkTreeIter iter;
- gtk_widget_hide (priv->search);
-
network = dup_selected_network (self, &iter);
if (network == NULL)
return;
+ /* Hide the search after picking the network to get the right one */
+ gtk_widget_hide (priv->search);
+
DEBUG ("Remove network %s", empathy_irc_network_get_name (network));
gtk_list_store_remove (priv->store, &iter);