fix custom colour setting
This commit is contained in:
parent
16db941204
commit
63c7d99c74
@ -378,7 +378,7 @@ class mintMenuConfig(object):
|
|||||||
return self.gdkRGBAToString(color)
|
return self.gdkRGBAToString(color)
|
||||||
|
|
||||||
def gdkRGBAToString(self, gdkRGBA):
|
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):
|
def moveUp(self, upButton):
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user