Op 4/1/2016 om 7:32 PM schreef Joshua Pettus:
Hey Harm,
I know I brought it up before, but that GTK widget for fonts is so nice, it
made me think about it again.
Couldn’t we take the color selection portion of the board menu and put it in a
function. Have that function be defined one way for XAW and have it defined in
another way for GTK utalizing the GTK Color picker?
Well, the simplest way to do this was through a rather ugly hack with
simply ignores any button called R, G or B in the GTK GenericPopUp, and
uses the GtkColorButton for any button called 'D', and connects a
special handler for those. (As we know such buttons occur only in the
Board dialog in this very special.)
I have now done that. The price is that I had to use some deprecated
stuff, (GdkColor instead of GdkRGBA), as the earlier code also did,
because the newer stuff doesn't work for me. So this change will no
doubt cause merge conflicts with the GTK3 patches. But if you like the
result I think we should go for it.