lib/swing_helpers.rb in sensible-cinema-0.22.1 vs lib/swing_helpers.rb in sensible-cinema-0.23.0
- old
+ new
@@ -87,10 +87,10 @@
File.expand_path(get_directory + '/' + get_file) if get_file
end
end
class NonBlockingDialog < JDialog
- def initialize title_and_display_text, close_button_text= 'Close'
+ def initialize title_and_display_text, close_button_text = 'Close'
super nil
lines = title_and_display_text.split("\n")
set_title lines[0]
get_content_pane.set_layout nil
lines.each_with_index{|line, idx|
\ No newline at end of file