Changeset 2275
- Timestamp:
- 04/02/10 15:10:09 (3 years ago)
- Files:
-
- 1 modified
-
linux/traycommand/traycommand (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
linux/traycommand/traycommand
r1883 r2275 10 10 end 11 11 12 begin 13 require 'gconf2' 14 rescue LoadError 15 $stderr << "########################################################\n" 16 $stderr << "# In order to run this programm you need ruby-gconf2! #\n" 17 $stderr << "########################################################\n" 18 raise 19 end 20 12 21 require 'yaml' 13 22 require 'pp' 14 23 require 'optparse' 15 24 require 'ostruct' 16 require 'gconf2'17 25 18 26 TRAYCOMMANDVERSION = [0,1] … … 40 48 begin 41 49 optpars.parse! 50 $options.configfile ||= "layoutswitch.yaml" 42 51 rescue => e 43 52 puts e
