source: trunk/third/evolution/mail/mail-accounts.h @ 16787

Revision 16787, 3.3 KB checked in by ghudson, 23 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r16786, which included commits to RCS files with non-trunk default branches.
Line 
1/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2/*
3 *  Authors: Jeffrey Stedfast <fejj@ximian.com>
4 *
5 *  Copyright 2001 Ximian, Inc. (www.ximian.com)
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of version 2 of the GNU General Public
9 * License as published by the Free Software Foundation.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 * General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public
17 * License along with this program; if not, write to the
18 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19 * Boston, MA 02111-1307, USA.
20 *
21 */
22
23#ifndef MAIL_ACCOUNTS_H
24#define MAIL_ACCOUNTS_H
25
26#ifdef __cplusplus
27extern "C" {
28#pragma }
29#endif /* __cplusplus */
30
31#include <gtk/gtkclist.h>
32#include <gtk/gtktogglebutton.h>
33#include <gtk/gtkoptionmenu.h>
34#include <gtk/gtkspinbutton.h>
35#include <libgnomeui/gnome-color-picker.h>
36#include <libgnomeui/gnome-dialog.h>
37#include <libgnomeui/gnome-file-entry.h>
38#include <glade/glade.h>
39#include <shell/Evolution.h>
40
41#define MAIL_ACCOUNTS_DIALOG_TYPE        (mail_accounts_dialog_get_type ())
42#define MAIL_ACCOUNTS_DIALOG(o)          (GTK_CHECK_CAST ((o), MAIL_ACCOUNTS_DIALOG_TYPE, MailAccountsDialog))
43#define MAIL_ACCOUNTS_DIALOG_CLASS(k)    (GTK_CHECK_CLASS_CAST((k), MAIL_ACCOUNTS_DIALOG_TYPE, MailAccountsDialogClass))
44#define IS_MAIL_ACCOUNTS_DIALOG(o)       (GTK_CHECK_TYPE ((o), MAIL_ACCOUNTS_DIALOG_TYPE))
45#define IS_MAIL_ACCOUNTS_DIALOG_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), MAIL_ACCOUNTS_DIALOG_TYPE))
46
47struct _MailAccountsDialog {
48        GnomeDialog parent;
49       
50        GNOME_Evolution_Shell shell;
51       
52        GladeXML *gui;
53       
54        const GSList *accounts;
55        gint accounts_row;
56       
57        /* Accounts page */
58        GtkCList *mail_accounts;
59        GtkButton *mail_add;
60        GtkButton *mail_edit;
61        GtkButton *mail_delete;
62        GtkButton *mail_default;
63        GtkButton *mail_able;
64       
65        const GSList *news;
66        gint news_row;
67       
68        /* News page */
69        GtkCList *news_accounts;
70        GtkButton *news_add;
71        GtkButton *news_edit;
72        GtkButton *news_delete;
73       
74        /* Display page */
75        GtkToggleButton *citation_highlight;
76        GnomeColorPicker *citation_color;
77        GtkToggleButton *timeout_toggle;
78        GtkSpinButton *timeout;
79        GtkToggleButton *images_always, *images_sometimes, *images_never;
80        /*GtkToggleButton *thread_list;*/
81        /*GtkToggleButton *show_preview;*/
82       
83        /* Composer page */
84        GtkToggleButton *send_html;
85        GtkOptionMenu *forward_style;
86        GtkOptionMenu *charset;
87        GtkToggleButton *prompt_empty_subject;
88        GtkToggleButton *prompt_bcc_only;
89        GtkToggleButton *prompt_unwanted_html;
90       
91        /* Other page */
92        GtkToggleButton *empty_trash;
93        GtkToggleButton *filter_log;
94        GnomeFileEntry *filter_log_path;
95        GtkToggleButton *confirm_expunge;
96       
97        /* PGP page */
98        GnomeFileEntry *pgp_path;
99
100        /* Pixmaps for the clist */
101        GdkPixmap *mark_pixmap;
102        GdkBitmap *mark_bitmap;
103};
104
105typedef struct _MailAccountsDialog MailAccountsDialog;
106
107typedef struct {
108        GnomeDialogClass parent_class;
109       
110        /* signals */
111       
112} MailAccountsDialogClass;
113
114GtkType mail_accounts_dialog_get_type (void);
115
116MailAccountsDialog *mail_accounts_dialog_new (GNOME_Evolution_Shell shell);
117
118#ifdef __cplusplus
119}
120#endif /* __cplusplus */
121
122#endif /* MAIL_ACCOUNTS_H */
Note: See TracBrowser for help on using the repository browser.