summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-02-05 07:37:30 -0800
committerKaz Kylheku <kaz@kylheku.com>2015-02-05 07:37:30 -0800
commit30c008e52d3c911ff6315c22633fbfec34487003 (patch)
tree36d7a44f268dd1b450aa3d35bf52da281803a1a3
parentf77ec315116bcdf4514b40a1e4dac02ad4d165cc (diff)
downloadtxr-30c008e52d3c911ff6315c22633fbfec34487003.tar.gz
txr-30c008e52d3c911ff6315c22633fbfec34487003.tar.bz2
txr-30c008e52d3c911ff6315c22633fbfec34487003.zip
* win/env.nsh: Before the potentially length SendMessage,
print an informative message.
-rw-r--r--ChangeLog5
-rw-r--r--win/env.nsh4
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a1d01e15..5d1384ae 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2015-02-05 Kaz Kylheku <kaz@kylheku.com>
+ * win/env.nsh: Before the potentially length SendMessage,
+ print an informative message.
+
+2015-02-05 Kaz Kylheku <kaz@kylheku.com>
+
* win/env.nsh: Improve messages about environment
variable modification.
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:
;