summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2015-04-05 16:33:26 +0200
committerAndras Timar <andras.timar@collabora.com>2015-04-14 14:40:19 +0200
commit6e38e8426aea797627e0d0307b1174220719948b (patch)
tree129eb0869769bc2fe46ea1603e664eb77ba4dfd7 /connectivity
parent6a2bb6d8fc70d5e212210114e511f67a5fd6651f (diff)
tdf#90446 Revert "tdf#39279: Prioritise Thunderbird address books..."
I'll quote Lionel (I hate pretending I did the job when it's not the case :-)): " It was misguided; the order of entries in these arrays is not order of priority, but corresponds to the constants (which are used, with an offset of 1, as indexes into these arrays) in offapi/com/sun/star/mozilla/MozillaProductType.idl " This reverts commit 9b92d8afbabe564de703f8bc083723d97e765011. Change-Id: I166237285f13291083a506852d5217fc3ad59d45 Reviewed-on: https://gerrit.libreoffice.org/15164 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/mork/MNSFolders.cxx14
-rw-r--r--connectivity/source/drivers/mozab/bootstrap/MNSFolders.cxx14
2 files changed, 14 insertions, 14 deletions
diff --git a/connectivity/source/drivers/mork/MNSFolders.cxx b/connectivity/source/drivers/mork/MNSFolders.cxx
index 0b35c695518b..aae88b5f8061 100644
--- a/connectivity/source/drivers/mork/MNSFolders.cxx
+++ b/connectivity/source/drivers/mork/MNSFolders.cxx
@@ -66,25 +66,25 @@ namespace
static const char* DefaultProductDir[NB_PRODUCTS][NB_CANDIDATES] =
{
#if defined(XP_WIN)
- { "Thunderbird/", "Mozilla/Thunderbird/", NULL, NULL },
{ "Mozilla/SeaMonkey/", NULL, NULL, NULL },
- { "Mozilla/Firefox/", NULL, NULL, NULL }
+ { "Mozilla/Firefox/", NULL, NULL, NULL },
+ { "Thunderbird/", "Mozilla/Thunderbird/", NULL, NULL }
#elif defined(MACOSX)
- { "../Thunderbird/", NULL, NULL, NULL },
{ "../Mozilla/SeaMonkey/", NULL, NULL, NULL },
- { "Firefox/", NULL, NULL, NULL }
+ { "Firefox/", NULL, NULL, NULL },
+ { "../Thunderbird/", NULL, NULL, NULL }
#else
- { ".thunderbird/", ".mozilla-thunderbird/", ".mozilla/thunderbird/", ".icedove/" },
{ ".mozilla/seamonkey/", NULL, NULL, NULL },
- { ".mozilla/firefox/", NULL, NULL, NULL }
+ { ".mozilla/firefox/", NULL, NULL, NULL },
+ { ".thunderbird/", ".mozilla-thunderbird/", ".mozilla/thunderbird/", ".icedove/" }
#endif
};
static const char* ProductRootEnvironmentVariable[NB_PRODUCTS] =
{
- "MOZILLA_THUNDERBIRD_PROFILE_ROOT",
"MOZILLA_PROFILE_ROOT",
"MOZILLA_FIREFOX_PROFILE_ROOT",
+ "MOZILLA_THUNDERBIRD_PROFILE_ROOT",
};
diff --git a/connectivity/source/drivers/mozab/bootstrap/MNSFolders.cxx b/connectivity/source/drivers/mozab/bootstrap/MNSFolders.cxx
index 0b35c695518b..aae88b5f8061 100644
--- a/connectivity/source/drivers/mozab/bootstrap/MNSFolders.cxx
+++ b/connectivity/source/drivers/mozab/bootstrap/MNSFolders.cxx
@@ -66,25 +66,25 @@ namespace
static const char* DefaultProductDir[NB_PRODUCTS][NB_CANDIDATES] =
{
#if defined(XP_WIN)
- { "Thunderbird/", "Mozilla/Thunderbird/", NULL, NULL },
{ "Mozilla/SeaMonkey/", NULL, NULL, NULL },
- { "Mozilla/Firefox/", NULL, NULL, NULL }
+ { "Mozilla/Firefox/", NULL, NULL, NULL },
+ { "Thunderbird/", "Mozilla/Thunderbird/", NULL, NULL }
#elif defined(MACOSX)
- { "../Thunderbird/", NULL, NULL, NULL },
{ "../Mozilla/SeaMonkey/", NULL, NULL, NULL },
- { "Firefox/", NULL, NULL, NULL }
+ { "Firefox/", NULL, NULL, NULL },
+ { "../Thunderbird/", NULL, NULL, NULL }
#else
- { ".thunderbird/", ".mozilla-thunderbird/", ".mozilla/thunderbird/", ".icedove/" },
{ ".mozilla/seamonkey/", NULL, NULL, NULL },
- { ".mozilla/firefox/", NULL, NULL, NULL }
+ { ".mozilla/firefox/", NULL, NULL, NULL },
+ { ".thunderbird/", ".mozilla-thunderbird/", ".mozilla/thunderbird/", ".icedove/" }
#endif
};
static const char* ProductRootEnvironmentVariable[NB_PRODUCTS] =
{
- "MOZILLA_THUNDERBIRD_PROFILE_ROOT",
"MOZILLA_PROFILE_ROOT",
"MOZILLA_FIREFOX_PROFILE_ROOT",
+ "MOZILLA_THUNDERBIRD_PROFILE_ROOT",
};