fix custom colour setting

This commit is contained in:
gm10 2019-02-11 12:05:20 +01:00
parent 16db941204
commit 63c7d99c74
No known key found for this signature in database
GPG Key ID: A981D4EA8CF993A9

View File

@ -378,7 +378,7 @@ class mintMenuConfig(object):
return self.gdkRGBAToString(color)
def gdkRGBAToString(self, gdkRGBA):
return "#%.2f%.2f%.2f" % (gdkRGBA.red * 256, gdkRGBA.green * 256, gdkRGBA.blue * 256)
return "#%.2X%.2X%.2X" % (int(gdkRGBA.red * 256), int(gdkRGBA.green * 256), int(gdkRGBA.blue * 256))
def moveUp(self, upButton):