[empathy] hide the advanced options for Facebook accounts
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [empathy] hide the advanced options for Facebook accounts
- Date: Thu, 11 Feb 2010 18:07:24 +0000 (UTC)
commit 457d59921b00b2acb008df1cd0428d4433ec981a
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Thu Feb 11 12:41:47 2010 +0000
hide the advanced options for Facebook accounts
libempathy-gtk/empathy-account-widget-jabber.ui | 2 +-
libempathy-gtk/empathy-account-widget.c | 3 +++
2 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/libempathy-gtk/empathy-account-widget-jabber.ui b/libempathy-gtk/empathy-account-widget-jabber.ui
index 4958491..f71fb15 100644
--- a/libempathy-gtk/empathy-account-widget-jabber.ui
+++ b/libempathy-gtk/empathy-account-widget-jabber.ui
@@ -172,7 +172,7 @@
</packing>
</child>
<child>
- <object class="GtkExpander" id="expander1">
+ <object class="GtkExpander" id="expander_advanced">
<property name="visible">True</property>
<property name="can_focus">True</property>
<child>
diff --git a/libempathy-gtk/empathy-account-widget.c b/libempathy-gtk/empathy-account-widget.c
index 76d2ed1..39a3741 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);
}
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]