diff options
Diffstat (limited to 'libempathy-gtk/empathy-account-widget.c')
-rw-r--r-- | libempathy-gtk/empathy-account-widget.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/libempathy-gtk/empathy-account-widget.c b/libempathy-gtk/empathy-account-widget.c index f33fec2c0..e42fe78e9 100644 --- a/libempathy-gtk/empathy-account-widget.c +++ b/libempathy-gtk/empathy-account-widget.c @@ -1496,7 +1496,6 @@ account_widget_build_jabber (EmpathyAccountWidget *self, if (service == GTALK_SERVICE) { - gtk_widget_hide (label_example_jabber); gtk_widget_show (label_example_gtalk); } else if (service == FACEBOOK_SERVICE) @@ -1504,8 +1503,6 @@ account_widget_build_jabber (EmpathyAccountWidget *self, 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); @@ -1513,15 +1510,17 @@ account_widget_build_jabber (EmpathyAccountWidget *self, gtk_container_set_focus_chain (parent, children); g_list_free (children); - gtk_widget_show (label_example_fb); gtk_widget_hide (expander_advanced); } else if (service == OVI_SERVICE) { - gtk_widget_hide (label_example_jabber); gtk_widget_show (label_example_ovi); gtk_widget_hide (expander_advanced); } + else + { + gtk_widget_show (label_example_jabber); + } } } |