diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2007-04-30 05:30:25 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2007-04-30 05:30:25 +0800 |
commit | 2641d1b02dbc27d9ef213724ee7f2e974e3ec77b (patch) | |
tree | 7c69c351d9e5bffa4fe47acb376228512ee0098c /libempathy-gtk/gossip-accounts-dialog.c | |
parent | 3e0960a8f543917145421d44a208177289028121 (diff) | |
download | gsoc2013-empathy-2641d1b02dbc27d9ef213724ee7f2e974e3ec77b.tar gsoc2013-empathy-2641d1b02dbc27d9ef213724ee7f2e974e3ec77b.tar.gz gsoc2013-empathy-2641d1b02dbc27d9ef213724ee7f2e974e3ec77b.tar.bz2 gsoc2013-empathy-2641d1b02dbc27d9ef213724ee7f2e974e3ec77b.tar.lz gsoc2013-empathy-2641d1b02dbc27d9ef213724ee7f2e974e3ec77b.tar.xz gsoc2013-empathy-2641d1b02dbc27d9ef213724ee7f2e974e3ec77b.tar.zst gsoc2013-empathy-2641d1b02dbc27d9ef213724ee7f2e974e3ec77b.zip |
[darcs-to-svn @ Adding jabber specific settings widget]
svn path=/trunk/; revision=10
Diffstat (limited to 'libempathy-gtk/gossip-accounts-dialog.c')
-rw-r--r-- | libempathy-gtk/gossip-accounts-dialog.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libempathy-gtk/gossip-accounts-dialog.c b/libempathy-gtk/gossip-accounts-dialog.c index 848abb52b..6f61dfb36 100644 --- a/libempathy-gtk/gossip-accounts-dialog.c +++ b/libempathy-gtk/gossip-accounts-dialog.c @@ -47,6 +47,7 @@ #include "gossip-accounts-dialog.h" #include "gossip-profile-chooser.h" #include "gossip-account-widget-generic.h" +#include "gossip-account-widget-jabber.h" #define DEBUG_DOMAIN "AccountDialog" @@ -284,7 +285,9 @@ accounts_dialog_update_account (GossipAccountsDialog *dialog, profile = mc_account_get_profile (account); config_ui = mc_profile_get_configuration_ui (profile); - if (strcmp (config_ui, "blah") == 0) { + if (strcmp (config_ui, "jabber") == 0) { + dialog->settings_widget = + gossip_account_widget_jabber_new (account); } else { dialog->settings_widget = gossip_account_widget_generic_new (account, @@ -957,7 +960,7 @@ gossip_accounts_dialog_show (void) dialog = g_new0 (GossipAccountsDialog, 1); - glade = gossip_glade_get_file ("empathy-accounts.glade", + glade = gossip_glade_get_file ("gossip-accounts-dialog.glade", "accounts_dialog", NULL, "accounts_dialog", &dialog->window, |