Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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
wine
wine-winehq
Commits
871a65d2
Commit
871a65d2
authored
Jul 07, 2010
by
Alexander Nicolaysen Sørnes
Committed by
Alexandre Julliard
Aug 03, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shdocvw: Make the Home button in IE work.
parent
5d7c4609
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
iexplore.c
dlls/shdocvw/iexplore.c
+5
-1
resource.h
dlls/shdocvw/resource.h
+1
-0
No files found.
dlls/shdocvw/iexplore.c
View file @
871a65d2
...
...
@@ -372,7 +372,7 @@ static void create_rebar(HWND hwnd)
add_tb_button
(
hwndToolbar
,
I_IMAGENONE
,
0
,
IDS_TB_FORWARD
);
add_tb_button
(
hwndToolbar
,
I_IMAGENONE
,
0
,
IDS_TB_STOP
);
add_tb_button
(
hwndToolbar
,
I_IMAGENONE
,
0
,
IDS_TB_REFRESH
);
add_tb_button
(
hwndToolbar
,
I_IMAGENONE
,
0
,
IDS_TB_HOME
);
add_tb_button
(
hwndToolbar
,
I_IMAGENONE
,
ID_BROWSE_HOME
,
IDS_TB_HOME
);
add_tb_separator
(
hwndToolbar
);
add_tb_button
(
hwndToolbar
,
I_IMAGENONE
,
ID_BROWSE_PRINT
,
IDS_TB_PRINT
);
SendMessageW
(
hwndToolbar
,
TB_SETBUTTONSIZE
,
0
,
MAKELPARAM
(
50
,
40
));
...
...
@@ -491,6 +491,10 @@ static LRESULT CALLBACK iewnd_OnCommand(InternetExplorer *This, HWND hwnd, UINT
}
break
;
case
ID_BROWSE_HOME
:
IWebBrowser2_GoHome
(
WEBBROWSER2
(
This
));
break
;
case
ID_BROWSE_ABOUT
:
ie_dialog_about
(
hwnd
);
break
;
...
...
dlls/shdocvw/resource.h
View file @
871a65d2
...
...
@@ -40,6 +40,7 @@
#define ID_BROWSE_ABOUT 336
#define ID_BROWSE_ADDFAV 1200
#define ID_BROWSE_HOME 1201
#define ID_BROWSE_GOTOFAV_FIRST 2000
#define ID_BROWSE_GOTOFAV_MAX 65000
...
...
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