Changeset 757
- Timestamp:
- 10/27/07 18:50:56 (6 years ago)
- Location:
- lang/ruby/Amalgam
- Files:
-
- 2 modified
-
AppController.rb (modified) (1 diff)
-
rb_main.rb (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lang/ruby/Amalgam/AppController.rb
r754 r757 378 378 ret 379 379 end 380 end 381 382 380 381 end 382 383 -
lang/ruby/Amalgam/rb_main.rb
r734 r757 17 17 end 18 18 19 def alert(title, msg) 20 OSX.NSRunAlertPanel(title, msg, "OK", "", nil) 21 end 22 19 23 def rb_main_init 20 24 path = OSX::NSBundle.mainBundle.resourcePath.fileSystemRepresentation … … 29 33 rb_main_init 30 34 OSX::NSApplicationWithHotKey.sharedApplication 31 OSX.NSApplicationMain(0, nil) 35 begin 36 OSX.NSApplicationMain(0, nil) 37 rescue Exception => e 38 $stderr.puts e 39 $stderr.puts e.backtrace 40 alert("Exception!", "#{e.inspect}\nAbort. See console.log to get more information.") 41 end 32 42 end
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)