diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2015-04-05 16:33:26 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2015-04-14 14:40:19 +0200 |
commit | 6e38e8426aea797627e0d0307b1174220719948b (patch) | |
tree | 129eb0869769bc2fe46ea1603e664eb77ba4dfd7 /connectivity | |
parent | 6a2bb6d8fc70d5e212210114e511f67a5fd6651f (diff) |
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.cxx | 14 | ||||
-rw-r--r-- | connectivity/source/drivers/mozab/bootstrap/MNSFolders.cxx | 14 |
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", }; |