diff options
-rw-r--r-- | libempathy-gtk/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 06d9e59a4..c1335e539 100644 --- a/libempathy-gtk/empathy-irc-network-chooser-dialog.c +++ b/libempathy-gtk/empathy-irc-network-chooser-dialog.c @@ -284,6 +284,8 @@ irc_network_dialog_destroy_cb (GtkWidget *widget, filter_iter = iter_to_filter_iter (self, &iter); scroll_to_iter (self, &filter_iter); + gtk_widget_grab_focus (priv->treeview); + g_object_unref (network); } @@ -365,6 +367,8 @@ remove_network (EmpathyIrcNetworkChooserDialog *self) select_iter (self, &filter_iter, TRUE); } + gtk_widget_grab_focus (priv->treeview); + g_object_unref (network); } |