aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-accounts.h
blob: be7898ad8c7a5e5cada305ce7b746c448f540efa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
 *  Authors: Jeffrey Stedfast <fejj@helixcode.com>
 *
 *  Copyright 2001 Helix Code, Inc. (www.helixcode.com)
 *
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 2 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program; if not, write to the Free Software
 *  Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA.
 *
 */

#ifndef MAIL_ACCOUNTS_H
#define MAIL_ACCOUNTS_H

#ifdef __cplusplus
extern "C" {
#pragma }
#endif /* __cplusplus */

#include <gtk/gtkclist.h>
#include <gtk/gtktogglebutton.h>
#include <gtk/gtkoptionmenu.h>
#include <gtk/gtkspinbutton.h>
#include <libgnomeui/gnome-color-picker.h>
#include <libgnomeui/gnome-dialog.h>
#include <libgnomeui/gnome-file-entry.h>
#include <glade/glade.h>
#include <camel.h>
#include <shell/Evolution.h>

#define MAIL_ACCOUNTS_DIALOG_TYPE        (mail_accounts_dialog_get_type ())
#define MAIL_ACCOUNTS_DIALOG(o)          (GTK_CHECK_CAST ((o), MAIL_ACCOUNTS_DIALOG_TYPE, MailAccountsDialog))
#define MAIL_ACCOUNTS_DIALOG_CLASS(k)    (GTK_CHECK_CLASS_CAST((k), MAIL_ACCOUNTS_DIALOG_TYPE, MailAccountsDialogClass))
#define IS_MAIL_ACCOUNTS_DIALOG(o)       (GTK_CHECK_TYPE ((o), MAIL_ACCOUNTS_DIALOG_TYPE))
#define IS_MAIL_ACCOUNTS_DIALOG_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), MAIL_ACCOUNTS_DIALOG_TYPE))

struct _MailAccountsDialog {
    GnomeDialog parent;
    
    GNOME_Evolution_Shell shell;
    
    GladeXML *gui;
    
    const GSList *accounts;
    gint accounts_row;

    /* Accounts page */
    GtkCList *mail_accounts;
    GtkButton *mail_add;
    GtkButton *mail_edit;
    GtkButton *mail_delete;
    GtkButton *mail_default;
    GtkButton *mail_able;
    
    const GSList *news;
    gint news_row;

    /* News page */
    GtkCList *news_accounts;
    GtkButton *news_add;
    GtkButton *news_edit;
    GtkButton *news_delete;
    
    /* Display page */
    GtkToggleButton *citation_highlight;
    GnomeColorPicker *citation_color;
    GtkSpinButton *timeout;
    GtkToggleButton *images_always, *images_sometimes, *images_never;

    /* Composer page */
    GtkToggleButton *send_html;
    GtkOptionMenu *forward_style;
    GtkOptionMenu *charset;

    /* PGP page */
    GnomeFileEntry *pgp_path;
};

typedef struct _MailAccountsDialog MailAccountsDialog;

typedef struct {
    GnomeDialogClass parent_class;
    
    /* signals */
    
} MailAccountsDialogClass;

GtkType mail_accounts_dialog_get_type (void);

MailAccountsDialog *mail_accounts_dialog_new (GNOME_Evolution_Shell shell);

#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif /* MAIL_ACCOUNTS_H */
mmit/comms?h=mate-1.20&id=bf24fffa954f7126ff16586dd161ce0b2f25c45d'>Update to version 1.1kevlo2001-08-132-2/+2 * Update to new version.bsd2001-08-122-2/+2 * Don't install ceptd setuid root: it's a daemon you run as root fromkris2001-08-112-1/+2 * Correct MASTER_SITESbrian2001-08-112-3/+3 * Unmark brokenbrian2001-08-111-3/+2 * Mark this port broken. The archive has not been obtainable for at leastbrian2001-08-111-0/+2 * Fix installation, broken by last commitlioux2001-08-061-2/+2 * o Switch over maintainership to submitterlioux2001-08-042-17/+25 * o Add USE_X_PREFIX (implies USE_XLIB)lioux2001-07-301-0/+3 * Use user:group in call to chown.steve2001-07-261-1/+1 * remove empty directorydinoex2001-07-121-0/+1 * Update MASTER_SITESsobomax2001-07-091-1/+1 * The purpose of this utility is to provide an easy way to flashdinoex2001-07-076-0/+53 * Remove duplicate words where appropriate.dd2001-06-251-1/+1 * Place port docs where they all go.kevlo2001-06-152-6/+11 * Version update.bsd2001-06-142-2/+2 * Fix lib dependency to make bento happy.kevlo2001-06-101-0/+1 * Please bentodwcjr2001-06-081-0/+1 * Maintainer address change: dom@myrddin.demon.co.uk -> dom@happygiraffe.netroam2001-06-071-2/+2 * upgrade to 1.1ijliao2001-06-055-12/+52 * Add mwavem 1.0, a loadable module and user excutable to support IBMwill2001-05-207-0/+178 * Revert to 4.1b2; the security hole in the vendor distribution of thiskris2001-05-082-5/+4 * Somehow I botched this upgrade -- I must have been building the previouskris2001-05-081-1/+2 * Update to hylafax 4.1b3kris2001-05-062-4/+4 * Some port related improvements, no functional changes in mgetty itself.olgeni2001-05-046-32/+43 * Updates this abandoned port to a usable version (0.3.3 pre22) that:greid2001-05-0313-105/+276 * Update to version 2.0.2lioux2001-05-022-2/+2 * Add tits 1.0.2, a server which provides telnet(1) access to one orsobomax2001-04-189-0/+99 * Remove setuid root bit from hfaxd and fix a format string error which waskris2001-04-172-1/+23 * Mark FORBIDDEN; this port allows a local exploit yielding uid uucpkris2001-04-171-0/+2 * Add yawmppp 2.0.1, a Window Maker dockapp that helps with easy usewill2001-04-166-0/+58 * update comms/qico to 0.48.5mharo2001-04-054-6/+4 * Overhaul QT/KDE support:will2001-04-032-13/+3 * Add pr 1.0, a daemon that connects local terminal device to awill2001-03-316-0/+48 * Fix package building.okazaki2001-03-206-4/+12 * Replace WITHOUT_QICO_MORDA option to WITH_QICO_MORDAkevlo2001-03-112-4/+4 * Upgrade to 4.30ache2001-03-114-4/+25 * Totally turn off the processing of MESSAGE until I can remember what theobrien2001-03-111-2/+2 * Deal with semi-bogus error reports from Bento.obrien2001-03-111-0/+2 * Add sms_client 3.0.2, a simple UNIX SMS client to send messages towill2001-03-117-0/+296 * Attempt to fix conflicts with a local getopt.h (specifically, the fix iswill2001-03-051-1/+1 * Lo and behold, welcome KDE 2.1 to our ports tree. As a direct result ofwill2001-02-273-44/+75 * Upgrade to version 1.1.25.02.01jmz2001-02-263-17/+4 * Version upgrade.bsd2001-02-262-2/+2 * Upgrade to version 1.2.bsd2001-02-183-3/+3 * Upgrade to version 0.48.4kevlo2001-02-176-16/+16 * typo clean up police: \s -> \tlioux2001-02-141-4/+4 * Don't try to use 'pkg-message' for now. I forgot to `cvs add` it when Iobrien2001-02-131-2/+2 * - Support CFLAGS properlykevlo2001-01-236-49/+49 * Massive style enforcement - use ^I instead of spaces for variables identation.sobomax2001-01-171-8/+8 * drop myself from MAINTAINER. too many KAME platforms to support,itojun2001-01-091-1/+1 * Upgrade to version 1.1.24-Jan07jmz2001-01-083-5/+18 * remove empty share/locale stuff.sf2001-01-051-4/+7 * Fix violations of COMMENT files.will2000-12-211-1/+1 * Upgrade to 2.0.1kevlo2000-12-123-8/+43 * - Support CC/CFLAGS properlysteve2000-12-112-31/+5 * Version update.bsd2000-12-112-2/+2 * Add a new port comms/comserv. From the pkg-descr file:bsd2000-12-046-0/+30 * ghostscript5 doesn't exist anymore, so change dependencies to ghostscript55.asami2000-11-251-1/+1 * Upgrade to version 8.5obrien2000-11-2318-371/+140 * Add $FreeBSD$, which help me in problem reports.obrien2000-11-221-0/+1 * Add $FreeBSD$.obrien2000-11-221-0/+2 * Add 'restart' and 'status' functionality.obrien2000-11-222-2/+20 * Update to 1.1.18.sobomax2000-11-212-2/+2 * Resign as maintainer of KDE2 ports, having brought them up from inceptionwill2000-11-181-1/+1 * Update to version 0.48.3kevlo2000-11-174-4/+4 * Better detecting of modem status lines.obrien2000-11-122-1/+28 * Make PREFIX clean and respect CFLAGS.obrien2000-11-115-35/+62 * Hylafax DISTFILE moved.fenner2000-11-081-1/+1 * - Update to version 0.48.2kevlo2000-11-046-16/+36 * New Port: comms/bayonnejeh2000-11-039-0/+324 * Update port to 0.48.1jedgar2000-11-024-20/+12 * Add two missed shared libs.will2000-11-021-0/+2 * Whitespace-only:sobomax2000-11-012-4/+4 * New Port: coms/vpb2jeh2000-11-016-0/+44 * Oops, forgot to remove -lqt2 along with -L${X11BASE}/lib, to allow peoplewill2000-10-291-2/+2 * Implement fix for configure scripts in regards to finding X libs onwill2000-10-291-3/+3 * Update to QT 2.2.1 / KDE 2.0 final release. At last! What a long road...will2000-10-253-89/+44 * Add definitions for new prefixes of German mobile phone networks (D1: 0170,se2000-10-211-0/+284 * Apply diffs submitted with PR 21367:se2000-10-213-21/+65 * Update to 0.48ade2000-10-136-8/+32 * Fix "DISTFILES".obrien2000-10-121-1/+1 * Change PKGDIR from pkg/ to . Also fix places where ${PKGDIR} isasami2000-10-08