workaround a problem on 2006
authorgc <gc>
Sun, 24 Feb 2008 22:09:35 +0000 (22:09 +0000)
committergc <gc>
Sun, 24 Feb 2008 22:09:35 +0000 (22:09 +0000)
bin/booh-classifier

index f1c44dc6a3514b40ebb4247494c744846ec4f80d..98265113a129beeb7924d547fe190ecd5e47008c 100644 (file)
@@ -960,7 +960,7 @@ def show_entry(entry, i)
         da1.signal_connect('realize') { da1.window.set_back_pixmap($videoborder_pixmap, false) }
         da2.signal_connect('realize') { da2.window.set_back_pixmap($videoborder_pixmap, false) }
     else
-        entry.button = Gtk::Button.new.set_image(entry.image)
+        entry.button = Gtk::Button.new.add(entry.image)
     end
     Gtk::Tooltips.new.set_tip(entry.button, entry.get_beautified_name, nil)
     $imagesline.pack_start(entry.alignment = Gtk::Alignment.new(0.5, 1, 0, 0).add(entry.button).show_all, false, false)