aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-08-26 19:59:36 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-08-26 19:59:36 +0800
commite62460125c8a90e0f77f18326d597868ca01a42c (patch)
treef5eea7aa278e3b9016503a8df4a705346a648107 /libempathy-gtk
parent3ba9a682ce49528af7db7a6d7e5b5baddd475618 (diff)
downloadgsoc2013-empathy-e62460125c8a90e0f77f18326d597868ca01a42c.tar
gsoc2013-empathy-e62460125c8a90e0f77f18326d597868ca01a42c.tar.gz
gsoc2013-empathy-e62460125c8a90e0f77f18326d597868ca01a42c.tar.bz2
gsoc2013-empathy-e62460125c8a90e0f77f18326d597868ca01a42c.tar.lz
gsoc2013-empathy-e62460125c8a90e0f77f18326d597868ca01a42c.tar.xz
gsoc2013-empathy-e62460125c8a90e0f77f18326d597868ca01a42c.tar.zst
gsoc2013-empathy-e62460125c8a90e0f77f18326d597868ca01a42c.zip
grab focus on the treeview after adding, editing or removing network
Diffstat (limited to 'libempathy-gtk')
-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 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);
}