-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changing to custom colors error #182
Labels
Comments
Same here, using Qubes OS with Fedora 29 TemplateVM |
But you used it with the |
Not really, I used it with the GUI. But calling the script from the terminal. |
I'm still running into this bug now, I want to change the colours of the icons to match Adwaita |
Same issue - full stack trace:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Downloaded latest version and used on Ubuntu 18.04. I got an error when trying to change to custom colors:
Traceback (most recent call last): File "/home/khaume/Downloads/numix-folders-master/gui/gui", line 351, in colourbutton_changed self.colour[arg] = gdk_to_hex(colour) File "/home/khaume/Downloads/numix-folders-master/gui/gui", line 33, in gdk_to_hex return "#" + "".join(["%02x" % (colour * 255) for colour in colours]) File "/home/khaume/Downloads/numix-folders-master/gui/gui", line 33, in <listcomp> return "#" + "".join(["%02x" % (colour * 255) for colour in colours]) TypeError: %x format: an integer is required, not float
I changed line 33 in gui/gui to cast the color to int, which solved it:
return "#" + "".join(["%02x" % int(colour * 255) for colour in colours])
The text was updated successfully, but these errors were encountered: