lib/rabbit/search-window.rb in rabbit-2.1.6 vs lib/rabbit/search-window.rb in rabbit-2.1.7

- old
+ new

@@ -38,11 +38,11 @@ @searcher.regexp(@entry.text) end private def init_window - @window = Gtk::Window.new(Gtk::Window::POPUP) + @window = Gtk::Window.new(:popup) @window.modal = true init_frame init_box init_entry init_direction @@ -54,10 +54,10 @@ @frame.show @window.add(@frame) end def init_box - @box = Gtk::HBox.new + @box = Gtk::Box.new(:horizontal) @box.border_width = 3 @box.show @frame.add(@box) end