[empathy: 20/26] cance live search when adding/removing a network
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy: 20/26] cance live search when adding/removing a network
- Date: Thu, 26 Aug 2010 12:05:03 +0000 (UTC)
commit f8c7011a571c35d976e00526491d499ec623acb9
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Wed Aug 25 16:30:15 2010 +0200
cance live search when adding/removing a network
.../empathy-irc-network-chooser-dialog.c | 4 ++++
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 6f123fb..dc7445f 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]