Permalink
Browse files

added pivotal icon

  • Loading branch information...
1 parent e5f4287 commit 0786c77caf2746f0762baa826ca5a4bf9b30c633 @trybeee trybeee committed Apr 29, 2010
Showing with 2 additions and 1 deletion.
  1. BIN img/pivotal.png
  2. +2 −1 lib/kilt.rb
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
@@ -41,11 +41,12 @@ def fetch_activities
def notify_about(message)
title = 'Pivotal Tracker'
+ icon_path = File.join File.dirname(__FILE__), '..', 'icon', 'pivotal.png'
case RUBY_PLATFORM
when /linux/
system "notify-send '#{title}' '#{message}'"
when /darwin/
- system "growlnotify -t '#{title}' -m '#{message}'"
+ system "growlnotify -t '#{title}' -m '#{message}' --image #{icon_path}"
end
end
end

0 comments on commit 0786c77

Please sign in to comment.