[Windows] The background of icons of droplet shortcuts should be transparent, not black
Bug #544429 reported by
Stani
Bug watches keep track of this bug in other bug trackers.
=== modified file 'phatch/ pyWx/windows/ droplet. py' pyWx/windows/ droplet. py 2010-03-13 16:54:37 +0000 pyWx/windows/ droplet. py 2010-03-22 19:32:33 +0000 droplet( name, arguments, folder, description=None):
description = name 'distribute' ] == 'frozen': 'phatch. ico']} create(
save_ as=os.path. join(folder, name + '.lnk'),
path= ct.COMMAND_ PATH,
arguments= arguments,
description= description, CONTEXT[ 'phatch. ico'],
--- phatch/
+++ phatch/
@@ -57,12 +57,18 @@
def create_
if description is None:
+ # if frozen, do NOT specify an icon!
+ # otherwise the shortcut icon gets a black background
+ if CONTEXT[
+ options = {}
+ else:
+ options = {'icon_path': CONTEXT[
shortcut.
- icon_path=
+ **options
)