--- a/rubyripper_gtk2.rb 2008-04-01 17:05:12.000000000 +0200 +++ b/rubyripper_gtk2.rb 2008-04-01 17:05:59.000000000 +0200 @@ -35,10 +35,10 @@ end def editor # look for default editor - if installed('mousepad') : return 'mousepad' #Xfce4 editor + if ENV['EDITOR'] : return ENV['EDITOR'] elsif installed('kwrite') : return 'kwrite' #Kde editor elsif installed('gedit') : return 'gedit' #Gnome editor - elsif ENV['EDITOR'] : return ENV['EDITOR'] + elsif installed('mousepad') : return 'mousepad' #Xfce4 editor else puts "No editor found. Please tell the developer which editor you use!" ; return 'unknown' end end