summaryrefslogtreecommitdiffstats
path: root/draklive-install
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2022-11-26 21:58:34 +0000
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2022-11-26 21:58:34 +0000
commitcf9c00370ebb3e431a4c4e42925cbba731467257 (patch)
treec2fa8fc21d62a86c8144de3c3aff9012cd9b9033 /draklive-install
parente1453222ea331c0e16e9b861c00511ca27c83156 (diff)
downloaddraklive-install-cf9c00370ebb3e431a4c4e42925cbba731467257.tar
draklive-install-cf9c00370ebb3e431a4c4e42925cbba731467257.tar.gz
draklive-install-cf9c00370ebb3e431a4c4e42925cbba731467257.tar.bz2
draklive-install-cf9c00370ebb3e431a4c4e42925cbba731467257.tar.xz
draklive-install-cf9c00370ebb3e431a4c4e42925cbba731467257.zip
Call mygtk3::flush() more frequently whilst copying the filesystem.
This makes the main window more responsive to window events.
Diffstat (limited to 'draklive-install')
-rwxr-xr-xdraklive-install2
1 files changed, 2 insertions, 0 deletions
diff --git a/draklive-install b/draklive-install
index 6b9d786..35afff3 100755
--- a/draklive-install
+++ b/draklive-install
@@ -330,6 +330,8 @@ sub copy_root {
if ($current <= $total && $current/$total > $previous/$total + 0.001) {
$update_progress->('', $current, $total);
$previous = $current;
+ } else {
+ mygtk3::flush();
}
}
}