mirror of https://github.com/GNOME/gimp.git
Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/screenshot.c: when shooting a region, apply delay _after_ selecting region, applying before is useless.
This commit is contained in:
parent
6ee3d9c47e
commit
9da34b7e79
|
@ -1,3 +1,8 @@
|
|||
2006-09-15 Bill Skaggs <weskaggs@primate.ucdavis.edu>
|
||||
|
||||
* plug-ins/common/screenshot.c: when shooting a region, apply delay
|
||||
_after_ selecting region, applying before is useless.
|
||||
|
||||
2006-09-15 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* plug-ins/pygimp/gimpmodule.c: added domain_register method.
|
||||
|
|
|
@ -328,7 +328,7 @@ run (const gchar *name,
|
|||
|
||||
if (status == GIMP_PDB_SUCCESS)
|
||||
{
|
||||
if (shootvals.select_delay > 0)
|
||||
if (shootvals.select_delay > 0 && shootvals.shoot_type != SHOOT_REGION)
|
||||
shoot_delay (shootvals.select_delay);
|
||||
|
||||
if (shootvals.shoot_type != SHOOT_ROOT && ! shootvals.window_id)
|
||||
|
@ -338,6 +338,9 @@ run (const gchar *name,
|
|||
if (! shootvals.window_id)
|
||||
status = GIMP_PDB_CANCEL;
|
||||
}
|
||||
|
||||
if (shootvals.select_delay > 0 && shootvals.shoot_type == SHOOT_REGION)
|
||||
shoot_delay (shootvals.select_delay);
|
||||
}
|
||||
|
||||
if (status == GIMP_PDB_SUCCESS)
|
||||
|
|
Loading…
Reference in New Issue