Bug 526717 - remove non-working "Set as desktop background" from the UI for unsupported desktops. r=gavin

This commit is contained in:
Wolfgang Rosenauer
2012-04-02 22:43:12 +02:00
parent 6dd560a599
commit 9e0cad1539
5 changed files with 39 additions and 1 deletions

View File

@@ -561,6 +561,13 @@ nsWindowsShellService::IsDefaultBrowser(bool aStartupCheck,
return NS_OK;
}
NS_IMETHODIMP
nsWindowsShellService::GetCanSetDesktopBackground(bool* aResult)
{
*aResult = true;
return NS_OK;
}
NS_IMETHODIMP
nsWindowsShellService::SetDefaultBrowser(bool aClaimAllTypes, bool aForAllUsers)
{