Bug 662324 - Add "Fill" and "Fit" position support for "Set As Desktop Background...". r=gavin
This commit is contained in:
@@ -427,6 +427,10 @@ nsGNOMEShellService::SetDesktopBackground(nsIDOMElement* aElement,
|
||||
options.Assign("wallpaper");
|
||||
else if (aPosition == BACKGROUND_STRETCH)
|
||||
options.Assign("stretched");
|
||||
else if (aPosition == BACKGROUND_FILL)
|
||||
options.Assign("zoom");
|
||||
else if (aPosition == BACKGROUND_FIT)
|
||||
options.Assign("scaled");
|
||||
else
|
||||
options.Assign("centered");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user