lib/jldrill/views/gtk/ProblemView.rb in jldrill-0.5.1.7 vs lib/jldrill/views/gtk/ProblemView.rb in jldrill-0.6.0.1
- old
+ new
@@ -1,5 +1,6 @@
+# encoding: utf-8
require 'jldrill/contexts/DisplayProblemContext'
require 'jldrill/views/gtk/widgets/ProblemDisplay'
require 'gtk2'
module JLDrill::Gtk
@@ -64,9 +65,13 @@
@problemDisplay.updateProblem(problem)
stopTimer
if !problem.nil?
startTimer(problem.item.itemStats.timeLimit)
end
+ end
+
+ def showBusy(bool)
+ @problemDisplay.showBusy(bool)
end
end
end