Implement File->SaveAs for crypt mail
* src/application-events.cpp: Ignore next ItemLoad if ignore next load is true. * src/gpgoladdin.cpp (GpgolRibbonExtender::GetIDsOfNames): Map overrideFileSaveAs. (GpgolRibbonExtender::Invoke): Call override_file_save_as. (GetCustomUI_MIME): Override FileSaveAs. * src/gpgoladdin.h: Add a global g_ignore_next_load. * src/ribbon-callbacks.cpp (override_file_save_as): Set the variable and then pass the event along. * src/ribbon-callbacks.h (override_file_save_as): Declare.
While this fix looks trivial the important line is:
parms->rgvarg[0].pvarVal->boolVal = VARIANT_FALSE;
which passes along the SaveAs command. This is new
knowledge in GpgOL.
- GnuPG-Bug-Id: T4318