Commit Graph

4 Commits

Author SHA1 Message Date
Jehan 52f6a2aeb4 app: save color history when a color is used.
Now the history of recently used colors is not updated when selecting
in the color dialog anymore, but when a color is actually used.
Tools supported right now are: Ink, MyPaint brush, all PaintBrush tools,
bucket fill and eraser (background color on non-alpha drawables).
Moreover from now on, colors already saved are properly moved to first
position when reused.
2015-09-30 16:39:05 +02:00
Michael Natterer bf6e396f28 app: remove the int return value from gimp_palette_mru_add()
It's not needed any longer and was confusing anyway.
2014-11-29 13:38:12 +01:00
Michael Henning a94aa72d93 app: Use g_return_val_if_fail in gimp_palette_mru_add.
It's a non-void function.
2014-11-27 11:51:28 -05:00
Michael Natterer 09628cfa4c Bug 739489 - Add palette of recently used colors
Add a generated palette which contains the color history. For now it's
only updated when the color dialog's color history gets updated, but
should be updated whenever a color is chosen in any way.
2014-11-26 23:48:19 +01:00