Added support for using RawTherapee as a GIMP plugin for opening RAW files

plugin code taken from Darktable
This commit is contained in:
Alberto Griggio
2017-05-18 15:59:56 +02:00
parent 3999bf179e
commit 54b66b7736
8 changed files with 876 additions and 13 deletions

View File

@@ -282,6 +282,14 @@ RTWindow::RTWindow ()
show_all ();
bpanel->init (this);
if (!argv1.empty()) {
Thumbnail* thm = cacheMgr->getEntry(argv1);
if (thm) {
std::vector<Thumbnail *> entries(1, thm);
fpanel->fileCatalog->openRequested(entries);
}
}
}
if (!isSingleTabMode() && !simpleEditor) {
@@ -646,6 +654,7 @@ bool RTWindow::on_delete_event(GdkEventAny* event)
Options::save ();
hide();
on_delete_has_run = true;
return false;
}