diff --git a/ChangeLog b/ChangeLog index 140138ce..d8558820 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-09-11 Bart Hakvoort + + * src/GParted_Core.cc: show correct statusmessage when performing the + readonly test. + 2006-09-11 Bart Hakvoort * src/GParted_Core.cc: reverted back to parted probing after i heard diff --git a/src/GParted_Core.cc b/src/GParted_Core.cc index 0d2fcb1e..7232f3e5 100644 --- a/src/GParted_Core.cc +++ b/src/GParted_Core.cc @@ -1581,7 +1581,8 @@ bool GParted_Core::copy_filesystem( const Glib::ustring & src_device, Sector & total_done ) { operationdetail .add_child( OperationDetail( _("using internal algorithm"), STATUS_NONE ) ) ; - operationdetail .add_child( OperationDetail( String::ucompose( _("copy %1 sectors"), length ), STATUS_NONE ) ) ; + operationdetail .add_child( OperationDetail( + String::ucompose( readonly ? _("read %1 sectors") : _("copy %1 sectors"), length ), STATUS_NONE ) ) ; operationdetail .add_child( OperationDetail( _("finding optimal blocksize"), STATUS_NONE ) ) ; @@ -1653,7 +1654,8 @@ bool GParted_Core::copy_filesystem( const Glib::ustring & src_device, readonly, total_done ) ; - operationdetail .add_child( OperationDetail( String::ucompose( _("%1 sectors copied"), total_done ), STATUS_NONE ) ) ; + operationdetail .add_child( OperationDetail( + String::ucompose( readonly ? _("%1 sectors read") : _("%1 sectors copied"), total_done ), STATUS_NONE ) ) ; return succes ; }