diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-08-26 17:50:11 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-08-26 17:50:11 +0800 |
commit | acc900cd828e7883436fe41ca68d5de3b27cf1df (patch) | |
tree | fc12ef8175a47b74caa8941f25d5a7ec9dc3439a | |
parent | deddbb95eba55352658572a9a3c9293fed4842c2 (diff) | |
download | gsoc2013-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
-rw-r--r-- | libempathy-gtk/empathy-irc-network-chooser-dialog.c | 5 |
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); |