def METHOD_NAME(fraction, msg, is_done):
    """Update progress bar from GLib main loop"""
    if msg:
        self.progressbar.set_text(msg)
    self.progressbar.set_fraction(fraction)
    if is_done:
        self.progressbar.hide()
        self.make_button.set_sensitive(True)