Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
f9ef35ea
Commit
f9ef35ea
authored
Mar 02, 2011
by
Alexander Scott-Johns
Committed by
Alexandre Julliard
Mar 11, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
inetcpl.cpl: Add ability to delete Temporary Internet Files.
parent
fa19e1bd
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
201 additions
and
5 deletions
+201
-5
Makefile.in
dlls/inetcpl.cpl/Makefile.in
+1
-1
cpl_De.rc
dlls/inetcpl.cpl/cpl_De.rc
+5
-0
cpl_En.rc
dlls/inetcpl.cpl/cpl_En.rc
+27
-0
cpl_Fr.rc
dlls/inetcpl.cpl/cpl_Fr.rc
+5
-0
cpl_He.rc
dlls/inetcpl.cpl/cpl_He.rc
+5
-0
cpl_It.rc
dlls/inetcpl.cpl/cpl_It.rc
+5
-0
cpl_Ja.rc
dlls/inetcpl.cpl/cpl_Ja.rc
+5
-0
cpl_Ko.rc
dlls/inetcpl.cpl/cpl_Ko.rc
+5
-0
cpl_Lt.rc
dlls/inetcpl.cpl/cpl_Lt.rc
+5
-0
cpl_Nl.rc
dlls/inetcpl.cpl/cpl_Nl.rc
+5
-0
cpl_Pl.rc
dlls/inetcpl.cpl/cpl_Pl.rc
+5
-0
cpl_Pt.rc
dlls/inetcpl.cpl/cpl_Pt.rc
+6
-1
cpl_Ru.rc
dlls/inetcpl.cpl/cpl_Ru.rc
+5
-0
cpl_Sr.rc
dlls/inetcpl.cpl/cpl_Sr.rc
+10
-0
cpl_Sv.rc
dlls/inetcpl.cpl/cpl_Sv.rc
+5
-0
cpl_Uk.rc
dlls/inetcpl.cpl/cpl_Uk.rc
+5
-0
general.c
dlls/inetcpl.cpl/general.c
+88
-3
inetcpl.h
dlls/inetcpl.cpl/inetcpl.h
+9
-0
No files found.
dlls/inetcpl.cpl/Makefile.in
View file @
f9ef35ea
MODULE
=
inetcpl.cpl
MODULE
=
inetcpl.cpl
IMPORTS
=
comctl32 shlwapi user32 advapi32
IMPORTS
=
comctl32 shlwapi user32 advapi32
DELAYIMPORTS
=
cryptui
DELAYIMPORTS
=
cryptui
wininet
C_SRCS
=
\
C_SRCS
=
\
content.c
\
content.c
\
...
...
dlls/inetcpl.cpl/cpl_De.rc
View file @
f9ef35ea
...
@@ -39,6 +39,11 @@ BEGIN
...
@@ -39,6 +39,11 @@ BEGIN
PUSHBUTTON "A&ktuelle Seite", IDC_HOME_CURRENT, 58, 36, 80, 14
PUSHBUTTON "A&ktuelle Seite", IDC_HOME_CURRENT, 58, 36, 80, 14
PUSHBUTTON "&Standardseite", IDC_HOME_DEFAULT, 144, 36, 80, 14
PUSHBUTTON "&Standardseite", IDC_HOME_DEFAULT, 144, 36, 80, 14
PUSHBUTTON "&Leere Seite", IDC_HOME_BLANK, 230, 36, 80, 14
PUSHBUTTON "&Leere Seite", IDC_HOME_BLANK, 230, 36, 80, 14
GROUPBOX " Browsing history ", IDC_STATIC, 4, 60, 312, 46
LTEXT "You can delete cached pages, cookies and other data.",
IDC_STATIC, 58, 72, 252, 10
PUSHBUTTON "Delete &files...", IDC_HISTORY_DELETE, 144, 86, 80, 14
PUSHBUTTON "&Settings...", IDC_HISTORY_SETTINGS, 230, 86, 80, 14
END
END
...
...
dlls/inetcpl.cpl/cpl_En.rc
View file @
f9ef35ea
...
@@ -37,6 +37,33 @@ BEGIN
...
@@ -37,6 +37,33 @@ BEGIN
PUSHBUTTON "&Current page", IDC_HOME_CURRENT, 58, 36, 80, 14
PUSHBUTTON "&Current page", IDC_HOME_CURRENT, 58, 36, 80, 14
PUSHBUTTON "&Default page", IDC_HOME_DEFAULT, 144, 36, 80, 14
PUSHBUTTON "&Default page", IDC_HOME_DEFAULT, 144, 36, 80, 14
PUSHBUTTON "&Blank page", IDC_HOME_BLANK, 230, 36, 80, 14
PUSHBUTTON "&Blank page", IDC_HOME_BLANK, 230, 36, 80, 14
GROUPBOX " Browsing history ", IDC_STATIC, 4, 60, 312, 46
LTEXT "You can delete cached pages, cookies and other data.",
IDC_STATIC, 58, 72, 252, 10
PUSHBUTTON "Delete &files...", IDC_HISTORY_DELETE, 144, 86, 80, 14
PUSHBUTTON "&Settings...", IDC_HISTORY_SETTINGS, 230, 86, 80, 14
END
/* "Delete browsing history" dialog */
IDD_DELETE_HISTORY DIALOG 0, 0, 250, 250
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
FONT 8, "MS Shell Dlg"
CAPTION "Delete browsing history"
BEGIN
AUTOCHECKBOX "Temporary internet files\nCached copies of webpages, images and certificates.",
IDC_DELETE_TEMP_FILES, 10, 8, 230, 30, BS_TOP | BS_MULTILINE
AUTOCHECKBOX "Cookies\nFiles saved on your computer by websites, which store things like user preferences and login information.",
IDC_DELETE_COOKIES, 10, 38, 230, 30, BS_TOP | BS_MULTILINE
AUTOCHECKBOX "History\nList of websites you have accessed.",
IDC_DELETE_HISTORY, 10, 68, 230, 30, BS_TOP | BS_MULTILINE
AUTOCHECKBOX "Form data\nUsernames and other information you have entered into forms.",
IDC_DELETE_FORM_DATA, 10, 98, 230, 30, BS_TOP | BS_MULTILINE
AUTOCHECKBOX "Passwords\nSaved passwords you have entered into forms.",
IDC_DELETE_PASSWORDS, 10, 128, 230, 30, BS_TOP | BS_MULTILINE
DEFPUSHBUTTON "Cancel", IDCANCEL, 185, 230, 60, 15, WS_GROUP
PUSHBUTTON "Delete", IDOK, 120, 230, 60, 15, WS_GROUP
END
END
...
...
dlls/inetcpl.cpl/cpl_Fr.rc
View file @
f9ef35ea
...
@@ -41,6 +41,11 @@ BEGIN
...
@@ -41,6 +41,11 @@ BEGIN
PUSHBUTTON "Page &courante", IDC_HOME_CURRENT, 68, 36, 77, 14
PUSHBUTTON "Page &courante", IDC_HOME_CURRENT, 68, 36, 77, 14
PUSHBUTTON "Page par &défaut", IDC_HOME_DEFAULT, 151, 36, 77, 14
PUSHBUTTON "Page par &défaut", IDC_HOME_DEFAULT, 151, 36, 77, 14
PUSHBUTTON "Page &blanche", IDC_HOME_BLANK, 233, 36, 77, 14
PUSHBUTTON "Page &blanche", IDC_HOME_BLANK, 233, 36, 77, 14
GROUPBOX " Browsing history ", IDC_STATIC, 4, 60, 312, 46
LTEXT "You can delete cached pages, cookies and other data.",
IDC_STATIC, 58, 72, 252, 10
PUSHBUTTON "Delete &files...", IDC_HISTORY_DELETE, 144, 86, 80, 14
PUSHBUTTON "&Settings...", IDC_HISTORY_SETTINGS, 230, 86, 80, 14
END
END
...
...
dlls/inetcpl.cpl/cpl_He.rc
View file @
f9ef35ea
...
@@ -41,6 +41,11 @@ BEGIN
...
@@ -41,6 +41,11 @@ BEGIN
PUSHBUTTON "העמוד ה&נוכחי", IDC_HOME_CURRENT, 58, 36, 80, 14
PUSHBUTTON "העמוד ה&נוכחי", IDC_HOME_CURRENT, 58, 36, 80, 14
PUSHBUTTON "עמוד &בררת המחדל", IDC_HOME_DEFAULT, 144, 36, 80, 14
PUSHBUTTON "עמוד &בררת המחדל", IDC_HOME_DEFAULT, 144, 36, 80, 14
PUSHBUTTON "עמוד &ריק", IDC_HOME_BLANK, 230, 36, 80, 14
PUSHBUTTON "עמוד &ריק", IDC_HOME_BLANK, 230, 36, 80, 14
GROUPBOX " Browsing history ", IDC_STATIC, 4, 60, 312, 46
LTEXT "You can delete cached pages, cookies and other data.",
IDC_STATIC, 58, 72, 252, 10
PUSHBUTTON "Delete &files...", IDC_HISTORY_DELETE, 144, 86, 80, 14
PUSHBUTTON "&Settings...", IDC_HISTORY_SETTINGS, 230, 86, 80, 14
END
END
...
...
dlls/inetcpl.cpl/cpl_It.rc
View file @
f9ef35ea
...
@@ -40,6 +40,11 @@ BEGIN
...
@@ -40,6 +40,11 @@ BEGIN
PUSHBUTTON "Pagina &attuale", IDC_HOME_CURRENT, 58, 36, 80, 14
PUSHBUTTON "Pagina &attuale", IDC_HOME_CURRENT, 58, 36, 80, 14
PUSHBUTTON "Pagina &predefinita", IDC_HOME_DEFAULT, 144, 36, 80, 14
PUSHBUTTON "Pagina &predefinita", IDC_HOME_DEFAULT, 144, 36, 80, 14
PUSHBUTTON "Pagina &vuota", IDC_HOME_BLANK, 230, 36, 80, 14
PUSHBUTTON "Pagina &vuota", IDC_HOME_BLANK, 230, 36, 80, 14
GROUPBOX " Browsing history ", IDC_STATIC, 4, 60, 312, 46
LTEXT "You can delete cached pages, cookies and other data.",
IDC_STATIC, 58, 72, 252, 10
PUSHBUTTON "Delete &files...", IDC_HISTORY_DELETE, 144, 86, 80, 14
PUSHBUTTON "&Settings...", IDC_HISTORY_SETTINGS, 230, 86, 80, 14
END
END
...
...
dlls/inetcpl.cpl/cpl_Ja.rc
View file @
f9ef35ea
...
@@ -41,6 +41,11 @@ BEGIN
...
@@ -41,6 +41,11 @@ BEGIN
PUSHBUTTON "現在のページ(&C)", IDC_HOME_CURRENT, 58, 36, 80, 14
PUSHBUTTON "現在のページ(&C)", IDC_HOME_CURRENT, 58, 36, 80, 14
PUSHBUTTON "デフォルト(&D)", IDC_HOME_DEFAULT, 144, 36, 80, 14
PUSHBUTTON "デフォルト(&D)", IDC_HOME_DEFAULT, 144, 36, 80, 14
PUSHBUTTON "空白(&B)", IDC_HOME_BLANK, 230, 36, 80, 14
PUSHBUTTON "空白(&B)", IDC_HOME_BLANK, 230, 36, 80, 14
GROUPBOX " Browsing history ", IDC_STATIC, 4, 60, 312, 46
LTEXT "You can delete cached pages, cookies and other data.",
IDC_STATIC, 58, 72, 252, 10
PUSHBUTTON "Delete &files...", IDC_HISTORY_DELETE, 144, 86, 80, 14
PUSHBUTTON "&Settings...", IDC_HISTORY_SETTINGS, 230, 86, 80, 14
END
END
...
...
dlls/inetcpl.cpl/cpl_Ko.rc
View file @
f9ef35ea
...
@@ -40,6 +40,11 @@ BEGIN
...
@@ -40,6 +40,11 @@ BEGIN
PUSHBUTTON "현재 페이지(&C)", IDC_HOME_CURRENT, 58, 36, 80, 14
PUSHBUTTON "현재 페이지(&C)", IDC_HOME_CURRENT, 58, 36, 80, 14
PUSHBUTTON "기본 페이지(&D)", IDC_HOME_DEFAULT, 144, 36, 80, 14
PUSHBUTTON "기본 페이지(&D)", IDC_HOME_DEFAULT, 144, 36, 80, 14
PUSHBUTTON "빈 페이지(&B)", IDC_HOME_BLANK, 230, 36, 80, 14
PUSHBUTTON "빈 페이지(&B)", IDC_HOME_BLANK, 230, 36, 80, 14
GROUPBOX " Browsing history ", IDC_STATIC, 4, 60, 312, 46
LTEXT "You can delete cached pages, cookies and other data.",
IDC_STATIC, 58, 72, 252, 10
PUSHBUTTON "Delete &files...", IDC_HISTORY_DELETE, 144, 86, 80, 14
PUSHBUTTON "&Settings...", IDC_HISTORY_SETTINGS, 230, 86, 80, 14
END
END
...
...
dlls/inetcpl.cpl/cpl_Lt.rc
View file @
f9ef35ea
...
@@ -40,6 +40,11 @@ BEGIN
...
@@ -40,6 +40,11 @@ BEGIN
PUSHBUTTON "&Dabartinis puslapis", IDC_HOME_CURRENT, 58, 40, 80, 14
PUSHBUTTON "&Dabartinis puslapis", IDC_HOME_CURRENT, 58, 40, 80, 14
PUSHBUTTON "&Numatytasis puslapis", IDC_HOME_DEFAULT, 144, 40, 80, 14
PUSHBUTTON "&Numatytasis puslapis", IDC_HOME_DEFAULT, 144, 40, 80, 14
PUSHBUTTON "&Tuščias puslapis", IDC_HOME_BLANK, 230, 40, 80, 14
PUSHBUTTON "&Tuščias puslapis", IDC_HOME_BLANK, 230, 40, 80, 14
GROUPBOX " Browsing history ", IDC_STATIC, 4, 60, 312, 46
LTEXT "You can delete cached pages, cookies and other data.",
IDC_STATIC, 58, 72, 252, 10
PUSHBUTTON "Delete &files...", IDC_HISTORY_DELETE, 144, 86, 80, 14
PUSHBUTTON "&Settings...", IDC_HISTORY_SETTINGS, 230, 86, 80, 14
END
END
...
...
dlls/inetcpl.cpl/cpl_Nl.rc
View file @
f9ef35ea
...
@@ -37,6 +37,11 @@ BEGIN
...
@@ -37,6 +37,11 @@ BEGIN
PUSHBUTTON "&Huidige pagina", IDC_HOME_CURRENT, 58, 36, 80, 14
PUSHBUTTON "&Huidige pagina", IDC_HOME_CURRENT, 58, 36, 80, 14
PUSHBUTTON "&Standaardpagina", IDC_HOME_DEFAULT, 144, 36, 80, 14
PUSHBUTTON "&Standaardpagina", IDC_HOME_DEFAULT, 144, 36, 80, 14
PUSHBUTTON "&Lege pagina", IDC_HOME_BLANK, 230, 36, 80, 14
PUSHBUTTON "&Lege pagina", IDC_HOME_BLANK, 230, 36, 80, 14
GROUPBOX " Browsing history ", IDC_STATIC, 4, 60, 312, 46
LTEXT "You can delete cached pages, cookies and other data.",
IDC_STATIC, 58, 72, 252, 10
PUSHBUTTON "Delete &files...", IDC_HISTORY_DELETE, 144, 86, 80, 14
PUSHBUTTON "&Settings...", IDC_HISTORY_SETTINGS, 230, 86, 80, 14
END
END
...
...
dlls/inetcpl.cpl/cpl_Pl.rc
View file @
f9ef35ea
...
@@ -37,6 +37,11 @@ BEGIN
...
@@ -37,6 +37,11 @@ BEGIN
PUSHBUTTON "Uyj &biecej", IDC_HOME_CURRENT, 58, 36, 80, 14
PUSHBUTTON "Uyj &biecej", IDC_HOME_CURRENT, 58, 36, 80, 14
PUSHBUTTON "Uyj d&omylnej", IDC_HOME_DEFAULT, 144, 36, 80, 14
PUSHBUTTON "Uyj d&omylnej", IDC_HOME_DEFAULT, 144, 36, 80, 14
PUSHBUTTON "Uyj pu&stej", IDC_HOME_BLANK, 230, 36, 80, 14
PUSHBUTTON "Uyj pu&stej", IDC_HOME_BLANK, 230, 36, 80, 14
GROUPBOX " Browsing history ", IDC_STATIC, 4, 60, 312, 46
LTEXT "You can delete cached pages, cookies and other data.",
IDC_STATIC, 58, 72, 252, 10
PUSHBUTTON "Delete &files...", IDC_HISTORY_DELETE, 144, 86, 80, 14
PUSHBUTTON "&Settings...", IDC_HISTORY_SETTINGS, 230, 86, 80, 14
END
END
...
...
dlls/inetcpl.cpl/cpl_Pt.rc
View file @
f9ef35ea
/*
/*
*
English
resources for the Internet control panel applet
*
Portuguese
resources for the Internet control panel applet
*
*
* Copyright 2010 Gustavo Henrique Milaré
* Copyright 2010 Gustavo Henrique Milaré
*
*
...
@@ -39,6 +39,11 @@ BEGIN
...
@@ -39,6 +39,11 @@ BEGIN
PUSHBUTTON "Página &atual", IDC_HOME_CURRENT, 58, 36, 80, 14
PUSHBUTTON "Página &atual", IDC_HOME_CURRENT, 58, 36, 80, 14
PUSHBUTTON "Página &padrão", IDC_HOME_DEFAULT, 144, 36, 80, 14
PUSHBUTTON "Página &padrão", IDC_HOME_DEFAULT, 144, 36, 80, 14
PUSHBUTTON "Página em &branco", IDC_HOME_BLANK, 230, 36, 80, 14
PUSHBUTTON "Página em &branco", IDC_HOME_BLANK, 230, 36, 80, 14
GROUPBOX " Browsing history ", IDC_STATIC, 4, 60, 312, 46
LTEXT "You can delete cached pages, cookies and other data.",
IDC_STATIC, 58, 72, 252, 10
PUSHBUTTON "Delete &files...", IDC_HISTORY_DELETE, 144, 86, 80, 14
PUSHBUTTON "&Settings...", IDC_HISTORY_SETTINGS, 230, 86, 80, 14
END
END
...
...
dlls/inetcpl.cpl/cpl_Ru.rc
View file @
f9ef35ea
...
@@ -40,6 +40,11 @@ BEGIN
...
@@ -40,6 +40,11 @@ BEGIN
PUSHBUTTON "&Текущая страница", IDC_HOME_CURRENT, 58, 36, 80, 14
PUSHBUTTON "&Текущая страница", IDC_HOME_CURRENT, 58, 36, 80, 14
PUSHBUTTON "&По умолчанию", IDC_HOME_DEFAULT, 144, 36, 80, 14
PUSHBUTTON "&По умолчанию", IDC_HOME_DEFAULT, 144, 36, 80, 14
PUSHBUTTON "Пу&стая страница", IDC_HOME_BLANK, 230, 36, 80, 14
PUSHBUTTON "Пу&стая страница", IDC_HOME_BLANK, 230, 36, 80, 14
GROUPBOX " Browsing history ", IDC_STATIC, 4, 60, 312, 46
LTEXT "You can delete cached pages, cookies and other data.",
IDC_STATIC, 58, 72, 252, 10
PUSHBUTTON "Delete &files...", IDC_HISTORY_DELETE, 144, 86, 80, 14
PUSHBUTTON "&Settings...", IDC_HISTORY_SETTINGS, 230, 86, 80, 14
END
END
...
...
dlls/inetcpl.cpl/cpl_Sr.rc
View file @
f9ef35ea
...
@@ -40,6 +40,11 @@ BEGIN
...
@@ -40,6 +40,11 @@ BEGIN
PUSHBUTTON "&Текућа страна", IDC_HOME_CURRENT, 58, 36, 80, 14
PUSHBUTTON "&Текућа страна", IDC_HOME_CURRENT, 58, 36, 80, 14
PUSHBUTTON "&Подразумевана страна", IDC_HOME_DEFAULT, 144, 36, 80, 14
PUSHBUTTON "&Подразумевана страна", IDC_HOME_DEFAULT, 144, 36, 80, 14
PUSHBUTTON "Празна &страна", IDC_HOME_BLANK, 230, 36, 80, 14
PUSHBUTTON "Празна &страна", IDC_HOME_BLANK, 230, 36, 80, 14
GROUPBOX " Browsing history ", IDC_STATIC, 4, 60, 312, 46
LTEXT "You can delete cached pages, cookies and other data.",
IDC_STATIC, 58, 72, 252, 10
PUSHBUTTON "Delete &files...", IDC_HISTORY_DELETE, 144, 86, 80, 14
PUSHBUTTON "&Settings...", IDC_HISTORY_SETTINGS, 230, 86, 80, 14
END
END
...
@@ -74,6 +79,11 @@ BEGIN
...
@@ -74,6 +79,11 @@ BEGIN
PUSHBUTTON "&Tekuća strana", IDC_HOME_CURRENT, 58, 36, 80, 14
PUSHBUTTON "&Tekuća strana", IDC_HOME_CURRENT, 58, 36, 80, 14
PUSHBUTTON "&Podrazumevana strana", IDC_HOME_DEFAULT, 144, 36, 80, 14
PUSHBUTTON "&Podrazumevana strana", IDC_HOME_DEFAULT, 144, 36, 80, 14
PUSHBUTTON "Prazna &strana", IDC_HOME_BLANK, 230, 36, 80, 14
PUSHBUTTON "Prazna &strana", IDC_HOME_BLANK, 230, 36, 80, 14
GROUPBOX " Browsing history ", IDC_STATIC, 4, 60, 312, 46
LTEXT "You can delete cached pages, cookies and other data.",
IDC_STATIC, 58, 72, 252, 10
PUSHBUTTON "Delete &files...", IDC_HISTORY_DELETE, 144, 86, 80, 14
PUSHBUTTON "&Settings...", IDC_HISTORY_SETTINGS, 230, 86, 80, 14
END
END
...
...
dlls/inetcpl.cpl/cpl_Sv.rc
View file @
f9ef35ea
...
@@ -39,6 +39,11 @@ BEGIN
...
@@ -39,6 +39,11 @@ BEGIN
PUSHBUTTON "&Aktuell sida", IDC_HOME_CURRENT, 58, 36, 80, 14
PUSHBUTTON "&Aktuell sida", IDC_HOME_CURRENT, 58, 36, 80, 14
PUSHBUTTON "&Förvald sida", IDC_HOME_DEFAULT, 144, 36, 80, 14
PUSHBUTTON "&Förvald sida", IDC_HOME_DEFAULT, 144, 36, 80, 14
PUSHBUTTON "&Blank sida", IDC_HOME_BLANK, 230, 36, 80, 14
PUSHBUTTON "&Blank sida", IDC_HOME_BLANK, 230, 36, 80, 14
GROUPBOX " Browsing history ", IDC_STATIC, 4, 60, 312, 46
LTEXT "You can delete cached pages, cookies and other data.",
IDC_STATIC, 58, 72, 252, 10
PUSHBUTTON "Delete &files...", IDC_HISTORY_DELETE, 144, 86, 80, 14
PUSHBUTTON "&Settings...", IDC_HISTORY_SETTINGS, 230, 86, 80, 14
END
END
...
...
dlls/inetcpl.cpl/cpl_Uk.rc
View file @
f9ef35ea
...
@@ -41,6 +41,11 @@ BEGIN
...
@@ -41,6 +41,11 @@ BEGIN
PUSHBUTTON "&Поточна сторінка", IDC_HOME_CURRENT, 58, 36, 80, 14
PUSHBUTTON "&Поточна сторінка", IDC_HOME_CURRENT, 58, 36, 80, 14
PUSHBUTTON "&За замовчуванням", IDC_HOME_DEFAULT, 144, 36, 80, 14
PUSHBUTTON "&За замовчуванням", IDC_HOME_DEFAULT, 144, 36, 80, 14
PUSHBUTTON "По&рожня сторінка", IDC_HOME_BLANK, 230, 36, 80, 14
PUSHBUTTON "По&рожня сторінка", IDC_HOME_BLANK, 230, 36, 80, 14
GROUPBOX " Browsing history ", IDC_STATIC, 4, 60, 312, 46
LTEXT "You can delete cached pages, cookies and other data.",
IDC_STATIC, 58, 72, 252, 10
PUSHBUTTON "Delete &files...", IDC_HISTORY_DELETE, 144, 86, 80, 14
PUSHBUTTON "&Settings...", IDC_HISTORY_SETTINGS, 230, 86, 80, 14
END
END
...
...
dlls/inetcpl.cpl/general.c
View file @
f9ef35ea
...
@@ -43,8 +43,88 @@ static const WCHAR reg_ie_main[] = {'S','o','f','t','w','a','r','e','\\',
...
@@ -43,8 +43,88 @@ static const WCHAR reg_ie_main[] = {'S','o','f','t','w','a','r','e','\\',
'M'
,
'a'
,
'i'
,
'n'
,
0
};
'M'
,
'a'
,
'i'
,
'n'
,
0
};
/* list of unimplemented buttons */
/* list of unimplemented buttons */
static
DWORD
disable_me
[]
=
{
IDC_HOME_CURRENT
,
static
DWORD
disabled_general_buttons
[]
=
{
IDC_HOME_CURRENT
,
IDC_HOME_DEFAULT
,
0
};
IDC_HOME_DEFAULT
,
IDC_HISTORY_SETTINGS
,
0
};
static
DWORD
disabled_delhist_buttons
[]
=
{
IDC_DELETE_COOKIES
,
IDC_DELETE_HISTORY
,
IDC_DELETE_FORM_DATA
,
IDC_DELETE_PASSWORDS
,
0
};
/*********************************************************************
* delhist_on_command [internal]
*
* handle WM_COMMAND in Delete browsing history dialog
*
*/
static
INT_PTR
delhist_on_command
(
HWND
hdlg
,
WPARAM
wparam
)
{
switch
(
wparam
)
{
case
MAKEWPARAM
(
IDOK
,
BN_CLICKED
):
if
(
!
FreeUrlCacheSpaceW
(
NULL
,
100
,
FCS_PERCENT_CACHE_SPACE
))
break
;
/* Don't close the dialog. */
EndDialog
(
hdlg
,
IDOK
);
return
TRUE
;
case
MAKEWPARAM
(
IDCANCEL
,
BN_CLICKED
):
EndDialog
(
hdlg
,
IDCANCEL
);
return
TRUE
;
case
MAKEWPARAM
(
IDC_DELETE_TEMP_FILES
,
BN_CLICKED
):
case
MAKEWPARAM
(
IDC_DELETE_COOKIES
,
BN_CLICKED
):
case
MAKEWPARAM
(
IDC_DELETE_HISTORY
,
BN_CLICKED
):
case
MAKEWPARAM
(
IDC_DELETE_FORM_DATA
,
BN_CLICKED
):
case
MAKEWPARAM
(
IDC_DELETE_PASSWORDS
,
BN_CLICKED
):
{
BOOL
any
=
IsDlgButtonChecked
(
hdlg
,
IDC_DELETE_TEMP_FILES
)
||
IsDlgButtonChecked
(
hdlg
,
IDC_DELETE_COOKIES
)
||
IsDlgButtonChecked
(
hdlg
,
IDC_DELETE_HISTORY
)
||
IsDlgButtonChecked
(
hdlg
,
IDC_DELETE_FORM_DATA
)
||
IsDlgButtonChecked
(
hdlg
,
IDC_DELETE_PASSWORDS
);
EnableWindow
(
GetDlgItem
(
hdlg
,
IDOK
),
any
);
break
;
}
default:
break
;
}
return
FALSE
;
}
/*********************************************************************
* delhist_dlgproc [internal]
*
* Delete browsing history dialog procedure
*
*/
static
INT_PTR
CALLBACK
delhist_dlgproc
(
HWND
hdlg
,
UINT
msg
,
WPARAM
wparam
,
LPARAM
lparam
)
{
switch
(
msg
)
{
case
WM_COMMAND
:
return
delhist_on_command
(
hdlg
,
wparam
);
case
WM_INITDIALOG
:
{
DWORD
*
ptr
=
disabled_delhist_buttons
;
while
(
*
ptr
)
{
EnableWindow
(
GetDlgItem
(
hdlg
,
*
ptr
),
FALSE
);
ptr
++
;
}
CheckDlgButton
(
hdlg
,
IDC_DELETE_TEMP_FILES
,
BST_CHECKED
);
break
;
}
default:
break
;
}
return
FALSE
;
}
/*********************************************************************
/*********************************************************************
* parse_url_from_outside [internal]
* parse_url_from_outside [internal]
...
@@ -93,6 +173,11 @@ static INT_PTR general_on_command(HWND hwnd, WPARAM wparam)
...
@@ -93,6 +173,11 @@ static INT_PTR general_on_command(HWND hwnd, WPARAM wparam)
SetDlgItemTextW
(
hwnd
,
IDC_HOME_EDIT
,
about_blank
);
SetDlgItemTextW
(
hwnd
,
IDC_HOME_EDIT
,
about_blank
);
break
;
break
;
case
MAKEWPARAM
(
IDC_HISTORY_DELETE
,
BN_CLICKED
):
DialogBoxW
(
hcpl
,
MAKEINTRESOURCEW
(
IDD_DELETE_HISTORY
),
hwnd
,
delhist_dlgproc
);
break
;
default:
default:
TRACE
(
"not implemented for command: %d/%d
\n
"
,
HIWORD
(
wparam
),
LOWORD
(
wparam
));
TRACE
(
"not implemented for command: %d/%d
\n
"
,
HIWORD
(
wparam
),
LOWORD
(
wparam
));
return
FALSE
;
return
FALSE
;
...
@@ -112,7 +197,7 @@ static VOID general_on_initdialog(HWND hwnd)
...
@@ -112,7 +197,7 @@ static VOID general_on_initdialog(HWND hwnd)
DWORD
len
;
DWORD
len
;
DWORD
type
;
DWORD
type
;
LONG
res
;
LONG
res
;
DWORD
*
ptr
=
disable
_me
;
DWORD
*
ptr
=
disable
d_general_buttons
;
/* disable unimplemented buttons */
/* disable unimplemented buttons */
while
(
*
ptr
)
while
(
*
ptr
)
...
...
dlls/inetcpl.cpl/inetcpl.h
View file @
f9ef35ea
...
@@ -47,6 +47,15 @@ INT_PTR CALLBACK general_dlgproc(HWND, UINT, WPARAM, LPARAM) DECLSPEC_HIDDEN;
...
@@ -47,6 +47,15 @@ INT_PTR CALLBACK general_dlgproc(HWND, UINT, WPARAM, LPARAM) DECLSPEC_HIDDEN;
#define IDC_HOME_CURRENT 1001
#define IDC_HOME_CURRENT 1001
#define IDC_HOME_DEFAULT 1002
#define IDC_HOME_DEFAULT 1002
#define IDC_HOME_BLANK 1003
#define IDC_HOME_BLANK 1003
#define IDC_HISTORY_DELETE 1004
#define IDC_HISTORY_SETTINGS 1005
#define IDD_DELETE_HISTORY 1010
#define IDC_DELETE_TEMP_FILES 1011
#define IDC_DELETE_COOKIES 1012
#define IDC_DELETE_HISTORY 1013
#define IDC_DELETE_FORM_DATA 1014
#define IDC_DELETE_PASSWORDS 1015
#define IDD_CONTENT 4000
#define IDD_CONTENT 4000
#define IDC_CERT 4100
#define IDC_CERT 4100
...
...
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