From 30c008e52d3c911ff6315c22633fbfec34487003 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Thu, 5 Feb 2015 07:37:30 -0800 Subject: * win/env.nsh: Before the potentially length SendMessage, print an informative message. --- ChangeLog | 5 +++++ win/env.nsh | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index a1d01e15..5d1384ae 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2015-02-05 Kaz Kylheku + + * win/env.nsh: Before the potentially length SendMessage, + print an informative message. + 2015-02-05 Kaz Kylheku * win/env.nsh: Improve messages about environment diff --git a/win/env.nsh b/win/env.nsh index 538302c2..b287b89a 100644 --- a/win/env.nsh +++ b/win/env.nsh @@ -320,7 +320,9 @@ Function ${UN}EnvVarUpdate Goto EnvVarUpdate_Restore_Vars ; "Export" our change - SendMessage ${HWND_BROADCAST} ${WM_WININICHANGE} 0 "STR:Environment" /TIMEOUT=5000 + DetailPrint "The following can take long due to unresponsive processes:" + DetailPrint "Notifying each process about environment change ..." + SendMessage ${HWND_BROADCAST} ${WM_WININICHANGE} 0 "STR:Environment" /TIMEOUT=50 EnvVarUpdate_Restore_Vars: ; -- cgit v1.2.3