Home GnuPG
Diffusion GpgOL 6cb4ccf4d8db

Handle filtered READ events

Description

Handle filtered READ events

* src/explorer-events: change hasSelection to only return true if a
                       mailitem was selected and
                       hasMailitemEventReadBeenCalled returns true
* src/gpgoladdin.h:   define new functions
                        markMailitemEventReadAsCalled
                        bool hasMailitemEventReadBeenCalled
* src/gpgoladdin.cpp: implement the new functions and a static var to
                      store the state.
* src/mail.h:         remove code for isVdPostponed
* src/map.cpp:        implement isVdPostponed and add more loging
* src/mailitem-events.cpp: Call markMailitemEventReadAsCalled on READ
* src/ribbon-callbacks.cpp: Add Tracepoint calls to hunt down crash

Add functions to set/read a flag gets set whenever the mailitem-event
READ event is called it indicated that no other addin like titus
filtered out the event. If set we invalidate the ribon on
SelectionChange events in explorer-events as we would normally do that
on handling the READ event.

Details

Provenance
mmontkowskiAuthored on Thu, May 15, 2:36 PM
Parents
rObda9f5afc8e6: Handle non mail items in inbox events
Branches
Unknown
Tags
Unknown