diff options
author | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2022-11-26 21:58:34 +0000 |
---|---|---|
committer | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2022-11-26 21:58:34 +0000 |
commit | cf9c00370ebb3e431a4c4e42925cbba731467257 (patch) | |
tree | c2fa8fc21d62a86c8144de3c3aff9012cd9b9033 | |
parent | e1453222ea331c0e16e9b861c00511ca27c83156 (diff) | |
download | draklive-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-- | NEWS | 2 | ||||
-rwxr-xr-x | draklive-install | 2 |
2 files changed, 4 insertions, 0 deletions
@@ -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(); } } } |