mshtml[1/2]: hide the progress bar while asking the user if Gecko
should be installed
Mikolaj Zalewski
mikolajz at google.com
Fri Sep 7 18:43:01 CDT 2007
IMHO this will make easier for the user to know he should answer the
question and not wait for something.
-------------- next part --------------
From 25583da9bd5f5a0e4da04b18ae81e46cdedaccdd Mon Sep 17 00:00:00 2001
From: Mikolaj Zalewski <mikolaj at zalewski.pl>
Date: Fri, 7 Sep 2007 16:25:16 -0700
Subject: [PATCH] mshtml: hide the progress bar whiel asking the user if Gecko should be installed
---
dlls/mshtml/install.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/mshtml/install.c b/dlls/mshtml/install.c
index 845598e..d4fb1f9 100644
--- a/dlls/mshtml/install.c
+++ b/dlls/mshtml/install.c
@@ -368,6 +368,7 @@ static INT_PTR CALLBACK installer_proc(H
{
switch(msg) {
case WM_INITDIALOG:
+ ShowWindow(GetDlgItem(hwnd, ID_DWL_PROGRESS), SW_HIDE);
install_dialog = hwnd;
return TRUE;
@@ -378,6 +379,7 @@ static INT_PTR CALLBACK installer_proc(H
return FALSE;
case ID_DWL_INSTALL:
+ ShowWindow(GetDlgItem(hwnd, ID_DWL_PROGRESS), SW_SHOW);
EnableWindow(GetDlgItem(hwnd, ID_DWL_INSTALL), 0);
EnableWindow(GetDlgItem(hwnd, IDCANCEL), 0); /* FIXME */
CreateThread(NULL, 0, download_proc, NULL, 0, NULL);
--
1.4.1
More information about the wine-patches
mailing list