Home GnuPG
Diffusion GpgOL 7ba4f6e43ffc

Only close on WM_CLOSE of explorers
7ba4f6e43ffcUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Only close on WM_CLOSE of explorers

* src/explorer-events.cpp (EVENT_SINK_INVOKE): Track explorers.
* src/gpgoladdin.cpp (install_explorer_sinks): Install sinks.
* src/windowmessages.cpp (add_explorer_window)
(remove_explorer_window): New.
(gpgol_hook): Only react to explorers.

This prevents mails from beeing closed when they are opened
in a reader. Still todo is to close only the mails from the
selection of the explorer that is currently closing and
only to close all mails if it is the last explorer.

Details

Provenance
aheineckeAuthored on Nov 7 2016, 6:14 PM
Parents
rOb6b1b43ca1f2: Remove the need to revert mails
Branches
Unknown
Tags
Unknown