~ubuntu-branches/ubuntu/intrepid/gparted/intrepid

« back to all changes in this revision

Viewing changes to src/Win_GParted.cc

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2006-09-21 01:39:14 UTC
  • Revision ID: james.westby@ubuntu.com-20060921013914-khwws00y6cwwn8iv
Tags: 0.2.5-1.1ubuntu8
Really make sure to emit installer-mode FORMAT instructions for
filesystems set with the --filesystem option.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1841
1841
                //reread devices and their layouts...
1842
1842
                menu_gparted_refresh_devices() ;
1843
1843
 
1844
 
                //mark any remaining fakefs partitions as to be formatted
1845
 
                //(installer mode)
1846
 
                for ( unsigned int i = 0 ; i < devices .size() ; ++i )
1847
 
                {
1848
 
                        std::vector<Partition> partitions = devices[ i ] .partitions ;
1849
 
                        for ( unsigned int j = 0 ; j < partitions .size() ; ++j )
1850
 
                        {
1851
 
                                if ( partitions[ j ] .status == STAT_FAKEFS )
1852
 
                                        gparted_core .formatted_partitions .push_back( partitions[ j ] );
1853
 
                        }
1854
 
                }
1855
 
 
1856
1844
                return response == Gtk::RESPONSE_CLOSE;
1857
1845
        }
1858
1846
        else
1874
1862
                {
1875
1863
                        if ( activate_apply_internal( ) )
1876
1864
                        {
 
1865
                                // mark any remaining fakefs partitions as to be formatted
 
1866
                                for ( unsigned int i = 0 ; i < devices .size() ; ++i )
 
1867
                                {
 
1868
                                        std::vector<Partition> partitions = devices[ i ] .partitions ;
 
1869
                                        for ( unsigned int j = 0 ; j < partitions .size() ; ++j )
 
1870
                                        {
 
1871
                                                if ( partitions[ j ] .status == STAT_FAKEFS )
 
1872
                                                        gparted_core .formatted_partitions .push_back( partitions[ j ] );
 
1873
                                        }
 
1874
                                }
1877
1875
                                for ( unsigned int i = 0 ; i < gparted_core .formatted_partitions .size() ; ++i )
1878
1876
                                {
1879
1877
                                        Partition *partition = &gparted_core .formatted_partitions[ i ];