#208 Fix default browser setting not recognized.
parent
4d641f33b6
commit
8f0710f4b5
|
@ -182,10 +182,10 @@ static SETTING gSettings[] = {
|
|||
// File Handler Class
|
||||
// ***keep this as the first entry because when aForAllTypes is not set below
|
||||
// it will skip over this check.***
|
||||
{ MAKE_KEY_NAME1("BasiliskHTML", SOC), VAL_OPEN, OLD_VAL_OPEN },
|
||||
{ MAKE_KEY_NAME1("CentauryHTML", SOC), VAL_OPEN, OLD_VAL_OPEN },
|
||||
|
||||
// Protocol Handler Class - for Vista and above
|
||||
{ MAKE_KEY_NAME1("BasiliskURL", SOC), VAL_OPEN, OLD_VAL_OPEN },
|
||||
{ MAKE_KEY_NAME1("CentauryURL", SOC), VAL_OPEN, OLD_VAL_OPEN },
|
||||
|
||||
// Protocol Handlers
|
||||
{ MAKE_KEY_NAME1("HTTP", DI), VAL_FILE_ICON },
|
||||
|
@ -199,10 +199,10 @@ static SETTING gSettings[] = {
|
|||
// are incorrect they are fixed without notifying the user.
|
||||
static SETTING gDDESettings[] = {
|
||||
// File Handler Class
|
||||
{ MAKE_KEY_NAME1("Software\\Classes\\BasiliskHTML", SOD) },
|
||||
{ MAKE_KEY_NAME1("Software\\Classes\\CentauryHTML", SOD) },
|
||||
|
||||
// Protocol Handler Class - for Vista and above
|
||||
{ MAKE_KEY_NAME1("Software\\Classes\\BasiliskURL", SOD) },
|
||||
{ MAKE_KEY_NAME1("Software\\Classes\\CentauryURL", SOD) },
|
||||
|
||||
// Protocol Handlers
|
||||
{ MAKE_KEY_NAME1("Software\\Classes\\FTP", SOD) },
|
||||
|
@ -339,7 +339,7 @@ IsAARDefault(const RefPtr<IApplicationAssociationRegistration>& pAAR,
|
|||
return false;
|
||||
}
|
||||
|
||||
LPCWSTR progID = isProtocol ? L"BasiliskURL" : L"BasiliskHTML";
|
||||
LPCWSTR progID = isProtocol ? L"CentauryURL" : L"CentauryHTML";
|
||||
bool isDefault = !wcsicmp(registeredApp, progID);
|
||||
CoTaskMemFree(registeredApp);
|
||||
|
||||
|
|
|
@ -182,10 +182,10 @@ static SETTING gSettings[] = {
|
|||
// File Handler Class
|
||||
// ***keep this as the first entry because when aForAllTypes is not set below
|
||||
// it will skip over this check.***
|
||||
{ MAKE_KEY_NAME1("PaleMoonHTML", SOC), VAL_OPEN, OLD_VAL_OPEN },
|
||||
{ MAKE_KEY_NAME1("MypalHTML", SOC), VAL_OPEN, OLD_VAL_OPEN },
|
||||
|
||||
// Protocol Handler Class - for Vista and above
|
||||
{ MAKE_KEY_NAME1("PaleMoonURL", SOC), VAL_OPEN, OLD_VAL_OPEN },
|
||||
{ MAKE_KEY_NAME1("MypalURL", SOC), VAL_OPEN, OLD_VAL_OPEN },
|
||||
|
||||
// Protocol Handlers
|
||||
{ MAKE_KEY_NAME1("HTTP", DI), VAL_FILE_ICON },
|
||||
|
@ -199,10 +199,10 @@ static SETTING gSettings[] = {
|
|||
// are incorrect they are fixed without notifying the user.
|
||||
static SETTING gDDESettings[] = {
|
||||
// File Handler Class
|
||||
{ MAKE_KEY_NAME1("Software\\Classes\\PaleMoonHTML", SOD) },
|
||||
{ MAKE_KEY_NAME1("Software\\Classes\\MypalHTML", SOD) },
|
||||
|
||||
// Protocol Handler Class - for Vista and above
|
||||
{ MAKE_KEY_NAME1("Software\\Classes\\PaleMoonURL", SOD) },
|
||||
{ MAKE_KEY_NAME1("Software\\Classes\\MypalURL", SOD) },
|
||||
|
||||
// Protocol Handlers
|
||||
{ MAKE_KEY_NAME1("Software\\Classes\\FTP", SOD) },
|
||||
|
@ -339,7 +339,7 @@ IsAARDefault(const RefPtr<IApplicationAssociationRegistration>& pAAR,
|
|||
return false;
|
||||
}
|
||||
|
||||
LPCWSTR progID = isProtocol ? L"PaleMoonURL" : L"PaleMoonHTML";
|
||||
LPCWSTR progID = isProtocol ? L"MypalURL" : L"MypalHTML";
|
||||
bool isDefault = !wcsicmp(registeredApp, progID);
|
||||
CoTaskMemFree(registeredApp);
|
||||
|
||||
|
|
|
@ -385,9 +385,9 @@ Section "-Application" APP_IDX
|
|||
|
||||
; In Win8, the delegate execute handler picks up the value in PaleMoonURL and
|
||||
; PaleMoonHTML to launch the desktop browser when it needs to.
|
||||
${AddDisabledDDEHandlerValues} "PaleMoonHTML" "$2" "$8,1" \
|
||||
${AddDisabledDDEHandlerValues} "MypalHTML" "$2" "$8,1" \
|
||||
"${AppRegName} Document" ""
|
||||
${AddDisabledDDEHandlerValues} "PaleMoonURL" "$2" "$8,1" "${AppRegName} URL" \
|
||||
${AddDisabledDDEHandlerValues} "MypalURL" "$2" "$8,1" "${AppRegName} URL" \
|
||||
"true"
|
||||
|
||||
; For pre win8, the following keys should only be set if we can write to HKLM.
|
||||
|
|
Loading…
Reference in New Issue