X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmodest-defs.h;h=71bd0078d01751e770d4c3fd6c4df8d2781c96dc;hp=0476fa6afeb4b0664c073c666e4f0e009c8da269;hb=d6c0ce729e5b3ac9eccf3ee838fe32aa3e982497;hpb=60586195317598c767ab5648de987c50761dd05a diff --git a/src/modest-defs.h b/src/modest-defs.h index 0476fa6..71bd007 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. @@ -242,8 +247,11 @@ const gchar *modest_defs_namespace (const gchar *string); /* Notification ids */ #define MODEST_CONF_NOTIFICATION_IDS (modest_defs_namespace ("/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