Commit 3499ae95 authored by Jim Nelson's avatar Jim Nelson

#3121: Fixed critical warning in progress bar. Needed to wait for realize...

#3121: Fixed critical warning in progress bar.  Needed to wait for realize signal (which means the GDK window object has been created) before calling methods on the GDK window.
parent 535317de
......@@ -1013,7 +1013,12 @@ public class ProgressDialog : Gtk.Window {
add(alignment);
time_started = now_ms();
}
public override void realize() {
base.realize();
// if unable to cancel the progress bar, remove the close button
if (cancellable == null)
window.set_functions(Gdk.WMFunction.MOVE);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment