#! /usr/bin/ruby1.8

#
# $Id$
#
# Main startup module - decides whether to use hildon or gtk
#

begin
  # Check if we can load hildon version
  require 'hildon'
rescue LoadError
  # Use gtk version as a fallback
  load 'pref_gtk.rb'
  exit 0
end

# Use Hildon if there was no exception
load 'pref_hildon.rb'

