remove apparently unused :topwidget popup helper option
authorGuillaume Cottenceau <gcottenc@gmail.com>
Mon, 4 Jan 2010 13:24:24 +0000 (14:24 +0100)
committerGuillaume Cottenceau <gcottenc@gmail.com>
Mon, 4 Jan 2010 13:24:24 +0000 (14:24 +0100)
bin/booh
bin/booh-classifier

index a2bb51c..2795f93 100644 (file)
--- a/bin/booh
+++ b/bin/booh
@@ -2003,9 +2003,6 @@ def show_popup(parent, msg, *options)
     if options[0] && options[0][:selectable]
         lbl.selectable = true
     end
-    if options[0] && options[0][:topwidget]
-        dialog.vbox.add(options[0][:topwidget])
-    end
     if options[0] && options[0][:scrolled]
         sw = Gtk::ScrolledWindow.new(nil, nil)
         sw.set_policy(Gtk::POLICY_AUTOMATIC, Gtk::POLICY_AUTOMATIC)
index 0dbf1d5..029671d 100644 (file)
@@ -870,9 +870,6 @@ def show_popup(parent, msg, *options)
     if options[:selectable]
         lbl.selectable = true
     end
-    if options[:topwidget]
-        dialog.vbox.add(options[0][:topwidget])
-    end
     if options[:scrolled]
         sw = Gtk::ScrolledWindow.new(nil, nil)
         sw.set_policy(Gtk::POLICY_AUTOMATIC, Gtk::POLICY_AUTOMATIC)