From 3663687ad63c42dd35942b1267f0a16f904ebb67 Mon Sep 17 00:00:00 2001 From: Daniel Mack Date: Thu, 11 Aug 2011 11:24:14 +0200 Subject: [PATCH] Add ':transient => true' to default libnotify options This is a new feature in libnotify causing transitions to vanish after they've been displayed. --- lib/guard/notifier.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/guard/notifier.rb b/lib/guard/notifier.rb index eb5bd86..d45950c 100644 --- a/lib/guard/notifier.rb +++ b/lib/guard/notifier.rb @@ -51,7 +51,7 @@ module Guard def self.notify_linux(title, message, image, options) require_libnotify # need for guard-rspec formatter that is called out of guard scope - default_options = { :body => message, :summary => title, :icon_path => image_path(image) } + default_options = { :body => message, :summary => title, :icon_path => image_path(image), :transient => true } Libnotify.show default_options.merge(options) if enabled? end