diff src/image.c @ 273:e0e2c2b72c5a

reworked the histogram patch by Uwe Ohse, most of the code is in separate files
author nadvornik
date Tue, 08 Apr 2008 20:56:50 +0000
parents 7754bfc0d98a
children 9995c5fb202a
line wrap: on
line diff
--- a/src/image.c	Tue Apr 08 17:26:13 2008 +0000
+++ b/src/image.c	Tue Apr 08 20:56:50 2008 +0000
@@ -248,6 +248,7 @@
 			pixbuf_desaturate_rect(pr->pixbuf,
 					       0, 0,  pr->image_width, pr->image_height);
 			image_area_changed(imd, 0, 0, pr->image_width, pr->image_height);
+			layout_image_overlay_update(layout_find_by_image(imd));
 			break;
 		case ALTER_NONE:
 		default:
@@ -285,6 +286,7 @@
 		}
 
 	if (exif_rotate) image_state_set(imd, IMAGE_STATE_ROTATE_AUTO);
+	layout_image_overlay_update(layout_find_by_image(imd));
 }
 
 static void image_post_process_alter(ImageWindow *imd, gint clamp)