API for time of last change vs. last export

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On the thread-which-shall-be-nameless, when folks were asking for
a way to quit GIMP without being prompted to save files that had
already been exported, Alexia wrote:
> Oh, let me throw up this idea for you -  you do not need a fork, just
> a script to override the default close... Very easy to install,
> maintain and distribute. No fork needed.

Alexia, how?  I looked into it, but couldn't figure out any way
to do it.

There's gimp-image-is-dirty to check whether an image has been
changed since the last XCF save -- is there a similar flag for
checking whether an image has been changed since the last export?
There's gimp-image-get-exported-uri, but that only tells you whether
the image has *ever* been exported, not whether it's been exported
since the last image change.

If you could get the time of the last image change, you could
compare it to the last modified date of the export file, but I
don't think there's a GIMP call to get that either.

Suggestions?

	...Akkana
_______________________________________________
gimp-developer-list mailing list
gimp-developer-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gimp-developer-list


[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux