Skip to content

Commit

Permalink
Merge pull request sj26#18 from UnderpantsGnome/better_growl_image
Browse files Browse the repository at this point in the history
better image for growl
  • Loading branch information
sj26 committed Aug 26, 2011
2 parents 56113d9 + 2290c0e commit 736f3ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/mail_catcher/growl.rb
Expand Up @@ -6,7 +6,8 @@ def start
end

def notify message
system "growlnotify", "--name", "MailCatcher", "--message", "Message received:\n#{message["subject"]}"
image_path = File.expand_path(File.join(__FILE__, '..', '..', '..', 'public', 'images', 'logo_large.png'))
system "growlnotify", "--image", image_path, "--name", "MailCatcher", "--message", "Message received:\n#{message["subject"]}"
end

# TODO: Native support on MacRuby with click backs
Expand Down
Binary file added public/images/logo_large.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 736f3ee

Please sign in to comment.