diff options
author | papoteur-mga <yves.brungard_git@gadz.org> | 2013-11-23 13:41:03 +0100 |
---|---|---|
committer | papoteur-mga <yves.brungard_git@gadz.org> | 2013-11-23 13:41:03 +0100 |
commit | 9d4b1d17a8e5d2fee7a927fb4b43b8674b0b84c8 (patch) | |
tree | bdf697dc03f7df2fb3164340c1f56f2019c0eeae /lib | |
parent | f0b1ec354047b82df68418465e910b04c00a08b7 (diff) | |
download | isodumper-9d4b1d17a8e5d2fee7a927fb4b43b8674b0b84c8.tar isodumper-9d4b1d17a8e5d2fee7a927fb4b43b8674b0b84c8.tar.gz isodumper-9d4b1d17a8e5d2fee7a927fb4b43b8674b0b84c8.tar.bz2 isodumper-9d4b1d17a8e5d2fee7a927fb4b43b8674b0b84c8.tar.xz isodumper-9d4b1d17a8e5d2fee7a927fb4b43b8674b0b84c8.zip |
Correction for a bug in dialog loops.
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/isodumper.py | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/lib/isodumper.py b/lib/isodumper.py index 1bdf312..aa92964 100755 --- a/lib/isodumper.py +++ b/lib/isodumper.py @@ -126,14 +126,15 @@ class IsoDumper: message.set_text(_('The device is bigger than 32 Gbytes. Are you sure you want use it?')) resp = dialog.run() if resp: - self.do_umount(target) - dialog.hide() - task = self.raw_write(source, target) - gobject.idle_add(task.next) - while gtk.events_pending(): - gtk.main_iteration(True) + pass else: self.close('dummy') + self.do_umount(target) + dialog.hide() + task = self.raw_write(source, target) + gobject.idle_add(task.next) + while gtk.events_pending(): + gtk.main_iteration(True) else: self.close('dummy') |