write actually used libpartedversion to stdout on startup. (usefull for

* src/GParted_Core.cc: write actually used libpartedversion to stdout on startup. (usefull for debugging)
This commit is contained in:
Bart Hakvoort 2005-01-23 14:05:21 +00:00
parent f25b28be07
commit e093c745bf
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2005-01-23 Bart Hakvoort <hakvoort@cvs.gnome.org>
* src/GParted_Core.cc: write actually used libpartedversion to stdout on startup. (usefull for debugging)
2005-01-22 Bart Hakvoort <hakvoort@cvs.gnome.org>
* include/Dialog_Base_Partition.h,

View File

@ -16,6 +16,12 @@ GParted_Core::GParted_Core( )
for ( PedPartitionFlag flag = ped_partition_flag_next( (PedPartitionFlag) NULL ) ; flag ; flag = ped_partition_flag_next( flag ) )
flags .push_back( flag ) ;
//throw libpartedversion to the stdout to see which version is actually used.
std::cout << "======================" << std::endl ;
std::cout << "libparted : " << ped_get_version( ) << std::endl ;
std::cout << "======================" << std::endl ;
//initialize filesystemlist
find_supported_filesystems( ) ;
}