From: Guillaume Cottenceau Date: Sat, 25 Aug 2012 13:58:07 +0000 (+0200) Subject: fix small stupid bug X-Git-Url: http://git.zarb.org/?p=booh;a=commitdiff_plain;h=90af7ca8aabcec527caa5c630674cebf0df70317 fix small stupid bug --- diff --git a/bin/booh-classifier b/bin/booh-classifier index 3b526e1..aa34ed6 100644 --- a/bin/booh-classifier +++ b/bin/booh-classifier @@ -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