diff --git a/ChangeLog b/ChangeLog index c3b7b7793b..7742ad1b5a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-03-20 Bill Skaggs + + * libgimpwidgets/gimpcolorscales.c (gimp_color_scales_update_scales): + Block callback when updating hex entry, fixes bug #169882. + 2005-03-20 Bill Skaggs * app/core/gimpimage-convert.c: check for non-empty palette diff --git a/libgimpwidgets/gimpcolorscales.c b/libgimpwidgets/gimpcolorscales.c index 482be9cfbb..d48fb9667f 100644 --- a/libgimpwidgets/gimpcolorscales.c +++ b/libgimpwidgets/gimpcolorscales.c @@ -376,8 +376,16 @@ gimp_color_scales_update_scales (GimpColorScales *scales, &selector->rgb, &selector->hsv); } + g_signal_handlers_block_by_func (scales->hex_entry, + gimp_color_scales_entry_changed, + scales); + gimp_color_hex_entry_set_color (GIMP_COLOR_HEX_ENTRY (scales->hex_entry), &selector->rgb); + + g_signal_handlers_unblock_by_func (scales->hex_entry, + gimp_color_scales_entry_changed, + scales); } static void