Avoid warning display when moving start of extended partition

Moving the start sector of an extended partition should not adversely
affect booting an operating system because an extended partition is
only a container for logical partitions.
This commit is contained in:
Curtis Gedak 2012-01-24 11:20:43 -07:00
parent 98771d8bfa
commit c814b25a3a
1 changed files with 3 additions and 1 deletions

View File

@ -1542,7 +1542,9 @@ void Win_GParted::activate_resize()
Add_Operation( operation ) ; Add_Operation( operation ) ;
//Display notification if move operation has been queued //Display notification if move operation has been queued
if ( operation ->partition_original .sector_start != operation ->partition_new .sector_start ) if ( operation ->partition_original .sector_start != operation ->partition_new .sector_start
&& operation ->partition_original .type != TYPE_EXTENDED
)
{ {
//Warn that move operation might break boot process //Warn that move operation might break boot process
Gtk::MessageDialog dialog( *this Gtk::MessageDialog dialog( *this