GNOME Bugzilla – Bug 792103
Unify color pickers
Last modified: 2018-01-02 11:09:42 UTC
Default/bold/cursor/highlight text/background color pickers use a different kind of color picker dialog than the 16 palette entries.
I think they're just missing this bit: #if GTK_CHECK_VERSION (3, 19, 8) g_object_set (w, "show-editor", TRUE, NULL); #endif
Haha, there's a corresponding "ATTENTION: HACK HACK HACK!" in profile-editor.c. Maybe the current behavior is intentional (or can be reasoned as if it was). For the 16 colors there's not much point in showing the "pick one from the palette" dialog since the chances of a user wanting to re-use something is minimal. For the bold/etc. colors there's a higher chance of them wanting to re-use a previously picked color. Or maybe we should just ditch all these hacks and go with GTK+'s default, even if a tiny bit less usable for this particular scenario?
It's only a hack on gtk < 3.20, so that's fine; I got it fixed there for 3.20. The current behaviour wasn't intentional; when I did this I simply forgot to do the non-palette colourpickers. And IMHO the 'pick from these few colours' mode of the colourpicker is *never* useful, so I think we should do the g_object_set() also for the other colourpickers.