diff options
author | Jonathan Tellier <jonathan.tellier@gmail.com> | 2009-08-22 04:08:29 +0800 |
---|---|---|
committer | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2009-08-22 23:47:41 +0800 |
commit | d047670385b7dcc65ccdb89969f0e43deea7c93e (patch) | |
tree | 9fba81c3024710c70ca85f439b46bf305dc7fddf /libempathy-gtk/empathy-account-widget.c | |
parent | 17ae7af66b0baa2b898445dee8e79a670e588891 (diff) | |
download | gsoc2013-empathy-d047670385b7dcc65ccdb89969f0e43deea7c93e.tar gsoc2013-empathy-d047670385b7dcc65ccdb89969f0e43deea7c93e.tar.gz gsoc2013-empathy-d047670385b7dcc65ccdb89969f0e43deea7c93e.tar.bz2 gsoc2013-empathy-d047670385b7dcc65ccdb89969f0e43deea7c93e.tar.lz gsoc2013-empathy-d047670385b7dcc65ccdb89969f0e43deea7c93e.tar.xz gsoc2013-empathy-d047670385b7dcc65ccdb89969f0e43deea7c93e.tar.zst gsoc2013-empathy-d047670385b7dcc65ccdb89969f0e43deea7c93e.zip |
Every protocols should now have an "Enabled" checkbox in "edit" mode.
Diffstat (limited to 'libempathy-gtk/empathy-account-widget.c')
-rw-r--r-- | libempathy-gtk/empathy-account-widget.c | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-account-widget.c b/libempathy-gtk/empathy-account-widget.c index 7a72deb36..aa1c6724e 100644 --- a/libempathy-gtk/empathy-account-widget.c +++ b/libempathy-gtk/empathy-account-widget.c @@ -702,6 +702,7 @@ account_widget_build_generic (EmpathyAccountWidget *self, GtkWidget *expander_advanced; self->ui_details->gui = empathy_builder_get_file (filename, + "table_common_settings", &priv->table_common_settings, "vbox_generic_settings", &self->ui_details->widget, "expander_advanced_settings", &expander_advanced, NULL); @@ -722,7 +723,10 @@ static void account_widget_build_salut (EmpathyAccountWidget *self, const char *filename) { + EmpathyAccountWidgetPriv *priv = GET_PRIV (self); + self->ui_details->gui = empathy_builder_get_file (filename, + "table_common_settings", &priv->table_common_settings, "vbox_salut_settings", &self->ui_details->widget, NULL); @@ -760,6 +764,7 @@ account_widget_build_msn (EmpathyAccountWidget *self, else { self->ui_details->gui = empathy_builder_get_file (filename, + "table_common_msn_settings", &priv->table_common_settings, "vbox_msn_settings", &self->ui_details->widget, NULL); @@ -864,6 +869,7 @@ account_widget_build_icq (EmpathyAccountWidget *self, else { self->ui_details->gui = empathy_builder_get_file (filename, + "table_common_settings", &priv->table_common_settings, "vbox_icq_settings", &self->ui_details->widget, "spinbutton_port", &spinbutton_port, NULL); @@ -904,6 +910,7 @@ account_widget_build_aim (EmpathyAccountWidget *self, else { self->ui_details->gui = empathy_builder_get_file (filename, + "table_common_settings", &priv->table_common_settings, "vbox_aim_settings", &self->ui_details->widget, "spinbutton_port", &spinbutton_port, NULL); @@ -942,6 +949,7 @@ account_widget_build_yahoo (EmpathyAccountWidget *self, else { self->ui_details->gui = empathy_builder_get_file (filename, + "table_common_settings", &priv->table_common_settings, "vbox_yahoo_settings", &self->ui_details->widget, NULL); @@ -983,6 +991,7 @@ account_widget_build_groupwise (EmpathyAccountWidget *self, else { self->ui_details->gui = empathy_builder_get_file (filename, + "table_common_groupwise_settings", &priv->table_common_settings, "vbox_groupwise_settings", &self->ui_details->widget, NULL); @@ -1117,9 +1126,13 @@ do_constructed (GObject *obj) else if (!tp_strdiff (priv->protocol, "groupwise")) account_widget_build_groupwise (self, filename); else if (!tp_strdiff (priv->protocol, "irc")) - empathy_account_widget_irc_build (self, filename); + empathy_account_widget_irc_build (self, filename, + &priv->table_common_settings); else if (!tp_strdiff (priv->protocol, "sip")) - empathy_account_widget_sip_build (self, filename); + empathy_account_widget_sip_build (self, filename, + &priv->table_common_settings); + else if (!tp_strdiff (priv->protocol, "generic")) + account_widget_build_generic (self, filename); else { g_free (filename); |