Gtk:::Dialog#run blocks updates

Hi all,

I’m busy using Ruby/GTK to popup a window showing a progress bar. The
Gtk::ProgressBar object is inside a Gtk::Dialog. I run the dialog in
one thread and then update it’s progress in another (calling
progressBar.set_fraction(progress)). However when I used dialog.run
the progress bar does not update. When I run the dialog using
‘dialog.show_all;Gtk.main’ it works fine. I would prefer to use
dialog.run if possible. Is there something I’m missing?

Farrel