Awn

Comment 9 for bug 129806

Revision history for this message
haytjes (h4writer) wrote :

(I got an private message about this issue, saying a new patch that works against the newest BZR is available here: http://patch-manager.dskw.de/?do=patch&id=51&subdo=view&subid=89)

I was thinking. Maybe there is a way to get this thing working.
Now in this code you can get the title of a program. Isn't it default for application to set their name like:

Mozilla Firefox
lorum ipsorum - Mozilla Firefox
lorum ipsorum - OpenOffice.org Calc
...

I think it would be possible to let the title decide which icon should be needed...

(small example in python)
[code]
program = title
if '-' in title:
   program = title[title.rindex('-')+1:].lstrip()
[/code]

So normally the program gets the default icon and the different openoffice programs will get the same icons, BUT if you set a custom icon on it, it will look to the program name to distinguish the different programs...
That way it isn't hard coded for openoffice and will work with other programs to...