fxri 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/fxri +3 -6
  2. data/fxri.gemspec +1 -1
  3. metadata +1 -1
data/fxri CHANGED
@@ -1,4 +1,6 @@
1
- #!/bin/env ruby
1
+ # move to directory of this file, so that icons can load correctly.
2
+ Dir.chdir(File.dirname(File.expand_path(__FILE__)))
3
+
2
4
 
3
5
  # Load FXRuby: try gem, then Fox 1.2, then Fox 1.0
4
6
  begin
@@ -303,12 +305,8 @@ class FXri < FXHorizontalFrame
303
305
 
304
306
  end
305
307
 
306
- if __FILE__ == $0
307
308
  Thread.abort_on_exception= true
308
309
 
309
- # move to directory of this file, so that icons can load correctly.
310
- Dir.chdir(File.dirname(File.expand_path(__FILE__)))
311
-
312
310
  application = FXApp.new($cfg.app.name, $cfg.app.name)
313
311
  application.threadsEnabled = true
314
312
  #application.init(ARGV)
@@ -317,4 +315,3 @@ if __FILE__ == $0
317
315
  application.create
318
316
  window.show(PLACEMENT_SCREEN)
319
317
  application.run
320
- end
data/fxri.gemspec CHANGED
@@ -4,7 +4,7 @@ require 'rubygems'
4
4
  spec = Gem::Specification.new do |s|
5
5
  s.name = "fxri"
6
6
  s.add_dependency('fxruby', '>= 1.2.0')
7
- s.version = "0.3.0"
7
+ s.version = "0.3.1"
8
8
  s.date = "2005-04-16"
9
9
  s.summary = "Graphical interface to the RI documentation, with search engine."
10
10
  s.require_paths = ["lib"]
metadata CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.8.6
3
3
  specification_version: 1
4
4
  name: fxri
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.3.0
6
+ version: 0.3.1
7
7
  date: 2005-04-16
8
8
  summary: "Graphical interface to the RI documentation, with search engine."
9
9
  require_paths: