diff options
Diffstat (limited to 'libempathy-gtk')
-rw-r--r-- | libempathy-gtk/empathy-account-widget-jabber.ui | 1 | ||||
-rw-r--r-- | libempathy-gtk/empathy-account-widget.c | 9 |
2 files changed, 4 insertions, 6 deletions
diff --git a/libempathy-gtk/empathy-account-widget-jabber.ui b/libempathy-gtk/empathy-account-widget-jabber.ui index f7579bbb4..d17d0d7e0 100644 --- a/libempathy-gtk/empathy-account-widget-jabber.ui +++ b/libempathy-gtk/empathy-account-widget-jabber.ui @@ -89,7 +89,6 @@ <property name="orientation">vertical</property> <child> <object class="GtkLabel" id="label_username_example"> - <property name="visible">True</property> <property name="xalign">0</property> <property name="xpad">3</property> <property name="label" translatable="yes"><b>Example:</b> user@jabber.org</property> 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); + } } } |