aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-account-widget.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-02-11 20:41:47 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-02-12 00:01:38 +0800
commit457d59921b00b2acb008df1cd0428d4433ec981a (patch)
treeb89bb34d9b256930b34fd542dcdb35b417bbd658 /libempathy-gtk/empathy-account-widget.c
parent2f011b0419e1d37ce9eadba249fa11f6852e1d8e (diff)
downloadgsoc2013-empathy-457d59921b00b2acb008df1cd0428d4433ec981a.tar
gsoc2013-empathy-457d59921b00b2acb008df1cd0428d4433ec981a.tar.gz
gsoc2013-empathy-457d59921b00b2acb008df1cd0428d4433ec981a.tar.bz2
gsoc2013-empathy-457d59921b00b2acb008df1cd0428d4433ec981a.tar.lz
gsoc2013-empathy-457d59921b00b2acb008df1cd0428d4433ec981a.tar.xz
gsoc2013-empathy-457d59921b00b2acb008df1cd0428d4433ec981a.tar.zst
gsoc2013-empathy-457d59921b00b2acb008df1cd0428d4433ec981a.zip
hide the advanced options for Facebook accounts
Diffstat (limited to 'libempathy-gtk/empathy-account-widget.c')
-rw-r--r--libempathy-gtk/empathy-account-widget.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-account-widget.c b/libempathy-gtk/empathy-account-widget.c
index 76d2ed19c..39a3741ed 100644
--- a/libempathy-gtk/empathy-account-widget.c
+++ b/libempathy-gtk/empathy-account-widget.c
@@ -960,6 +960,7 @@ account_widget_build_jabber (EmpathyAccountWidget *self,
GtkWidget *label_id_create, *label_password_create;
GtkWidget *label_example_gtalk, *label_example_jabber, *label_example_fb;
gboolean is_gtalk, is_facebook;
+ GtkWidget *expander_advanced;
is_gtalk = account_widget_is_gtalk (self);
is_facebook = account_widget_is_facebook (self);
@@ -1016,6 +1017,7 @@ account_widget_build_jabber (EmpathyAccountWidget *self,
"label_username_example", &label_example_jabber,
"label_username_g_example", &label_example_gtalk,
"label_username_f_example", &label_example_fb,
+ "expander_advanced", &expander_advanced,
NULL);
empathy_account_widget_handle_params (self,
@@ -1047,6 +1049,7 @@ account_widget_build_jabber (EmpathyAccountWidget *self,
{
gtk_widget_hide (label_example_jabber);
gtk_widget_show (label_example_fb);
+ gtk_widget_hide (expander_advanced);
}
}
}