diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-05-24 10:13:47 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-05-24 10:13:47 +0800 |
commit | 03ca12814b49f7f7999c635d7449dabce0b145b5 (patch) | |
tree | 0c7d53ec7ddd32397e2f7f8da89f99218a997444 /mail/em-account-prefs.h | |
parent | 0f614b2e971aa0f7168b63f335e1c738bf4f9379 (diff) | |
download | gsoc2013-evolution-03ca12814b49f7f7999c635d7449dabce0b145b5.tar.gz gsoc2013-evolution-03ca12814b49f7f7999c635d7449dabce0b145b5.tar.zst gsoc2013-evolution-03ca12814b49f7f7999c635d7449dabce0b145b5.zip |
Bug 583339 – Edit->Preferences->Mail Accounts inconsistent
Diffstat (limited to 'mail/em-account-prefs.h')
-rw-r--r-- | mail/em-account-prefs.h | 30 |
1 files changed, 8 insertions, 22 deletions
diff --git a/mail/em-account-prefs.h b/mail/em-account-prefs.h index c3932aefc9..4c02d716b8 100644 --- a/mail/em-account-prefs.h +++ b/mail/em-account-prefs.h @@ -1,4 +1,5 @@ /* + * em-account-prefs.h * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -14,9 +15,6 @@ * License along with the program; if not, see <http://www.gnu.org/licenses/> * * - * Authors: - * Jeffrey Stedfast <fejj@ximian.com> - * * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com) * */ @@ -25,8 +23,9 @@ #define EM_ACCOUNT_PREFS_H #include <gtk/gtk.h> -#include <glade/glade.h> #include <table/e-table.h> +#include <libedataserver/e-account-list.h> +#include <misc/e-account-manager.h> /* Standard GObject macros */ #define EM_TYPE_ACCOUNT_PREFS \ @@ -51,32 +50,19 @@ G_BEGIN_DECLS typedef struct _EMAccountPrefs EMAccountPrefs; typedef struct _EMAccountPrefsClass EMAccountPrefsClass; +typedef struct _EMAccountPrefsPrivate EMAccountPrefsPrivate; struct _EMAccountPrefs { - GtkVBox parent_object; - - GladeXML *gui; - - GtkWidget *druid; - GtkWidget *editor; - - GtkTreeView *table; - - GtkButton *mail_add; - GtkButton *mail_edit; - GtkButton *mail_delete; - GtkButton *mail_default; - - guint destroyed : 1; - guint changed : 1; + EAccountManager parent; + EMAccountPrefsPrivate *priv; }; struct _EMAccountPrefsClass { - GtkVBoxClass parent_class; + EAccountManagerClass parent_class; }; GType em_account_prefs_get_type (void); -GtkWidget * em_account_prefs_new (void); +GtkWidget * em_account_prefs_new (EAccountList *account_list); G_END_DECLS |