From e093c745bfcc60cb566239808a181e555c2b7131 Mon Sep 17 00:00:00 2001 From: Bart Hakvoort Date: Sun, 23 Jan 2005 14:05:21 +0000 Subject: [PATCH] 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) --- ChangeLog | 4 ++++ src/GParted_Core.cc | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index 7d894c28..6c0d66de 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2005-01-23 Bart Hakvoort + + * src/GParted_Core.cc: write actually used libpartedversion to stdout on startup. (usefull for debugging) + 2005-01-22 Bart Hakvoort * include/Dialog_Base_Partition.h, diff --git a/src/GParted_Core.cc b/src/GParted_Core.cc index adb0f0d4..c97804db 100644 --- a/src/GParted_Core.cc +++ b/src/GParted_Core.cc @@ -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( ) ; }