[git] GpgOL - branch, master, updated. gpgol-2.0.6-96-geb340dd

by Andre Heinecke cvs at cvs.gnupg.org
Tue Mar 20 08:45:07 CET 2018


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GnuPG extension for MS Outlook".

The branch, master has been updated
       via  eb340dd8330139da31124732d18b5f2d11f72d2f (commit)
      from  a6bf8ef284d98f87a9e64ce326e2a0a55633213c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit eb340dd8330139da31124732d18b5f2d11f72d2f
Author: Andre Heinecke <aheinecke at intevation.de>
Date:   Tue Mar 20 08:43:45 2018 +0100

    Provide parent wid for certificate details
    
    * src/ribbon-callbacks.cpp (launch_cert_details): Add
    --parent-wid.
    
    --
    This helps Kleopatra not to open the certificate details
    in the background.
    
    GnuPG-Bug-Id: T3845

diff --git a/src/ribbon-callbacks.cpp b/src/ribbon-callbacks.cpp
index 07b5ba7..99eaf60 100644
--- a/src/ribbon-callbacks.cpp
+++ b/src/ribbon-callbacks.cpp
@@ -1740,9 +1740,12 @@ HRESULT launch_cert_details (LPDISPATCH ctrl)
               log_error ("%s:%s: No spawn engine.",
                          SRCNAME, __func__);
             }
+            std::string parentWid = std::to_string ((unsigned int) get_active_hwnd ());
             const char *argv[] = {path.c_str(),
                                   "--query",
                                   mail->get_sig_fpr(),
+                                  "--parent-windowid",
+                                  parentWid.c_str(),
                                   NULL };
             log_debug ("%s:%s: Starting %s %s %s",
                        SRCNAME, __func__, path.c_str(), argv[1], argv[2]);

-----------------------------------------------------------------------

Summary of changes:
 src/ribbon-callbacks.cpp | 3 +++
 1 file changed, 3 insertions(+)


hooks/post-receive
-- 
GnuPG extension for MS Outlook
http://git.gnupg.org




More information about the Gnupg-commits mailing list