aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorDanielle Madeley <danielle.madeley@collabora.co.uk>2010-11-22 13:52:18 +0800
committerDanielle Madeley <danielle.madeley@collabora.co.uk>2010-11-22 13:52:18 +0800
commitac2b9a7a95a152f874bf250f4365072a3bc976e1 (patch)
tree9638840a11594221a6ae0d95654734c62d7507d7 /libempathy-gtk
parent4b6678f1a01a33d2aa171314bb139bd5236f0ae4 (diff)
parent38f4477ad6d36bc000db7f7388266007b194c0dd (diff)
downloadgsoc2013-empathy-ac2b9a7a95a152f874bf250f4365072a3bc976e1.tar
gsoc2013-empathy-ac2b9a7a95a152f874bf250f4365072a3bc976e1.tar.gz
gsoc2013-empathy-ac2b9a7a95a152f874bf250f4365072a3bc976e1.tar.bz2
gsoc2013-empathy-ac2b9a7a95a152f874bf250f4365072a3bc976e1.tar.lz
gsoc2013-empathy-ac2b9a7a95a152f874bf250f4365072a3bc976e1.tar.xz
gsoc2013-empathy-ac2b9a7a95a152f874bf250f4365072a3bc976e1.tar.zst
gsoc2013-empathy-ac2b9a7a95a152f874bf250f4365072a3bc976e1.zip
Merge remote branch 'glassrose/link_unfocussed_626560'
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-account-widget.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-account-widget.c b/libempathy-gtk/empathy-account-widget.c
index a6237cfd3..4645040a2 100644
--- a/libempathy-gtk/empathy-account-widget.c
+++ b/libempathy-gtk/empathy-account-widget.c
@@ -1440,7 +1440,18 @@ account_widget_build_jabber (EmpathyAccountWidget *self,
}
else if (is_facebook)
{
+ GtkContainer *parent;
+ GList *children;
+
gtk_widget_hide (label_example_jabber);
+
+ /* Removing the label from list of focusable widgets */
+ parent = GTK_CONTAINER (gtk_widget_get_parent (label_example_fb));
+ children = gtk_container_get_children (parent);
+ children = g_list_remove (children, label_example_fb);
+ gtk_container_set_focus_chain (parent, children);
+ g_list_free (children);
+
gtk_widget_show (label_example_fb);
gtk_widget_hide (expander_advanced);
}