added libparted version string to details export.
* include/Dialog_Progress.h, include/GParted_Core.h, src/Dialog_Progress.cc, src/GParted_Core.cc, src/Win_GParted.cc: added libparted version string to details export.
This commit is contained in:
parent
7a29fdd631
commit
7a413f6401
|
@ -1,3 +1,12 @@
|
||||||
|
2006-12-01 Bart Hakvoort <hakvoort@cvs.gnome.org>
|
||||||
|
|
||||||
|
* include/Dialog_Progress.h,
|
||||||
|
include/GParted_Core.h,
|
||||||
|
src/Dialog_Progress.cc,
|
||||||
|
src/GParted_Core.cc,
|
||||||
|
src/Win_GParted.cc: added libparted version string to details
|
||||||
|
export.
|
||||||
|
|
||||||
2006-11-26 Bart Hakvoort <hakvoort@cvs.gnome.org>
|
2006-11-26 Bart Hakvoort <hakvoort@cvs.gnome.org>
|
||||||
|
|
||||||
* src/Win_GParted.cc: fixed bug with copying partition to a disk
|
* src/Win_GParted.cc: fixed bug with copying partition to a disk
|
||||||
|
|
|
@ -41,6 +41,7 @@ public:
|
||||||
~Dialog_Progress();
|
~Dialog_Progress();
|
||||||
|
|
||||||
sigc::signal< bool, Operation * > signal_apply_operation ;
|
sigc::signal< bool, Operation * > signal_apply_operation ;
|
||||||
|
sigc::signal< Glib::ustring > signal_get_libparted_version ;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void on_signal_update( const OperationDetail & operationdetail ) ;
|
void on_signal_update( const OperationDetail & operationdetail ) ;
|
||||||
|
|
|
@ -50,6 +50,7 @@ public:
|
||||||
std::vector<Glib::ustring> get_disklabeltypes() ;
|
std::vector<Glib::ustring> get_disklabeltypes() ;
|
||||||
std::vector<Glib::ustring> get_all_mountpoints() ;
|
std::vector<Glib::ustring> get_all_mountpoints() ;
|
||||||
std::map<Glib::ustring, bool> get_available_flags( const Partition & partition ) ;
|
std::map<Glib::ustring, bool> get_available_flags( const Partition & partition ) ;
|
||||||
|
Glib::ustring get_libparted_version() ;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
//detectionstuff..
|
//detectionstuff..
|
||||||
|
|
|
@ -343,6 +343,7 @@ void Dialog_Progress::on_save()
|
||||||
if ( out )
|
if ( out )
|
||||||
{
|
{
|
||||||
out << "GParted " << VERSION << "<BR><BR>" << std::endl ;
|
out << "GParted " << VERSION << "<BR><BR>" << std::endl ;
|
||||||
|
out << "Libparted " << signal_get_libparted_version .emit() << "<BR><BR>" << std::endl ;
|
||||||
for ( unsigned int t = 0 ; t < operations .size() ; t++ )
|
for ( unsigned int t = 0 ; t < operations .size() ; t++ )
|
||||||
{
|
{
|
||||||
echo_operation_details( operations[ t ] ->operation_detail, out ) ;
|
echo_operation_details( operations[ t ] ->operation_detail, out ) ;
|
||||||
|
|
|
@ -450,6 +450,11 @@ std::map<Glib::ustring, bool> GParted_Core::get_available_flags( const Partition
|
||||||
return flag_info ;
|
return flag_info ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Glib::ustring GParted_Core::get_libparted_version()
|
||||||
|
{
|
||||||
|
return ped_get_version() ;
|
||||||
|
}
|
||||||
|
|
||||||
//private functions...
|
//private functions...
|
||||||
|
|
||||||
void GParted_Core::init_maps()
|
void GParted_Core::init_maps()
|
||||||
|
|
|
@ -1837,6 +1837,8 @@ void Win_GParted::activate_apply()
|
||||||
dialog_progress .set_transient_for( *this ) ;
|
dialog_progress .set_transient_for( *this ) ;
|
||||||
dialog_progress .signal_apply_operation .connect(
|
dialog_progress .signal_apply_operation .connect(
|
||||||
sigc::mem_fun(gparted_core, &GParted_Core::apply_operation_to_disk) ) ;
|
sigc::mem_fun(gparted_core, &GParted_Core::apply_operation_to_disk) ) ;
|
||||||
|
dialog_progress .signal_get_libparted_version .connect(
|
||||||
|
sigc::mem_fun(gparted_core, &GParted_Core::get_libparted_version) ) ;
|
||||||
|
|
||||||
int response ;
|
int response ;
|
||||||
do
|
do
|
||||||
|
|
Loading…
Reference in New Issue