updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / gruler / arch_fix.patch
blob87640d06fe03010bee2fa1fc813c890f18fd867e
1 diff -urp gruler/gruler.rb gruler.new/gruler.rb
2 --- gruler/gruler.rb 2008-06-06 10:36:32.000000000 +1000
3 +++ gruler/gruler.rb 2008-07-08 06:03:31.843709043 +1000
4 @@ -57,6 +57,15 @@ puts 'Connecting to GConf...'
5 $ppi = gconf[GCONF_PPI_PATH] || DEFAULT_PPI
6 gconf.set_root(GCONF_ROOT)
8 +class GladeXML
9 + alias_method :guard_source_from_gc_without_nil_check,
10 +:guard_source_from_gc
11 + def guard_source_from_gc(source)
12 + return if source.nil?
13 + guard_source_from_gc_without_nil_check(source)
14 + end
15 + end
17 puts 'Creating windows...'
18 $preferences_window = PreferencesWindow.new
19 $ruler_window = RulerWindow.new