Problem:
On certain linux distros (tested on RedHat Enterprise) an older version of Py GTK is installed by default. This commit adds support for older versions of PyGTK (specifically 2 instead of the newer version 3).
Solution:
Provide backwards compatibility for GTK2, without hurting support for GTK3.
Testing:
Tested that the color picker:
opens
is cancelable/closeable
color chosen is passed back to sublime
if the user had previously selected a color in sublime, the color picker is pre-filled with that color
... in GTK 2 environment.
Also tested for GTK3, which was already supported.
Problem: On certain linux distros (tested on RedHat Enterprise) an older version of Py GTK is installed by default. This commit adds support for older versions of PyGTK (specifically 2 instead of the newer version 3).
Solution: Provide backwards compatibility for GTK2, without hurting support for GTK3.
Testing: Tested that the color picker:
Also tested for GTK3, which was already supported.
Fixes #65