minor cleanups

This commit is contained in:
Bart Hakvoort 2004-09-19 23:24:46 +00:00
parent bc23e5c447
commit 6fe5014789
1 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ namespace GParted
TreeView_Detail::TreeView_Detail( ) TreeView_Detail::TreeView_Detail( )
{ {
//set locale for this stream to standard. this prevent weird locals from f*ucking up my conversions :^) //set locale for this stream to standard.
os.imbue(std::locale("")); os.imbue(std::locale(""));
treestore_detail = Gtk::TreeStore::create( treeview_detail_columns ); treestore_detail = Gtk::TreeStore::create( treeview_detail_columns );
@ -69,7 +69,7 @@ void TreeView_Detail::Load_Partitions( std::vector<Partition> & partitions )
row = *(treestore_detail->append()); row = *(treestore_detail->append());
Create_Row( row, partitions[i] ); Create_Row( row, partitions[i] );
} }
else if ( partitions[ i ] .inside_extended ) else
{ {
childrow = *(treestore_detail->append( row.children() )); childrow = *(treestore_detail->append( row.children() ));
Create_Row( childrow, partitions[i] ); Create_Row( childrow, partitions[i] );