#2 ✓resolved
TJ Holowaychuk

Refactor --icon to allow image,icon, or extname

Reported by TJ Holowaychuk | April 13th, 2009 @ 05:27 PM | in 1.0

Allow the icon switch to be an image, icon, or extension. This would be much more usable than --icon, --image, and --iconpath

So for instance the following would all be legal


# Extname icon
notify 'foo', :icon => :jpeg

# Image path icon
notify 'foo', :icon => 'images/error.png'

# Icon path icon
notify 'foo', :icon => 'images/error.icns'

# Extname from path icon
notify 'foo', :icon => 'foo.rb'

# App icon
notify 'foo', :icon => :Safari

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Ruby growl 'bindings'

People watching this ticket

Pages