From 0922841b20da6c15076f1467280a0e67407826d1 Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Sun, 31 Oct 2010 13:02:56 +0200 Subject: log rework better gpg configuration check removed annoying message boxes (info now out to log) --- utilities.cpp | 49 +++++++++++++++++++++---------------------------- 1 file changed, 21 insertions(+), 28 deletions(-) (limited to 'utilities.cpp') diff --git a/utilities.cpp b/utilities.cpp index d281283..c1bb062 100644 --- a/utilities.cpp +++ b/utilities.cpp @@ -340,12 +340,8 @@ int onProtoAck(WPARAM w, LPARAM l) if(!gpg_thread->timed_join(boost::posix_time::minutes(10))) { delete gpg_thread; - MessageBox(0, _T("GPG execution timed out, aborted"), _T(""), MB_OK); + debuglog<timed_join(boost::posix_time::minutes(10))) { delete gpg_thread; - MessageBox(0, _T("GPG execution timed out, aborted"), _T(""), MB_OK); - } - if(result == pxNotFound) - { - MessageBox(0, _T("Set path to gpg.exe first!"), _T("Warning"), MB_OK); + debuglog<