[Gimp-developer] Windows -> Image display actions potential improvement

David Gowers 00ai99 at gmail.com
Wed Aug 6 05:39:56 PDT 2008


The attached patch allows you to open several images, assign keyboard
shortcuts to them, and these shortcuts will persist, so that if you
assigned '1','2','3' to the first, second, and third image, you could
continue to switch between the first, second, and third opened image
with 1, 2, and 3.
Because of the caveat below, this is currently no better than
associating the actions directly with display IDs, rather than
associating the actions with indices into the list of displays.

Caveats :
 *Currently implemented in a hackish way
 *Does not cope properly with closing images -- it breaks all the
actions following and including the closed image.. So say you closed
image #3, and you had already opened a 4th and 5th, the actions for 3,
4, and 5 would break.
I'm unclear as to the exact cause of this. Does anyone here know?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: indexed-displays.diff
Type: text/x-diff
Size: 7873 bytes
Desc: not available
Url : /lists/gimp-developer/attachments/20080806/9090cb05/attachment-0001.bin 


More information about the Gimp-developer mailing list