=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: loader/wine.inf: Open pdf files using winebrowser.

Alexandre Julliard julliard at winehq.org
Fri Sep 9 10:09:02 CDT 2016


Module: wine
Branch: master
Commit: 3e997a75d3cae811e0f90c760c1d5f0616ba3558
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=3e997a75d3cae811e0f90c760c1d5f0616ba3558

Author: André Hentschel <nerv at dawncrow.de>
Date:   Mon Sep  5 22:56:31 2016 +0200

loader/wine.inf: Open pdf files using winebrowser.

Signed-off-by: André Hentschel <nerv at dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 loader/wine.inf.in | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/loader/wine.inf.in b/loader/wine.inf.in
index 4e29026..0c58d6a 100644
--- a/loader/wine.inf.in
+++ b/loader/wine.inf.in
@@ -179,6 +179,7 @@ HKCR,.ini,,2,"inifile"
 HKCR,.lnk,,2,"lnkfile"
 HKCR,.msi,,2,"Msi.Package"
 HKCR,.msp,,2,"Msi.Patch"
+HKCR,.pdf,,2,"pdffile"
 HKCR,.rtf,,2,"rtffile"
 HKCR,.wri,,2,"wrifile"
 HKCR,*\shellex\ContextMenuHandlers,,16
@@ -223,6 +224,12 @@ HKCR,Msi.Package\shell\Uninstall\command,,2,"%11%\msiexec.exe /x ""%1"""
 HKCR,Msi.Patch,,2,"Windows Installer Patch"
 HKCR,Msi.Patch\DefaultIcon,,2,"msiexec.exe"
 HKCR,Msi.Patch\shell\Open\command,,2,"%11%\msiexec.exe /p ""%1"""
+HKCR,pdffile,,2,"PDF Document"
+HKCR,pdffile\shell\open\command,,2,"""%11%\winebrowser.exe"" -nohome"
+HKCR,pdffile\shell\open\ddeexec,,2,"""%1"",,-1,0,,,,"
+HKCR,pdffile\shell\open\ddeexec,"NoActivateHandler",2,""
+HKCR,pdffile\shell\open\ddeexec\Application,,2,"IExplore"
+HKCR,pdffile\shell\open\ddeexec\Topic,,2,"WWW_OpenURL"
 HKCR,rtffile,,2,"Rich Text Document"
 HKCR,rtffile\shell\open\command,,2,"""%16422%\Windows NT\Accessories\wordpad.exe"" %1"
 HKCR,rtffile\shell\print\command,,2,"""%16422%\Windows NT\Accessories\wordpad.exe"" /p %1"




More information about the wine-cvs mailing list