aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-08-25 22:30:15 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-08-25 22:30:15 +0800
commitf8c7011a571c35d976e00526491d499ec623acb9 (patch)
tree77fde1f5a460471367af46c5ad117ab4914e7455
parent469e9ea6d1e007265f7a5ec518e27052be9305a3 (diff)
downloadgsoc2013-empathy-f8c7011a571c35d976e00526491d499ec623acb9.tar
gsoc2013-empathy-f8c7011a571c35d976e00526491d499ec623acb9.tar.gz
gsoc2013-empathy-f8c7011a571c35d976e00526491d499ec623acb9.tar.bz2
gsoc2013-empathy-f8c7011a571c35d976e00526491d499ec623acb9.tar.lz
gsoc2013-empathy-f8c7011a571c35d976e00526491d499ec623acb9.tar.xz
gsoc2013-empathy-f8c7011a571c35d976e00526491d499ec623acb9.tar.zst
gsoc2013-empathy-f8c7011a571c35d976e00526491d499ec623acb9.zip
cance live search when adding/removing a network
-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;