colorselector: Do not add custom palette color to the palette of config

Desktop / Enlightenment / Elementary - Ryuan Choi [gmail.com] - 17 February 2014 06:26 UTC

Summary: elm_colorselector_palette_color_add() clears the palette if config_load is true. It means that this API will add paletter color only for this colorselector object.

Fixes T786

Test Plan: Added elm_colorselector_palette.

Reviewers: seoz, raster

Maniphest Tasks: T786

Differential Revision: https://phab.enlightenment.org/D557

00dc69e colorselector: Do not add custom palette color to the palette of config
src/lib/elm_colorselector.c | 3 ---
src/tests/Makefile.am | 1 +
src/tests/elm_suite.c | 1 +
src/tests/elm_suite.h | 1 +
src/tests/elm_test_colorselector.c | 38 ++++++++++++++++++++++++++++++++++++
5 files changed, 41 insertions(+), 3 deletions(-)

Upstream: git.enlightenment.org


  • Share