Author: rnaumann
Date: Wed Sep 16 21:45:48 2015
New Revision: 69257

URL: http://svn.reactos.org/svn/reactos?rev=69257&view=rev
Log:
[MSXML3][BOOTDATA] Add icons for XML and XSL files and use them. Patch by Jared 
Smudde with some modifications by me. CORE-10133

Added:
    trunk/reactos/dll/win32/msxml3/res/
    trunk/reactos/dll/win32/msxml3/res/128.ico   (with props)
    trunk/reactos/dll/win32/msxml3/res/129.ico   (with props)
    trunk/reactos/dll/win32/msxml3/resource.h   (with props)
    trunk/reactos/dll/win32/msxml3/resources.rc   (with props)
Modified:
    trunk/reactos/boot/bootdata/hivecls.inf
    trunk/reactos/dll/win32/msxml3/version.rc

Modified: trunk/reactos/boot/bootdata/hivecls.inf
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/bootdata/hivecls.inf?rev=69257&r1=69256&r2=69257&view=diff
==============================================================================
--- trunk/reactos/boot/bootdata/hivecls.inf     [iso-8859-1] (original)
+++ trunk/reactos/boot/bootdata/hivecls.inf     [iso-8859-1] Wed Sep 16 
21:45:48 2015
@@ -237,8 +237,15 @@
 HKCR,".xml","",0x00000000,"xmlfile"
 HKCR,"xmlfile","",0x00000000,"XML Document"
 HKCR,".xml","Content Type",0x00000000,"text/xml"
-HKCR,"xmlfile\DefaultIcon","",0x00020000,"%SystemRoot%\system32\shell32.dll,-151"
+HKCR,"xmlfile\DefaultIcon","",0x00020000,"%SystemRoot%\system32\msxml3.dll,0"
 
HKCR,"xmlfile\shell\open\command","",0x00020000,"%SystemRoot%\system32\notepad.exe
 %1"
+
+; XSL Stylesheets
+HKCR,".xsl","",0x00000000,"xslfile"
+HKCR,"xslfile","",0x00000000,"XSL Stylesheet"
+HKCR,".xsl","Content Type",0x00000000,"text/xml"
+HKCR,"xslfile\DefaultIcon","",0x00020000,"%SystemRoot%\system32\msxml3.dll,1"
+HKCR,"xslfile\shell\open\command","",0x00020000,"%SystemRoot%\system32\notepad.exe
 %1"
 
 ; MSI files
 HKCR,".msi","",0x00000000,"MSI.Package"

Added: trunk/reactos/dll/win32/msxml3/res/128.ico
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msxml3/res/128.ico?rev=69257
==============================================================================
Binary file - no diff available.

Propchange: trunk/reactos/dll/win32/msxml3/res/128.ico
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: trunk/reactos/dll/win32/msxml3/res/129.ico
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msxml3/res/129.ico?rev=69257
==============================================================================
Binary file - no diff available.

Propchange: trunk/reactos/dll/win32/msxml3/res/129.ico
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: trunk/reactos/dll/win32/msxml3/resource.h
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msxml3/resource.h?rev=69257
==============================================================================
--- trunk/reactos/dll/win32/msxml3/resource.h   (added)
+++ trunk/reactos/dll/win32/msxml3/resource.h   [iso-8859-1] Wed Sep 16 
21:45:48 2015
@@ -0,0 +1,4 @@
+#pragma once
+
+#define IDI_XML_FILE    128
+#define IDI_XSL_FILE    129

Propchange: trunk/reactos/dll/win32/msxml3/resource.h
------------------------------------------------------------------------------
    svn:eol-style = native

Added: trunk/reactos/dll/win32/msxml3/resources.rc
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msxml3/resources.rc?rev=69257
==============================================================================
--- trunk/reactos/dll/win32/msxml3/resources.rc (added)
+++ trunk/reactos/dll/win32/msxml3/resources.rc [iso-8859-1] Wed Sep 16 
21:45:48 2015
@@ -0,0 +1,4 @@
+#include "resource.h"
+
+IDI_XML_FILE ICON "res/128.ico"
+IDI_XML_SYSTEM ICON "res/129.ico"

Propchange: trunk/reactos/dll/win32/msxml3/resources.rc
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: trunk/reactos/dll/win32/msxml3/version.rc
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msxml3/version.rc?rev=69257&r1=69256&r2=69257&view=diff
==============================================================================
--- trunk/reactos/dll/win32/msxml3/version.rc   [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/msxml3/version.rc   [iso-8859-1] Wed Sep 16 
21:45:48 2015
@@ -32,3 +32,6 @@
 2 WINE_REGISTRY "xmlparser.rgs"
 
 #include "schemas.rc"
+#ifdef __REACTOS__
+    #include "resources.rc"
+#endif


Reply via email to