From 760ae5719c7a20fa04f4383ad5a93e2b4433a320 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 18 Feb 2015 08:38:39 +0530 Subject: [PATCH] ... --- src/calibre/utils/winreg/default_programs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/calibre/utils/winreg/default_programs.py b/src/calibre/utils/winreg/default_programs.py index 0d5de29724..124c075757 100644 --- a/src/calibre/utils/winreg/default_programs.py +++ b/src/calibre/utils/winreg/default_programs.py @@ -67,7 +67,7 @@ def create_prog_id(ext, prog_id, ext_map, exe): key.set(value=type_name) key.set('FriendlyTypeName', type_name) key.set('PerceivedType', 'Document') - key.set('DefaultIcon', exe+',1') + key.set('DefaultIcon', exe+',0') key.set_default_value(r'shell\open\command', '"%s" "%%1"' % exe) key.set('AllowSilentDefaultTakeOver') @@ -91,7 +91,7 @@ def register(): with Key(capabilities_path) as key: for k, v in {'ApplicationDescription':'description', 'ApplicationName':'name'}.iteritems(): key.set(k, data[v]) - key.set('ApplicationIcon', '%s,1' % exe) + key.set('ApplicationIcon', '%s,0' % exe) key.set_default_value(r'shell\open\command', '"%s" "%%1"' % exe) with Key('FileAssociations', root=key) as fak, Key('MimeAssociations', root=key) as mak: