name a copied partition 'copy of <source>'.

* src/OperationCopy.cc: name a copied partition 'copy of <source>'.
This commit is contained in:
Bart Hakvoort 2006-03-28 17:38:06 +00:00
parent ca822ada13
commit 40cbb6d4c4
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2006-03-28 Bart Hakvoort <hakvoort@cvs.gnome.org>
* src/OperationCopy.cc: name a copied partition 'copy of <source>'.
2006-03-28 Bart Hakvoort <hakvoort@cvs.gnome.org> 2006-03-28 Bart Hakvoort <hakvoort@cvs.gnome.org>
* configure.in: bumped to gparted-0.2.3 * configure.in: bumped to gparted-0.2.3

View File

@ -33,6 +33,9 @@ OperationCopy::OperationCopy( const Device & device,
this ->partition_copied = partition_copied ; this ->partition_copied = partition_copied ;
create_description() ; create_description() ;
this ->partition_new .add_path(
String::ucompose( _("copy of %1"), this ->partition_new .get_path() ), true ) ;
} }
void OperationCopy::apply_to_visual( std::vector<Partition> & partitions ) void OperationCopy::apply_to_visual( std::vector<Partition> & partitions )