Bill Skaggs <weskaggs@primate.ucdavis.edu>

* libgimpwidgets/gimpcolorscales.c (gimp_color_scales_update_scales):
	Block callback when updating hex entry, fixes bug #169882.
This commit is contained in:
William Skaggs 2005-03-20 23:16:15 +00:00
parent f76b79ae26
commit 89a76c042f
2 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2005-03-20 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* libgimpwidgets/gimpcolorscales.c (gimp_color_scales_update_scales):
Block callback when updating hex entry, fixes bug #169882.
2005-03-20 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/core/gimpimage-convert.c: check for non-empty palette

View File

@ -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