From: Guillaume Cottenceau Date: Sat, 18 Feb 2012 13:11:20 +0000 (+0100) Subject: also rescue Gtk::InitError for booh-backend X-Git-Url: http://git.zarb.org/?p=booh;a=commitdiff_plain;h=89bafd44d12c4b5ca803f5c3e894e879681a27a8 also rescue Gtk::InitError for booh-backend --- diff --git a/bin/booh-backend b/bin/booh-backend old mode 100755 new mode 100644 diff --git a/lib/booh/booh-lib.rb b/lib/booh/booh-lib.rb index de7fafc..c319475 100644 --- a/lib/booh/booh-lib.rb +++ b/lib/booh/booh-lib.rb @@ -32,7 +32,7 @@ require 'booh/config.rb' require 'booh/version.rb' begin require 'gtk2' -rescue LoadError +rescue LoadError, Gtk::InitError $no_gtk2 = true end begin