resize the cursor label if the shrink_wrap flag is set. Closes #21936.

2000-10-02  Michael Natterer  <mitch@gimp.org>

	* app/undo.c: resize the cursor label if the shrink_wrap flag is
	set. Closes #21936.
This commit is contained in:
Michael Natterer 2000-10-01 23:04:03 +00:00 committed by Michael Natterer
parent 4eeb875946
commit b0cd835d08
3 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2000-10-02 Michael Natterer <mitch@gimp.org>
* app/undo.c: resize the cursor label if the shrink_wrap flag is
set. Closes #21936.
2000-10-01 Michael Natterer <mitch@gimp.org>
* app/gimpbrush.c

View File

@ -467,6 +467,7 @@ pop_stack (GImage *gimage,
/* If the shrink_wrap flag was set */
if (shrink_wrap)
{
gdisplays_resize_cursor_label (gimage);
gdisplays_shrink_wrap (gimage);
shrink_wrap = FALSE;
}
@ -2499,11 +2500,10 @@ undo_pop_resolution (GImage *gimage,
tmpunit = gimage->unit;
gimage->unit = data->unit;
data->unit = tmpunit;
gdisplays_resize_cursor_label (gimage);
}
/* really just want to recalc size and repaint */
gdisplays_shrink_wrap (gimage);
shrink_wrap = TRUE;
return TRUE;
}

View File

@ -467,6 +467,7 @@ pop_stack (GImage *gimage,
/* If the shrink_wrap flag was set */
if (shrink_wrap)
{
gdisplays_resize_cursor_label (gimage);
gdisplays_shrink_wrap (gimage);
shrink_wrap = FALSE;
}
@ -2499,11 +2500,10 @@ undo_pop_resolution (GImage *gimage,
tmpunit = gimage->unit;
gimage->unit = data->unit;
data->unit = tmpunit;
gdisplays_resize_cursor_label (gimage);
}
/* really just want to recalc size and repaint */
gdisplays_shrink_wrap (gimage);
shrink_wrap = TRUE;
return TRUE;
}