Added label update for paste to existing partition

svn path=/trunk/; revision=950
This commit is contained in:
Curtis Gedak 2008-11-04 21:47:23 +00:00
parent 44a257e3cd
commit ecddf94ed1
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2008-11-04 Curtis Gedak <gedakc@gmail.com>
* src/Win_GParted.cc: Added label update for paste to existing partition
2008-10-31 Curtis Gedak <gedakc@gmail.com> 2008-10-31 Curtis Gedak <gedakc@gmail.com>
* src/reiser4.cc, * src/reiser4.cc,

View File

@ -1387,6 +1387,7 @@ void Win_GParted::activate_paste()
{ {
Partition partition_new = selected_partition ; Partition partition_new = selected_partition ;
partition_new .filesystem = copied_partition .filesystem ; partition_new .filesystem = copied_partition .filesystem ;
partition_new .label = copied_partition .label ;
partition_new .color = copied_partition .color ; partition_new .color = copied_partition .color ;
partition_new .set_used( copied_partition .sectors_used ) ; partition_new .set_used( copied_partition .sectors_used ) ;
partition_new .messages .clear() ; partition_new .messages .clear() ;