mirror of https://github.com/GNOME/gimp.git
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:
parent
4eeb875946
commit
b0cd835d08
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue