invalidate the buffer when the widget's sensitivity changes. Draw a

2005-06-04  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpcolorarea.[ch]: invalidate the buffer when
	the widget's sensitivity changes. Draw a stipple pattern on the
	insensitive color area.

	* libgimpwidgets/gimpcellrenderercolor.c: follow internal API change.

	* libgimpwidgets/gimpcolorbutton.c: pass GDK_BUTTON1_MASK as
	drag-mask. Doesn't work for whatever reason but it didn't work
	with GDK_BUTTON2_MASK either.
This commit is contained in:
Sven Neumann
2005-06-04 12:02:36 +00:00
committed by Sven Neumann
parent 525de1b084
commit 80d4e4f5b0
5 changed files with 70 additions and 18 deletions

View File

@ -277,7 +277,8 @@ gimp_cell_renderer_color_render (GtkCellRenderer *cell,
buf = g_alloca (rowstride * (rect.height - 2));
_gimp_color_area_render_buf ((color->opaque ?
_gimp_color_area_render_buf (widget,
(color->opaque ?
GIMP_COLOR_AREA_FLAT :
GIMP_COLOR_AREA_SMALL_CHECKS),
buf,