/* * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) version 3. * * 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with the program; if not, see * * * Authors: * Jeffrey Stedfast * * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com) * */ #ifndef MAIL_CONFIG_H #define MAIL_CONFIG_H #include #include #include "camel/camel-provider.h" /* can't forward-declare enums, bah */ struct _EAccount; struct _EAccountList; struct _EAccountService; struct _ESignature; struct _ESignatureList; struct _GConfClient; struct _GtkWindow; struct _CamelFolder; #ifdef __cplusplus extern "C" { #pragma } #endif /* __cplusplus */ typedef struct _MailConfigSignature { int id; char *name; char *filename; char *script; gboolean html; } MailConfigSignature; typedef enum { MAIL_CONFIG_HTTP_NEVER, MAIL_CONFIG_HTTP_SOMETIMES, MAIL_CONFIG_HTTP_ALWAYS } MailConfigHTTPMode; typedef enum { MAIL_CONFIG_FORWARD_ATTACHED, MAIL_CONFIG_FORWARD_INLINE, MAIL_CONFIG_FORWARD_QUOTED } MailConfigForwardStyle; typedef enum { MAIL_CONFIG_REPLY_QUOTED, MAIL_CONFIG_REPLY_DO_NOT_QUOTE, MAIL_CONFIG_REPLY_ATTACH, MAIL_CONFIG_REPLY_OUTLOOK } MailConfigReplyStyle; typedef enum { MAIL_CONFIG_DISPLAY_NORMAL, MAIL_CONFIG_DISPLAY_FULL_HEADERS, MAIL_CONFIG_DISPLAY_SOURCE, MAIL_CONFIG_DISPLAY_MAX } MailConfigDisplayStyle; typedef enum { MAIL_CONFIG_XMAILER_NONE = 0, MAIL_CONFIG_XMAILER_EVO = 1, MAIL_CONFIG_XMAILER_OTHER = 2, MAIL_CONFIG_XMAILER_RUPERT_APPROVED = 4 } MailConfigXMailerDisplayStyle; /* Configuration */ void mail_config_init (void); void mail_config_clear (void); void mail_config_write (void); void mail_config_write_on_exit (void); struct _GConfClient *mail_config_get_gconf_client (void); /* General Accessor functions */ gboolean mail_config_is_configured (void); gboolean mail_config_is_corrupt (void); GSList *mail_config_get_labels (void); const char **mail_config_get_allowable_mime_types (void); void mail_config_service_set_save_passwd (struct _EAccountService *service, gboolean save_passwd); /* accounts */ gboolean mail_config_find_account (struct _EAccount *account); struct _EAccount *mail_config_get_default_account (void); struct _EAccount *mail_config_get_account_by_name (const char *account_name); struct _EAccount *mail_config_get_account_by_uid (const char *uid); struct _EAccount *mail_config_get_account_by_source_url (const char *url); struct _EAccount *mail_config_get_account_by_transport_url (const char *url); struct _EAccountList *mail_config_get_accounts (void); void mail_config_add_account (struct _EAccount *account); void mail_config_remove_account (struct _EAccount *account); void mail_config_set_default_account (struct _EAccount *account); int mail_config_get_address_count (void); int mail_config_get_message_limit (void); gboolean mail_config_get_enable_magic_spacebar (void); void mail_config_remove_account_proxies (struct _EAccount *account); void mail_config_prune_proxies (void); int mail_config_has_proxies (struct _EAccount *account); struct _EAccountIdentity *mail_config_get_default_identity (void); struct _EAccountService *mail_config_get_default_transport (void); void mail_config_save_accounts (void); /* signatures */ struct _ESignature *mail_config_signature_new (const char *filename, gboolean script, gboolean html); struct _ESignature *mail_config_get_signature_by_uid (const char *uid); struct _ESignature *mail_config_get_signature_by_name (const char *name); struct _ESignatureList *mail_config_get_signatures (void); void mail_config_add_signature (struct _ESignature *signature); void mail_config_remove_signature (struct _ESignature *signature); void mail_config_save_signatures (void); char *mail_config_signature_run_script (const char *script); /* uri's got changed by the store, etc */ void mail_config_uri_renamed (GCompareFunc uri_cmp, const char *old, const char *new); void mail_config_uri_deleted (GCompareFunc uri_cmp, const char *uri); /* static utility functions */ char *mail_config_folder_to_cachename (struct _CamelFolder *folder, const char *prefix); char *mail_config_folder_to_safe_url (struct _CamelFolder *folder); guint mail_config_get_error_timeout (void); guint mail_config_get_error_level (void); gint mail_config_get_sync_timeout (void); void mail_config_reload_junk_headers (void); gboolean mail_config_get_lookup_book (void); gboolean mail_config_get_lookup_book_local_only (void); gboolean mail_config_scripts_disabled (void); GType evolution_mail_config_get_type (void); gboolean evolution_mail_config_factory_init (void); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* MAIL_CONFIG_H */ td>-70/+92 * Remove unused e_date_edit_have_time().Matthew Barnes2012-07-181-17/+0 * EDateEdit cleanups.Matthew Barnes2012-07-181-8/+9 * Do not call g_object_notify() when property didn't changeMilan Crha2012-06-181-3/+6 * Adapt to single-include E-D-S libraries.Matthew Barnes2012-06-041-3/+3 * Coding style and whitespace cleanup.Matthew Barnes2012-02-201-32/+38 * The EExtension framework is now in libebackend.Matthew Barnes2011-09-261-1/+1 * Coding style and whitespace cleanup.Matthew Barnes2011-09-041-148/+151 * Coding style and whitespace cleanups.Matthew Barnes2011-06-091-2/+2 * Coding style and whitespace cleanup.Matthew Barnes2011-05-221-27/+37 * Whitespace and coding style cleanups.Matthew Barnes2011-05-081-1/+2 * Coding style and whitespace cleanup.Matthew Barnes2011-03-061-1/+2 * Fix Gtk-Doc comment notation.Matthew Barnes2011-03-021-3/+5 * Bug #614480 - Avoid using G_TYPE_INSTANCE_GET_PRIVATE repeatedlyMilan Crha2011-02-251-5/+1 * More whitespace cleanup.Matthew Barnes2011-01-311-7/+7 * Coding style and whitespace cleanup.Matthew Barnes2011-01-301-1/+3 * Various critical warnings about comp-editor-pages and date editMilan Crha2011-01-251-0/+1 * Drop backward-compatibility cruft.Matthew Barnes2011-01-251-14/+2 * Fudge gtk_widget_get_preferred_size() for gtk2.Matthew Barnes2011-01-151-4/+4 * Bug #633779 - GtkComboBoxText issuesMilan Crha2010-11-181-11/+0 * Coding style and whitespace cleanup.Matthew Barnes2010-11-081-1/+1 * Workaround GtkComboBoxText/GtkComboBoxEntry in .ui filesMilan Crha2010-10-281-6/+18 * Deal with GtkComboBoxEntry removal in gtk+-3.0.Matthew Barnes2010-10-211-0/+9 * Bug 632641 - Handle combo box text API going awayMatthias Clasen2010-10-211-3/+3 * Replace EBinding with GBinding.Matthew Barnes2010-10-141-3/+3 * Use new GDK keysym names if available.Matthew Barnes2010-09-181-8/+11 * Coding style and whitespace cleanups.Matthew Barnes2010-09-121-1/+1 * Coding style and whitespace cleanup.Matthew Barnes2010-08-291-17/+17 * GObject boilerplate cleanup.Matthew Barnes2010-08-251-2/+5 * Bug #620815 - Memory leaks with EvolutionMilan Crha2010-06-251-0/+1 * Giant leap towards GSEAL compliance.Matthew Barnes2010-04-081-4/+0 * Add extensions to configure calender widgets.Matthew Barnes2010-03-201-30/+9 * Work around recent GTK+ deprecations.Matthew Barnes2010-03-051-0/+4 * Baby steps toward GSEAL compliance.Matthew Barnes2010-01-141-41/+66 * Coding style and whitespace cleanup.Matthew Barnes2010-01-041-28/+50 * Bug #329693 - Add contexts to translated "None" wordsMilan Crha2009-12-241-2/+3 * Bug #605192 - New memo window has start date as NoneMilan Crha2009-12-231-1/+1 * Bug 589153 - Use GtkBuilder instead of libgladeMatthew Barnes2009-11-171-9/+127 * Bug #404227 - Over-aggressive appointment editor date checkMilan Crha2009-10-161-1/+13 * Replace more "config" classes with property bindings.Matthew Barnes2009-08-061-123/+213 * More whitespace cleanup.Matthew Barnes2009-07-191-1/+1 * Fix excessive whitespace.Matthew Barnes2009-07-141-60/+0 * Bug #525689 - Do not show all days as Sunday in a comp-editorMilan Crha2009-07-031-0/+6 * More code cleanup.Matthew Barnes2009-06-021-3/+3 * Whitespace cleanup.Matthew Barnes2009-05-291-2/+2 * Prefer GLib basic types over C types.Matthew Barnes2009-05-291-11/+11 * Remove trailing whitespace, again.Matthew Barnes2009-05-291-3/+3 * GN-bug #572348 - Removed deprecated Gtk+ symbolsMilan Crha2009-04-241-1/+1 * Bug 577929 – Consolidate marshallersMatthew Barnes2009-04-231-1/+0 * ** Fix for bug #559027Milan Crha2009-02-251-2/+4 * License changes.Sankarasivasubramanian Pasupathilingam2008-10-181-8/+6 * Change License from GPL to LGPL.Sankarasivasubramanian Pasupathilingam2008-10-011-18/+14 * updated novell copyright notices (left others alone)Jeffrey Stedfast2008-06-211-1/+1 * ** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES andMatthew Barnes2008-06-061-15/+0 * Migrate from gtk_window_set_policy() to gtk_window_set_resizable() andKjartan Maraas2008-06-041-2/+1 * ** Fixes bug #534360Matthew Barnes2008-05-231-4/+4 * ** Fix for bug #529893Danny Baumann2008-04-251-0/+2 * ** Fixes bug #529641Matthew Barnes2008-04-231-1/+1 * ** Fix for bug #339813Milan Crha2008-01-071-7/+41 * ** Fixes bug 474651Tobias Mueller2007-12-141-2/+2 * ** Remove trailing whitespace from source code.Matthew Barnes2007-11-151-13/+13 * ** Fix for bug #231166Milan Crha2007-11-051-38/+88 * ** Fix for bug #351932Milan Crha2007-11-051-0/+14 * Fix for bug #461195 from Hiroyuki Ikezoe.Matthew Barnes2007-09-281-1/+1 * Update FSF address in header comments (#469886). Patch from TobiasMatthew Barnes2007-09-021-1/+1 * Fixes #387844Chenthill Palanisamy2007-07-091-1/+1 * Fix compilation warnings in widgets folder (#441014).Matthew Barnes2007-06-031-2/+2 * Fixes #439049.Wang Xin2007-05-211-1/+2 * Massive code cleanup (bug #429422)Matthew Barnes2007-04-201-4/+2 * Use e_time_format_time to ensure evolution and evolution- data-server useJeff Cai2007-04-091-7/+4 * ** Fixes bug #419524Matthew Barnes2007-03-211-1/+1 * Make two strings translatable.Francisco Javier F. Serrador2006-10-031-2/+2 * Fix for bug 341333Srinivasa Ragavan2006-07-141-3/+3 * ** Fixes bug #345402Li Yuan2006-07-111-1/+3 * Removing aggressive time check when entering a date in the editor. FixesJohnny Jacob2006-06-091-1/+1 * a11y changes for bug #330723Karsten Bräckelmann2006-02-111-4/+4 * Tons of cleanups of the following sort: - remove unused vars - removeKjartan Maraas2006-01-301-13/+4 * fixes #250754Chenthill Palanisamy2006-01-301-3/+3 * Remove e-util-marshal.list in current directory, and use the copy inSimon Zheng2006-01-111-1/+1 * Use e_util_mkdir_hier() instead of e_mkdir_hier().Simon Zheng2006-01-101-0/+1 * e-dateedit.c Include e-time-utils.h from libedataserver instead of usingTor Lillqvist2005-11-241-1/+1 * Commiting Johnny Jacob's patch on EDateEditSrinivasa Ragavan2005-11-241-1/+53 * Adjusted the size of date edit widgets.Chenthill Palanisamy2005-11-141-2/+2 * Set a size for the date edit widgets, so that it doesnt expand too much.Srinivasa Ragavan2005-11-141-0/+2 * Retired GAL from Head. The relevant files have moved inside evolution.Kaushal Kumar2005-06-171-1/+1 * add relation to date_button.Li Yuan2005-05-311-0/+1 * Fix the bug 303856. Enables OK button when arrow key used to change theSrinivasa Ragavan2005-05-121-0/+22 * return the entry of the date edit.Hao Sheng2005-01-181-0/+9 * Add a name for timezone combox. Make accessibility name and descriptionLi Yuan2004-11-011-0/+60 * enlarge the text box to accomodate the time info in different locales.Kidd Wang2004-03-121-2/+0 * Create the arrows in these widgets as GTK_SHADOW_NONE, since the defaultRodney Dawes2004-02-271-1/+1 * Fix for bugzilla bug #51624 and #51627.Harry Lu2003-12-05