aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChandni Verma <chandniverma2112@gmail.com>2010-11-15 07:12:44 +0800
committerChandni Verma <chandniverma2112@gmail.com>2010-11-22 13:36:46 +0800
commit38f4477ad6d36bc000db7f7388266007b194c0dd (patch)
treea88db83e7a6f5a677ffe13828218c017ffc0b8ca
parent92be64204fc424a3b2756be253b985112dcedcf2 (diff)
downloadgsoc2013-empathy-38f4477ad6d36bc000db7f7388266007b194c0dd.tar
gsoc2013-empathy-38f4477ad6d36bc000db7f7388266007b194c0dd.tar.gz
gsoc2013-empathy-38f4477ad6d36bc000db7f7388266007b194c0dd.tar.bz2
gsoc2013-empathy-38f4477ad6d36bc000db7f7388266007b194c0dd.tar.lz
gsoc2013-empathy-38f4477ad6d36bc000db7f7388266007b194c0dd.tar.xz
gsoc2013-empathy-38f4477ad6d36bc000db7f7388266007b194c0dd.tar.zst
gsoc2013-empathy-38f4477ad6d36bc000db7f7388266007b194c0dd.zip
Label removed form list of focusable widgets
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=626560
-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);
}