examples/xy.rb in ruby-libnotify-0.4.1.1 vs examples/xy.rb in ruby-libnotify-0.5.0
- old
+ new
@@ -18,15 +18,10 @@
require 'RNotify'
end
Notify.init("Test7")
-test = Notify::Notification.new("Test 7", "This notification point to 150,100", nil, nil)
+test = Notify::Notification.new("Test 7", "This notification point to 150,100", nil)
test.hint32("x", 150)
test.hint32("y", 100)
test.timeout= 5000 #5 seconds
test.show
-
-sleep(6)
-test.clear_hints
-test.close
-Notify.uninit