Gtk UI: Progress dialog should also be modal
This commit is contained in:
parent
f5ab4117fa
commit
878f67aaa6
1 changed files with 1 additions and 0 deletions
|
@ -55,6 +55,7 @@ class ProgressIndicator(object):
|
|||
def _create_progress(self):
|
||||
self.dialog = gtk.MessageDialog(self.parent, \
|
||||
0, 0, gtk.BUTTONS_CANCEL, self.subtitle or self.title)
|
||||
self.dialog.set_modal(True)
|
||||
self.dialog.connect('delete-event', self._on_delete_event)
|
||||
self.dialog.set_title(self.title)
|
||||
self.dialog.set_deletable(self.cancellable)
|
||||
|
|
Loading…
Reference in a new issue