fix small stupid bug
authorGuillaume Cottenceau <gcottenc@gmail.com>
Sat, 25 Aug 2012 13:58:07 +0000 (15:58 +0200)
committerGuillaume Cottenceau <gcottenc@gmail.com>
Sat, 25 Aug 2012 13:58:07 +0000 (15:58 +0200)
bin/booh-classifier

index 3b526e1..aa34ed6 100644 (file)
@@ -907,7 +907,7 @@ def show_popup(parent, msg, *options)
         dialog.add_button(Gtk::Stock::YES, Gtk::Dialog::RESPONSE_YES)
         dialog.add_button(utf8(_("Yes to all")), Gtk::Dialog::RESPONSE_ACCEPT)
     else
-        ok = dialog.add_button(Gtk::Stock::OK, Gtk::Dialog::RESPONSE_OK).grab_focus
+        ok = dialog.add_button(Gtk::Stock::OK, Gtk::Dialog::RESPONSE_OK)
         if ! options[:bottomwidget]
             ok.grab_focus
         end