Commit 3a95e276 authored by Owen Rudge's avatar Owen Rudge Committed by Alexandre Julliard

shell32: Register Control Panel namespace folder.

parent 49d5c7fb
...@@ -657,6 +657,15 @@ static struct regsvr_coclass const coclass_list[] = { ...@@ -657,6 +657,15 @@ static struct regsvr_coclass const coclass_list[] = {
"shell32.dll", "shell32.dll",
"Apartment" "Apartment"
}, },
{ &CLSID_ControlPanel,
"Control Panel",
IDS_CONTROLPANEL,
NULL,
"shell32.dll",
"Apartment",
SHELLFOLDER_WANTSFORDISPLAY|SHELLFOLDER_ATTRIBUTES|SHELLFOLDER_HIDEASDELETE,
SFGAO_FOLDER|SFGAO_HASSUBFOLDER,
},
{ NULL } /* list terminator */ { NULL } /* list terminator */
}; };
...@@ -675,6 +684,8 @@ static const WCHAR wszDesktop[] = { 'D','e','s','k','t','o','p',0 }; ...@@ -675,6 +684,8 @@ static const WCHAR wszDesktop[] = { 'D','e','s','k','t','o','p',0 };
static const WCHAR wszSlash[] = { '/', 0 }; static const WCHAR wszSlash[] = { '/', 0 };
static const WCHAR wszMyDocuments[] = { 'M','y',' ','D','o','c','u','m','e','n','t','s', 0 }; static const WCHAR wszMyDocuments[] = { 'M','y',' ','D','o','c','u','m','e','n','t','s', 0 };
static const WCHAR wszRecycleBin[] = { 'T','r','a','s','h', 0 }; static const WCHAR wszRecycleBin[] = { 'T','r','a','s','h', 0 };
static const WCHAR wszMyComputer[] = { 'M','y','C','o','m','p','u','t','e','r', 0 };
static const WCHAR wszControlPanel[] = { 'C','o','n','t','r','o','l',' ','P','a','n','e','l', 0 };
static struct regsvr_namespace const namespace_extensions_list[] = { static struct regsvr_namespace const namespace_extensions_list[] = {
{ {
...@@ -692,6 +703,11 @@ static struct regsvr_namespace const namespace_extensions_list[] = { ...@@ -692,6 +703,11 @@ static struct regsvr_namespace const namespace_extensions_list[] = {
wszDesktop, wszDesktop,
wszRecycleBin wszRecycleBin
}, },
{
&CLSID_ControlPanel,
wszMyComputer,
wszControlPanel
},
{ NULL } { NULL }
}; };
......
...@@ -154,6 +154,7 @@ STRINGTABLE ...@@ -154,6 +154,7 @@ STRINGTABLE
/* special folders */ /* special folders */
IDS_DESKTOP " " IDS_DESKTOP " "
IDS_MYCOMPUTER " " IDS_MYCOMPUTER " "
IDS_CONTROLPANEL "Control Panel"
/* context menus */ /* context menus */
IDS_VIEW_LARGE "& " IDS_VIEW_LARGE "& "
......
...@@ -145,6 +145,7 @@ STRINGTABLE ...@@ -145,6 +145,7 @@ STRINGTABLE
{ {
IDS_DESKTOP "Plocha" IDS_DESKTOP "Plocha"
IDS_MYCOMPUTER "Tento pota" IDS_MYCOMPUTER "Tento pota"
IDS_CONTROLPANEL "Control Panel"
/* context menus */ /* context menus */
IDS_VIEW_LARGE "&Vedle sebe" IDS_VIEW_LARGE "&Vedle sebe"
......
...@@ -187,6 +187,7 @@ STRINGTABLE ...@@ -187,6 +187,7 @@ STRINGTABLE
IDS_DESKTOP "Skrivebord" IDS_DESKTOP "Skrivebord"
IDS_MYCOMPUTER "Min Computer" IDS_MYCOMPUTER "Min Computer"
IDS_RECYCLEBIN_FOLDER_NAME "Skraldespand" IDS_RECYCLEBIN_FOLDER_NAME "Skraldespand"
IDS_CONTROLPANEL "Control Panel"
/* context menus */ /* context menus */
IDS_VIEW_LARGE "Store Ikoner" IDS_VIEW_LARGE "Store Ikoner"
......
...@@ -187,6 +187,7 @@ STRINGTABLE ...@@ -187,6 +187,7 @@ STRINGTABLE
IDS_DESKTOP "Desktop" IDS_DESKTOP "Desktop"
IDS_MYCOMPUTER "Arbeitsplatz" IDS_MYCOMPUTER "Arbeitsplatz"
IDS_RECYCLEBIN_FOLDER_NAME "Papierkorb" IDS_RECYCLEBIN_FOLDER_NAME "Papierkorb"
IDS_CONTROLPANEL "Control Panel"
/* context menus */ /* context menus */
IDS_VIEW_LARGE "&Groe Symbole" IDS_VIEW_LARGE "&Groe Symbole"
......
...@@ -186,6 +186,7 @@ STRINGTABLE ...@@ -186,6 +186,7 @@ STRINGTABLE
IDS_DESKTOP "Desktop" IDS_DESKTOP "Desktop"
IDS_MYCOMPUTER "My Computer" IDS_MYCOMPUTER "My Computer"
IDS_RECYCLEBIN_FOLDER_NAME "Trash" IDS_RECYCLEBIN_FOLDER_NAME "Trash"
IDS_CONTROLPANEL "Control Panel"
/* context menus */ /* context menus */
IDS_VIEW_LARGE "Lar&ge Icons" IDS_VIEW_LARGE "Lar&ge Icons"
......
...@@ -148,6 +148,7 @@ STRINGTABLE ...@@ -148,6 +148,7 @@ STRINGTABLE
/* special folders */ /* special folders */
IDS_DESKTOP "Desktop" IDS_DESKTOP "Desktop"
IDS_MYCOMPUTER "Mea Komputero" IDS_MYCOMPUTER "Mea Komputero"
IDS_CONTROLPANEL "Control Panel"
/* context menus */ /* context menus */
IDS_VIEW_LARGE "&Grandaj Ikonoj" IDS_VIEW_LARGE "&Grandaj Ikonoj"
......
...@@ -187,6 +187,7 @@ STRINGTABLE ...@@ -187,6 +187,7 @@ STRINGTABLE
IDS_DESKTOP "Escritorio" IDS_DESKTOP "Escritorio"
IDS_MYCOMPUTER "Mi PC" IDS_MYCOMPUTER "Mi PC"
IDS_RECYCLEBIN_FOLDER_NAME "Papelera de reciclaje" IDS_RECYCLEBIN_FOLDER_NAME "Papelera de reciclaje"
IDS_CONTROLPANEL "Control Panel"
/* context menus */ /* context menus */
IDS_VIEW_LARGE "Iconos &grandes" IDS_VIEW_LARGE "Iconos &grandes"
......
...@@ -154,6 +154,7 @@ STRINGTABLE ...@@ -154,6 +154,7 @@ STRINGTABLE
/* special folders */ /* special folders */
IDS_DESKTOP "Typyt" IDS_DESKTOP "Typyt"
IDS_MYCOMPUTER "Oma tietokone" IDS_MYCOMPUTER "Oma tietokone"
IDS_CONTROLPANEL "Control Panel"
/* context menus */ /* context menus */
IDS_VIEW_LARGE "&Suuret kuvakkeet" IDS_VIEW_LARGE "&Suuret kuvakkeet"
......
...@@ -192,6 +192,7 @@ STRINGTABLE ...@@ -192,6 +192,7 @@ STRINGTABLE
IDS_DESKTOP "Bureau" IDS_DESKTOP "Bureau"
IDS_MYCOMPUTER "Poste de travail" IDS_MYCOMPUTER "Poste de travail"
IDS_RECYCLEBIN_FOLDER_NAME "Corbeille" IDS_RECYCLEBIN_FOLDER_NAME "Corbeille"
IDS_CONTROLPANEL "Control Panel"
/* context menus */ /* context menus */
IDS_VIEW_LARGE "&Grandes icônes" IDS_VIEW_LARGE "&Grandes icônes"
......
...@@ -156,6 +156,7 @@ STRINGTABLE ...@@ -156,6 +156,7 @@ STRINGTABLE
/* special folder */ /* special folder */
IDS_DESKTOP "Desktop" IDS_DESKTOP "Desktop"
IDS_MYCOMPUTER "Risorse del Computer" IDS_MYCOMPUTER "Risorse del Computer"
IDS_CONTROLPANEL "Control Panel"
/* context menus */ /* context menus */
IDS_VIEW_LARGE "Icone &Grandi" IDS_VIEW_LARGE "Icone &Grandi"
......
...@@ -104,6 +104,7 @@ STRINGTABLE ...@@ -104,6 +104,7 @@ STRINGTABLE
/* special folders */ /* special folders */
IDS_DESKTOP "デスクトップ" IDS_DESKTOP "デスクトップ"
IDS_MYCOMPUTER "マイコンピュータ" IDS_MYCOMPUTER "マイコンピュータ"
IDS_CONTROLPANEL "Control Panel"
/* context menus */ /* context menus */
IDS_VIEW_LARGE "大きいアイコン(&G)" IDS_VIEW_LARGE "大きいアイコン(&G)"
......
...@@ -188,6 +188,7 @@ IDS_SHV_COLUMN_DELDATE "지워진 날짜" ...@@ -188,6 +188,7 @@ IDS_SHV_COLUMN_DELDATE "지워진 날짜"
IDS_DESKTOP "데스크탑" IDS_DESKTOP "데스크탑"
IDS_MYCOMPUTER "내 컴퓨터" IDS_MYCOMPUTER "내 컴퓨터"
IDS_RECYCLEBIN_FOLDER_NAME "휴지통" IDS_RECYCLEBIN_FOLDER_NAME "휴지통"
IDS_CONTROLPANEL "Control Panel"
/* context menus */ /* context menus */
IDS_VIEW_LARGE "큰 아이콘(&G)" IDS_VIEW_LARGE "큰 아이콘(&G)"
......
...@@ -188,6 +188,7 @@ STRINGTABLE ...@@ -188,6 +188,7 @@ STRINGTABLE
IDS_DESKTOP "Bureaublad" IDS_DESKTOP "Bureaublad"
IDS_MYCOMPUTER "Mijn Computer" IDS_MYCOMPUTER "Mijn Computer"
IDS_RECYCLEBIN_FOLDER_NAME "Vuilnisbak" IDS_RECYCLEBIN_FOLDER_NAME "Vuilnisbak"
IDS_CONTROLPANEL "Control Panel"
/* context menus */ /* context menus */
IDS_VIEW_LARGE "Grote Icons" IDS_VIEW_LARGE "Grote Icons"
......
...@@ -186,6 +186,7 @@ STRINGTABLE ...@@ -186,6 +186,7 @@ STRINGTABLE
IDS_DESKTOP "Skrivebord" IDS_DESKTOP "Skrivebord"
IDS_MYCOMPUTER "Min datamaskin" IDS_MYCOMPUTER "Min datamaskin"
IDS_RECYCLEBIN_FOLDER_NAME "Papirkurv" IDS_RECYCLEBIN_FOLDER_NAME "Papirkurv"
IDS_CONTROLPANEL "Control Panel"
/* context menus */ /* context menus */
IDS_VIEW_LARGE "&Store ikoner" IDS_VIEW_LARGE "&Store ikoner"
......
...@@ -187,6 +187,7 @@ STRINGTABLE ...@@ -187,6 +187,7 @@ STRINGTABLE
IDS_DESKTOP "Pulpit" IDS_DESKTOP "Pulpit"
IDS_MYCOMPUTER "Mj komputer" IDS_MYCOMPUTER "Mj komputer"
IDS_RECYCLEBIN_FOLDER_NAME "Kosz" IDS_RECYCLEBIN_FOLDER_NAME "Kosz"
IDS_CONTROLPANEL "Control Panel"
/* context menus */ /* context menus */
IDS_VIEW_LARGE "&Due Ikony" IDS_VIEW_LARGE "&Due Ikony"
......
...@@ -248,6 +248,7 @@ STRINGTABLE ...@@ -248,6 +248,7 @@ STRINGTABLE
/* special folders */ /* special folders */
IDS_DESKTOP "rea de trabalho" IDS_DESKTOP "rea de trabalho"
IDS_MYCOMPUTER "Meu computador" IDS_MYCOMPUTER "Meu computador"
IDS_CONTROLPANEL "Control Panel"
/* context menus */ /* context menus */
IDS_VIEW_LARGE "cones &grandes" IDS_VIEW_LARGE "cones &grandes"
......
...@@ -189,6 +189,7 @@ STRINGTABLE ...@@ -189,6 +189,7 @@ STRINGTABLE
IDS_DESKTOP "Birou" IDS_DESKTOP "Birou"
IDS_MYCOMPUTER "Computerul meu" IDS_MYCOMPUTER "Computerul meu"
IDS_RECYCLEBIN_FOLDER_NAME "Gunoi" IDS_RECYCLEBIN_FOLDER_NAME "Gunoi"
IDS_CONTROLPANEL "Control Panel"
/* context menus */ /* context menus */
IDS_VIEW_LARGE "Pictograme &mari" IDS_VIEW_LARGE "Pictograme &mari"
......
...@@ -187,6 +187,7 @@ STRINGTABLE ...@@ -187,6 +187,7 @@ STRINGTABLE
IDS_DESKTOP " " IDS_DESKTOP " "
IDS_MYCOMPUTER " " IDS_MYCOMPUTER " "
IDS_RECYCLEBIN_FOLDER_NAME "" IDS_RECYCLEBIN_FOLDER_NAME ""
IDS_CONTROLPANEL "Control Panel"
/* context menus */ /* context menus */
IDS_VIEW_LARGE "& " IDS_VIEW_LARGE "& "
......
...@@ -188,6 +188,7 @@ STRINGTABLE ...@@ -188,6 +188,7 @@ STRINGTABLE
IDS_DESKTOP "Namizje" IDS_DESKTOP "Namizje"
IDS_MYCOMPUTER "Moj računalnik" IDS_MYCOMPUTER "Moj računalnik"
IDS_RECYCLEBIN_FOLDER_NAME "Smeti" IDS_RECYCLEBIN_FOLDER_NAME "Smeti"
IDS_CONTROLPANEL "Control Panel"
/* context menus */ /* context menus */
IDS_VIEW_LARGE "Ve&like ikone" IDS_VIEW_LARGE "Ve&like ikone"
......
...@@ -155,6 +155,7 @@ STRINGTABLE ...@@ -155,6 +155,7 @@ STRINGTABLE
IDS_DESKTOP "Masast" IDS_DESKTOP "Masast"
IDS_MYCOMPUTER "Bilgisayarm" IDS_MYCOMPUTER "Bilgisayarm"
IDS_RECYCLEBIN_FOLDER_NAME "p" IDS_RECYCLEBIN_FOLDER_NAME "p"
IDS_CONTROLPANEL "Control Panel"
/* context menus */ /* context menus */
IDS_VIEW_LARGE "B&yk Simgeler" IDS_VIEW_LARGE "B&yk Simgeler"
......
...@@ -141,6 +141,7 @@ STRINGTABLE ...@@ -141,6 +141,7 @@ STRINGTABLE
{ {
IDS_DESKTOP "" IDS_DESKTOP ""
IDS_MYCOMPUTER "̳ '" IDS_MYCOMPUTER "̳ '"
IDS_CONTROLPANEL "Control Panel"
/* context menus */ /* context menus */
IDS_VIEW_LARGE "& " IDS_VIEW_LARGE "& "
......
...@@ -38,13 +38,14 @@ ...@@ -38,13 +38,14 @@
#define IDS_DESKTOP 20 #define IDS_DESKTOP 20
#define IDS_MYCOMPUTER 21 #define IDS_MYCOMPUTER 21
#define IDS_CONTROLPANEL 22
#define IDS_SELECT 22
#define IDS_OPEN 23 #define IDS_SELECT 23
#define IDS_VIEW_LARGE 24 #define IDS_OPEN 24
#define IDS_VIEW_SMALL 25 #define IDS_VIEW_LARGE 25
#define IDS_VIEW_LIST 26 #define IDS_VIEW_SMALL 26
#define IDS_VIEW_DETAILS 27 #define IDS_VIEW_LIST 27
#define IDS_VIEW_DETAILS 28
#define IDS_RESTART_TITLE 40 #define IDS_RESTART_TITLE 40
#define IDS_RESTART_PROMPT 41 #define IDS_RESTART_PROMPT 41
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment