From: Ferenc Engard Date: 2004-12-31T11:09:44+09:00 Subject: bug in ruby/gtk2 examples Hi all! I use ruby/gtk2 from the ruby-gtk2-0.10.0-2-i386-msvcrt-1.8.zip package. There are many samples in this distrib, one of these is ruby\samples\ruby-gnome2\gtk\gtk-demo. In this app, in the dialog.rb the dialog buttons are created incorrectly. Here is the diff to correct: --- dialog.orig.rb 2004-08-09 01:06:22.000000000 +0200 +++ dialog.rb 2004-12-31 03:07:52.431412800 +0100 @@ -87,12 +87,11 @@ self, Gtk::Dialog::MODAL | Gtk::Dialog::DESTROY_WITH_PARENT, - [ - Gtk::Stock::OK, - Gtk::Dialog::RESPONSE_OK, - "_Non-stock Button", - Gtk::Dialog::RESPONSE_CANCEL, - ]) + [Gtk::Stock::OK, + Gtk::Dialog::RESPONSE_OK], + ["_Non-stock Button", + Gtk::Dialog::RESPONSE_CANCEL] + ) hbox = Gtk::HBox.new(false, 0) hbox.set_border_width(8) Bye: Ferenc