removed inheritance from sigc::trackable. (this is already done by

* include/Frame_Resizer_Base.h: removed inheritance from sigc::trackable. (this is already done by Glib::Object). * src/Dialog_Partition_Copy.cc, src/Frame_Resizer_Base.cc: fixed issues with resizing reiserfs filesystems.
This commit is contained in:
Bart Hakvoort 2004-10-08 19:53:35 +00:00
parent c65731a497
commit bcb05b8540
4 changed files with 36 additions and 26 deletions

View File

@ -1,3 +1,9 @@
2004-10-08 Bart Hakvoort <gparted@users.sf.net>
* include/Frame_Resizer_Base.h: removed inheritance from sigc::trackable. (this is already done by Glib::Object)
* src/Dialog_Partition_Copy.cc,
src/Frame_Resizer_Base.cc: fixed issues with resizing reiserfs filesystems.
2004-10-08 Bart Hakvoort <gparted@users.sf.net>
* src/Dialog_About.cc: updated translatorcomment.

View File

@ -25,7 +25,7 @@
#define BORDER 8
class Frame_Resizer_Base : public Gtk::Frame, virtual public sigc::trackable
class Frame_Resizer_Base : public Gtk::Frame
{
public:

View File

@ -46,6 +46,10 @@ void Dialog_Partition_Copy::Set_Data( Partition & selected_partition, Partition
frame_resizer_base ->set_x_end( ( Round( (double) (copied_partition.sector_end - copied_partition.sector_start) / ( (double)total_length/500) )) ) ;
frame_resizer_base ->set_used( frame_resizer_base ->get_x_end() ) ;
//used to store current positions (see Dialog_Base_Partition::on_signal_resize)
this ->x_start = frame_resizer_base ->get_x_start( ) ;
this ->x_end = frame_resizer_base ->get_x_end( ) ;
//set values of spinbutton_before
spinbutton_before .set_range( 0, TOTAL_MB - copied_partition .Get_Length_MB() -1 ) ;//mind the -1 !!
spinbutton_before .set_value( 0 ) ;