Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Aleksandr Isakov
wine-fonts
Commits
ad7279a5
Commit
ad7279a5
authored
May 17, 2012
by
Vincent Povirk
Committed by
Alexandre Julliard
May 17, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
appwiz.cpl: Move dialog template id to addon_info_t.
parent
091a4269
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
addons.c
dlls/appwiz.cpl/addons.c
+4
-2
appwiz.rc
dlls/appwiz.cpl/appwiz.rc
+1
-1
res.h
dlls/appwiz.cpl/res.h
+1
-1
No files found.
dlls/appwiz.cpl/addons.c
View file @
ad7279a5
...
...
@@ -72,6 +72,7 @@ typedef struct {
const
char
*
config_key
;
const
char
*
url_config_key
;
const
char
*
dir_config_key
;
LPCWSTR
dialog_template
;
}
addon_info_t
;
static
const
addon_info_t
addons_info
[]
=
{
...
...
@@ -80,7 +81,8 @@ static const addon_info_t addons_info[] = {
"wine_gecko-"
GECKO_VERSION
"-"
ARCH_STRING
".msi"
,
"gecko"
,
GECKO_SHA
,
"MSHTML"
,
"GeckoUrl"
,
"GeckoCabDir"
"MSHTML"
,
"GeckoUrl"
,
"GeckoCabDir"
,
MAKEINTRESOURCEW
(
ID_DWL_GECKO_DIALOG
)
}
};
...
...
@@ -571,7 +573,7 @@ BOOL install_addon(addon_t addon_type)
if
(
!
install_from_registered_dir
()
&&
!
install_from_default_dir
()
&&
(
url
=
get_url
()))
DialogBoxW
(
hInst
,
MAKEINTRESOURCEW
(
ID_DWL_DIALOG
)
,
0
,
installer_proc
);
DialogBoxW
(
hInst
,
addon
->
dialog_template
,
0
,
installer_proc
);
heap_free
(
url
);
url
=
NULL
;
...
...
dlls/appwiz.cpl/appwiz.rc
View file @
ad7279a5
...
...
@@ -92,7 +92,7 @@ FONT 8, "MS Shell Dlg"
CONTROL "", IDC_INFO_COMMENTS, "static", SS_LEFT | WS_CHILD | WS_VISIBLE, 100, 105, 150, 8
}
ID_DWL_DIALOG DIALOG 0, 0, 260, 95
ID_DWL_
GECKO_
DIALOG DIALOG 0, 0, 260, 95
STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Wine Gecko Installer"
FONT 8, "MS Shell Dlg"
...
...
dlls/appwiz.cpl/res.h
View file @
ad7279a5
...
...
@@ -45,7 +45,7 @@
#define IDC_INFO_COMMENTS 1107
#define IDC_INFO_LABEL 1108
#define ID_DWL_
DIALOG
1200
#define ID_DWL_
GECKO_DIALOG
1200
#define ID_DWL_PROGRESS 1201
#define ID_DWL_INSTALL 1202
#define ID_DWL_STATUS 1203
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment