darktable: add info message to dt when started

Tell users that they just have to close darktable to export the image
and don't need to do anything.
This commit is contained in:
Tobias Ellinghaus 2017-08-12 21:55:54 +02:00
parent b926de5ada
commit 87dbc05cbd
No known key found for this signature in database
GPG Key ID: 98D42E5ACB5448E8
1 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,6 @@
--[[
This file is part of GIMP,
copyright (c) 2015-2016 Tobias Ellinghaus
copyright (c) 2015-2017 Tobias Ellinghaus
GIMP is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@ -36,6 +36,8 @@ if dt.configuration.api_version_string < min_api_version then
dt.print("the exit export script requires at least darktable version 1.7.0")
dt.print_error("the exit export script requires at least darktable version 1.7.0")
return
else
dt.print("closing darktable will export the image and make GIMP load it")
end
local export_filename = dt.preferences.read("export_on_exit", "export_filename", "string")