X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmodest-defs.h;h=988ba1ae31c131f2aa6945de0544b9969aa5c0a7;hp=0476fa6afeb4b0664c073c666e4f0e009c8da269;hb=7477373e6c399ba5ffaaeb84d4ecd687420d1549;hpb=60586195317598c767ab5648de987c50761dd05a diff --git a/src/modest-defs.h b/src/modest-defs.h index 0476fa6..988ba1a 100644 --- a/src/modest-defs.h +++ b/src/modest-defs.h @@ -82,12 +82,12 @@ const gchar *modest_defs_namespace (const gchar *string); /* configuration key definitions for modest */ #define MODEST_CONF_NAMESPACE (modest_defs_namespace (NULL)) -/* the mapping files, there are two possibilities; used in modest_maemo_open_mcc_mapping_file */ +/* the mapping files, there are two possibilities; used in modest_utils_open_mcc_mapping_file */ #define MODEST_MCC_MAPPING PREFIX "/share/modest/provider-data/mcc_mapping" #define MODEST_OPERATOR_WIZARD_MCC_MAPPING "/usr/share/operator-wizard/mcc_mapping" #define MODEST_PROVIDER_DATA_FILE PREFIX "/share/modest/provider-data/modest-provider-data.keyfile" -#define MODEST_MAEMO_PROVIDER_DATA_FILE PREFIX "/share/modest/provider-data/maemo-provider-data.keyfile" +#define MODEST_FALLBACK_PROVIDER_DATA_FILE PREFIX "/share/modest/provider-data/fallback-provider-data.keyfile" #ifndef MODEST_TOOLKIT_GTK @@ -116,6 +116,11 @@ const gchar *modest_defs_namespace (const gchar *string); #define MODEST_CONF_SHOW_CC (modest_defs_namespace ("/show_cc")) #define MODEST_CONF_SHOW_BCC (modest_defs_namespace ("/show_bcc")) +/* Last used folders for insert images, attach file and save attachments */ +#define MODEST_CONF_LATEST_ATTACH_FILE_PATH (modest_defs_namespace ("/latest_attach_file_path")) +#define MODEST_CONF_LATEST_INSERT_IMAGE_PATH (modest_defs_namespace ("/latest_inset_image_path")) +#define MODEST_CONF_LATEST_SAVE_ATTACHMENT_PATH (modest_defs_namespace ("/latest_save_attachment_path")) + /* This is the alarmd cookie, obtained from alarm_event_add(), * which apparently remains valid between application instances. * We store it so that we can remove it later. @@ -235,15 +240,21 @@ const gchar *modest_defs_namespace (const gchar *string); #define MODEST_CONF_PREFER_FORMATTED_TEXT (modest_defs_namespace ("/prefer_formatted_text")) /* bool */ #define MODEST_CONF_REPLY_TYPE (modest_defs_namespace ("/reply_type")) /* int */ #define MODEST_CONF_FORWARD_TYPE (modest_defs_namespace ("/forward_type")) /* int */ +#define MODEST_CONF_NOTIFICATIONS (modest_defs_namespace ("/notifications")) /* bool */ +#define MODEST_CONF_AUTO_ADD_TO_CONTACTS (modest_defs_namespace ("/auto_add_to_contacs")) /* bool */ /* hidden global settings */ #define MODEST_CONF_FETCH_HTML_EXTERNAL_IMAGES (modest_defs_namespace ("/fetch_external_images")) /* bool */ /* Notification ids */ #define MODEST_CONF_NOTIFICATION_IDS (modest_defs_namespace ("/notification_ids")) /* list of ints */ +#define MODEST_ACCOUNT_NOTIFICATION_IDS "notification_ids" /* list of ints */ - +#ifdef MODEST_TOOLKIT_HILDON2 +#define MODEST_EXAMPLE_EMAIL_ADDRESS _("mcen_va_example_email_address") +#else #define MODEST_EXAMPLE_EMAIL_ADDRESS "first.last@example.com" +#endif /* max size of message we still allow to save/send when we're in low-mem