mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 398313 - "Java plugin doesn't show up in disabled state (Add-ons Manager)" [p=Mossop r+sr=jst a=blocking1.9+]
This commit is contained in:
parent
e2929cc66a
commit
ae7d90ecef
@ -278,12 +278,9 @@ nsPluginDirServiceProvider::GetFile(const char *prop, PRBool *persistant,
|
||||
}
|
||||
}
|
||||
} else if (nsCRT::strcmp(prop, NS_WIN_JRE_SCAN_KEY) == 0) {
|
||||
PRBool isJavaEnabled;
|
||||
nsXPIDLCString strVer;
|
||||
#ifdef OJI
|
||||
if ((NS_FAILED(prefs->GetBoolPref("security.enable_java", &isJavaEnabled))
|
||||
|| !isJavaEnabled) ||
|
||||
NS_FAILED(prefs->GetCharPref(prop, getter_Copies(strVer))))
|
||||
if (NS_FAILED(prefs->GetCharPref(prop, getter_Copies(strVer))))
|
||||
#endif /* OJI */
|
||||
return NS_ERROR_FAILURE;
|
||||
verBlock minVer;
|
||||
|
Loading…
Reference in New Issue
Block a user