[macruby-changes] [215] MacRuby/trunk/sample-macruby/Scripts/transparent_hello.rb
source_changes at macosforge.org
source_changes at macosforge.org
Fri May 23 21:54:44 PDT 2008
Revision: 215
http://trac.macosforge.org/projects/ruby/changeset/215
Author: lsansonetti at apple.com
Date: 2008-05-23 21:54:44 -0700 (Fri, 23 May 2008)
Log Message:
-----------
remove the timer part now that the runloop is interruptable
Modified Paths:
--------------
MacRuby/trunk/sample-macruby/Scripts/transparent_hello.rb
Modified: MacRuby/trunk/sample-macruby/Scripts/transparent_hello.rb
===================================================================
--- MacRuby/trunk/sample-macruby/Scripts/transparent_hello.rb 2008-05-23 19:35:49 UTC (rev 214)
+++ MacRuby/trunk/sample-macruby/Scripts/transparent_hello.rb 2008-05-24 04:54:44 UTC (rev 215)
@@ -56,13 +56,6 @@
window.makeKeyAndOrderFront(nil)
window.orderFrontRegardless
-# Prepare a timer that will auto-terminate our application
-$stderr.puts "Starting. Application will automatically quit in 5 seconds."
-NSTimer.scheduledTimerWithTimeInterval(5.0,
- target:application,
- selector:'terminate:',
- userInfo:nil,
- repeats:false)
-
# And start the application event loop
+$stderr.puts "Starting. Press ^C to quit."
application.run
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macruby-changes/attachments/20080523/ae5aa323/attachment.htm
More information about the macruby-changes
mailing list