devicescale: Rename XFCE -> Xfce

This commit is contained in:
Hajime Hoshi 2018-01-04 17:16:02 +09:00
parent ee87a0fd71
commit 4bcb2e5682
2 changed files with 4 additions and 4 deletions

View File

@ -34,7 +34,7 @@ const (
desktopCinnamon desktopCinnamon
desktopUnity desktopUnity
desktopKDE desktopKDE
desktopXFCE desktopXfce
) )
func currentDesktop() desktop { func currentDesktop() desktop {
@ -49,7 +49,7 @@ func currentDesktop() desktop {
case "KDE": case "KDE":
return desktopKDE return desktopKDE
case "XFCE": case "XFCE":
return desktopXFCE return desktopXfce
default: default:
return desktopUnknown return desktopUnknown
} }
@ -115,7 +115,7 @@ func impl() float64 {
case desktopKDE: case desktopKDE:
// TODO: Implement // TODO: Implement
return 1 return 1
case desktopXFCE: case desktopXfce:
// TODO: Implement // TODO: Implement
return 1 return 1
} }

2
run.go
View File

@ -296,7 +296,7 @@ func SetWindowIcon(iconImages []image.Image) {
ui.SetWindowIcon(iconImages) ui.SetWindowIcon(iconImages)
} }
// DeviceScaleFactor returns a device scale value. // DeviceScaleFactor returns a device scale factor value.
// //
// DeviceScaleFactor returns a meaningful value on high-DPI display environment, // DeviceScaleFactor returns a meaningful value on high-DPI display environment,
// otherwise DeviceScaleFactor returns 1. // otherwise DeviceScaleFactor returns 1.