summaryrefslogtreecommitdiffstats
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
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.
-rw-r--r--NEWS2
-rwxr-xr-xdraklive-install2
2 files changed, 4 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 8f90141..beabe8b 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- call mygtk3::flush() more frequently whilst copying the filesystem,
+ to make the main window more responsive to window events
- use run_program::get_stdout to calculate installed size, to
allow us to respond to check-alive pings whilst waiting
- install callback routine to handle window events whilst waiting
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();
}
}
}