fixed the progressbar on 270 degree (bug #5108)

* plug-ins/common/rotate.c: fixed the progressbar on 270 degree (bug #5108)

* plug-ins/gap/gap_navigator_dialog.c: small help-related fix


--Sven
This commit is contained in:
Sven Neumann 2000-01-11 19:13:39 +00:00
parent 151b5e92af
commit 4eefabdeb5
3 changed files with 16 additions and 10 deletions

View file

@ -1,3 +1,9 @@
Tue Jan 11 21:41:23 CET 2000 Sven Neumann <sven@gimp.org>
* plug-ins/common/rotate.c: fixed the progressbar on 270 degree (bug #5108)
* plug-ins/gap/gap_navigator_dialog.c: small help-related fix
2000-01-11 Michael Natterer <mitch@gimp.org>
* configure.in

View file

@ -470,8 +470,8 @@ rotate_drawable (GDrawable *drawable)
gimp_pixel_rgn_set_row (&destPR, buffer, 0, (width - col - 1),
height);
if ((row % 5) == 0)
gimp_progress_update ((double) row / (double) height);
if ((col % 5) == 0)
gimp_progress_update ((double) col / (double) width);
}
}

View file

@ -352,20 +352,20 @@ static OpsButton frames_ops_buttons[] =
{ play_xpm, navi_dialog_vcr_play_callback, navi_dialog_vcr_play_ext_callbacks,
N_("Playback \n"
"<Shift> optimized"),
"video/frames/play_frame.html",
"#playback",
NULL, 0 },
{ update_xpm, navi_dialog_thumb_update_callback, navi_dialog_update_ext_callbacks,
N_("Smart Update .xvpics\n"
"<Shift> forced upd"),
"video/frames/play_frame.html",
"#update",
NULL, 0 },
{ duplicate_xpm, navi_dialog_frames_duplicate_frame_callback, NULL,
N_("Duplicate selected Frames"),
"video/frames/duplicate_frame.html",
"#duplicate",
NULL, 0 },
{ delete_xpm, navi_dialog_frames_delete_frame_callback, NULL,
N_("Delete selected Frames"),
"video/frames/delete_frame.html",
"#delete",
NULL, 0 },
{ NULL, NULL, NULL, NULL, NULL, NULL, 0 }
};
@ -374,21 +374,21 @@ static OpsButton vcr_ops_buttons[] =
{
{ first_xpm, navi_dialog_vcr_goto_first_callback, NULL,
N_("Goto 1.st Frame"),
"video/frames/goto_frame.html",
"#goto_first",
NULL, 0 },
{ prev_xpm, navi_dialog_vcr_goto_prev_callback, navi_dialog_vcr_goto_prev_ext_callbacks,
N_("Goto prev Frame\n"
"<Shift> use timezoom stepsize"),
"video/frames/goto_frame.html",
"#goto_previous",
NULL, 0 },
{ next_xpm, navi_dialog_vcr_goto_next_callback, navi_dialog_vcr_goto_next_ext_callbacks,
N_("Goto next Frame\n"
"<Shift> use timezoom stepsize"),
"video/frames/goto_frame.html",
"#goto_next",
NULL, 0 },
{ last_xpm, navi_dialog_vcr_goto_last_callback, NULL,
N_("Goto last Frame"),
"video/frames/goto_frame.html",
"#goto_last",
NULL, 0 },
{ NULL, NULL, NULL, NULL, NULL, NULL, 0 }