Skip to content
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

Update hexa color value seem broken - Linux / Debian Wheezy (Crunchbang) #73

Closed
leNEKO opened this issue Apr 16, 2015 · 4 comments
Closed

Comments

@leNEKO
Copy link

leNEKO commented Apr 16, 2015

After color selection, the hex color value from the color picker is not sent to the editor. No error appears in the console.

Sublime build 3084 / Dev channel.

@lapega
Copy link

lapega commented Apr 16, 2015

Happens the same to me on Ubuntu 14.04, ST 3083.
Even if I copy or select the color in the picker window, closing the picker window will empty the clipboard.

@leNEKO
Copy link
Author

leNEKO commented Apr 16, 2015

Did some more investigation, the bug seems to come from the lib/linux_colorpicker.py which tell this

Traceback (most recent call last):
  File "/home/neko/.config/sublime-text-3/Packages/ColorPicker/lib/linux_colorpicker.py", line 27, in <module>
    if color_sel.run() == getattr(Gtk, 'RESPONSE_OK', Gtk.ResponseType.Ok):
AttributeError: type object 'GtkResponseType' has no attribute 'Ok'

@tonjo
Copy link
Contributor

tonjo commented Apr 16, 2015

Found the error! In a previous commit Gtk.ResponseType.OK was changed into Gtk.ResponseType.Ok, with k in Ok lowercase. Change it back uppercase and voila ;)

weslly added a commit that referenced this issue Apr 17, 2015
@weslly weslly closed this as completed Apr 17, 2015
@leNEKO
Copy link
Author

leNEKO commented Apr 17, 2015

nice, thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants