fixed bug that occured while converting the filesystem of a new partition

This commit is contained in:
Bart Hakvoort 2004-09-26 18:41:43 +00:00
parent 362d4d9cbd
commit 16ca6f738f
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2004-09-26 Bart Hakvoort <gparted@users.sf.net>
* src/Win_GParted.cc: fixed bug that occured while converting the filesystem of a new partition
2004-09-26 Bart Hakvoort <gparted@users.sf.net> 2004-09-26 Bart Hakvoort <gparted@users.sf.net>
* src/Win_GParted.cc: fixed bug with check for max amount of partitions while pasting a copied partition. * src/Win_GParted.cc: fixed bug with check for max amount of partitions while pasting a copied partition.
@ -25,7 +29,7 @@ as "then" in two strings)
Dialog_Partition_Copy.cc, Dialog_Partition_Copy.cc,
Dialog_Partition_Info.cc, Dialog_Partition_Info.cc,
Dialog_Partition_New.cc, Dialog_Partition_New.cc,
Win_GParted.cc: prepared "copy of" an "New Partition" for i18n and did some cleanups on the way... Win_GParted.cc: prepared "copy of" and "New Partition" for i18n and did some cleanups on the way...
I believe all relevant strings are now properly marked for translation. I believe all relevant strings are now properly marked for translation.
2004-09-25 Bart Hakvoort <gparted@users.sf.net> 2004-09-25 Bart Hakvoort <gparted@users.sf.net>

View File

@ -958,7 +958,8 @@ void Win_GParted::activate_convert( const Glib::ustring & new_fs )
{ {
operations.erase( operations .begin() + t ) ; operations.erase( operations .begin() + t ) ;
//And add the new partition to the end of the operations list //And add the new partition to the end of the operations list (NOTE: in this case we set status to STAT_NEW)
part_temp .status = STAT_NEW ;
Add_Operation( GParted::CREATE, part_temp); Add_Operation( GParted::CREATE, part_temp);
break; break;