diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2008-03-27 15:38:17 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2008-03-27 15:38:17 +0800 |
commit | 824dd8a4f0bba86f78df499448e818f5998a96e5 (patch) | |
tree | 5a0492a3c7433d9b02cee88fb81faf8c3ebd521d /libempathy-gtk/empathy-account-widget.c | |
parent | 95217d7459ab0962e1733c58665d36f1a0f6029e (diff) | |
download | gsoc2013-empathy-824dd8a4f0bba86f78df499448e818f5998a96e5.tar gsoc2013-empathy-824dd8a4f0bba86f78df499448e818f5998a96e5.tar.gz gsoc2013-empathy-824dd8a4f0bba86f78df499448e818f5998a96e5.tar.bz2 gsoc2013-empathy-824dd8a4f0bba86f78df499448e818f5998a96e5.tar.lz gsoc2013-empathy-824dd8a4f0bba86f78df499448e818f5998a96e5.tar.xz gsoc2013-empathy-824dd8a4f0bba86f78df499448e818f5998a96e5.tar.zst gsoc2013-empathy-824dd8a4f0bba86f78df499448e818f5998a96e5.zip |
Add GUI to configure groupwise account. Fixes bug #522862 (Vincent Untz).
svn path=/trunk/; revision=827
Diffstat (limited to 'libempathy-gtk/empathy-account-widget.c')
-rw-r--r-- | libempathy-gtk/empathy-account-widget.c | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-account-widget.c b/libempathy-gtk/empathy-account-widget.c index a22949235..4550e9ec3 100644 --- a/libempathy-gtk/empathy-account-widget.c +++ b/libempathy-gtk/empathy-account-widget.c @@ -709,3 +709,37 @@ empathy_account_widget_yahoo_new (McAccount *account) return widget; } +GtkWidget * +empathy_account_widget_groupwise_new (McAccount *account) +{ + GladeXML *glade; + GtkWidget *widget; + gchar *filename; + + filename = empathy_file_lookup ("empathy-account-widget-groupwise.glade", + "libempathy-gtk"); + glade = empathy_glade_get_file (filename, + "vbox_groupwise_settings", + NULL, + "vbox_groupwise_settings", &widget, + NULL); + g_free (filename); + + empathy_account_widget_handle_params (account, glade, + "entry_id", "account", + "entry_password", "password", + "entry_server", "server", + "spinbutton_port", "port", + NULL); + + empathy_account_widget_add_forget_button (account, glade, + "button_forget", + "entry_password"); + + g_object_unref (glade); + + gtk_widget_show (widget); + + return widget; +} + |