[Windows] The background of icons of droplet shortcuts should be transparent, not black

Bug #544429 reported by Stani
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Phatch
Fix Released
Medium
Stani

Bug Description

They should be transparent as this looks unprofessional.

Tags: windows
Revision history for this message
Stani (stani) wrote :

=== modified file 'phatch/pyWx/windows/droplet.py'
--- phatch/pyWx/windows/droplet.py 2010-03-13 16:54:37 +0000
+++ phatch/pyWx/windows/droplet.py 2010-03-22 19:32:33 +0000
@@ -57,12 +57,18 @@
 def create_droplet(name, arguments, folder, description=None):
     if description is None:
         description = name
+ # if frozen, do NOT specify an icon!
+ # otherwise the shortcut icon gets a black background
+ if CONTEXT['distribute'] == 'frozen':
+ options = {}
+ else:
+ options = {'icon_path': CONTEXT['phatch.ico']}
     shortcut.create(
         save_as=os.path.join(folder, name + '.lnk'),
         path=ct.COMMAND_PATH,
         arguments=arguments,
         description=description,
- icon_path=CONTEXT['phatch.ico'],
+ **options
     )

Changed in phatch:
status: Confirmed → Fix Released
summary: - [Windows] Icons of droplet shortcuts have a black background
+ [Windows] The background of icons of droplet shortcuts should be
+ transparent, not black
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.