fixed alignments of cells in combo_devices
* src/Win_GParted.cc: fixed alignments of cells in combo_devices
This commit is contained in:
parent
3a4b43e0ad
commit
8fd8e31271
|
@ -1,3 +1,7 @@
|
||||||
|
2005-12-30 Bart Hakvoort <hakvoort@cvs.gnome.org>
|
||||||
|
|
||||||
|
* src/Win_GParted.cc: fixed alignments of cells in combo_devices
|
||||||
|
|
||||||
2005-12-30 Bart Hakvoort <hakvoort@cvs.gnome.org>
|
2005-12-30 Bart Hakvoort <hakvoort@cvs.gnome.org>
|
||||||
|
|
||||||
* include/Win_GParted.h,
|
* include/Win_GParted.h,
|
||||||
|
|
|
@ -96,7 +96,7 @@ void GParted_Core::get_devices( std::vector<Device> & devices )
|
||||||
lp_device = ped_device_get_next( lp_device ) ;
|
lp_device = ped_device_get_next( lp_device ) ;
|
||||||
}
|
}
|
||||||
close_device_and_disk() ;
|
close_device_and_disk() ;
|
||||||
|
|
||||||
for ( unsigned int t = 0 ; t < device_paths .size() ; t++ )
|
for ( unsigned int t = 0 ; t < device_paths .size() ; t++ )
|
||||||
{
|
{
|
||||||
if ( open_device_and_disk( device_paths[ t ], false ) )
|
if ( open_device_and_disk( device_paths[ t ], false ) )
|
||||||
|
|
|
@ -174,9 +174,9 @@ void Win_GParted::init_toolbar( )
|
||||||
liststore_devices = Gtk::ListStore::create( treeview_devices_columns ) ;
|
liststore_devices = Gtk::ListStore::create( treeview_devices_columns ) ;
|
||||||
combo_devices .set_model( liststore_devices ) ;
|
combo_devices .set_model( liststore_devices ) ;
|
||||||
|
|
||||||
combo_devices .pack_start( treeview_devices_columns .icon ) ;
|
combo_devices .pack_start( treeview_devices_columns .icon, false ) ;
|
||||||
combo_devices .pack_start( treeview_devices_columns .device ) ;
|
combo_devices .pack_start( treeview_devices_columns .device ) ;
|
||||||
combo_devices .pack_start( treeview_devices_columns .size ) ;
|
combo_devices .pack_start( treeview_devices_columns .size, false ) ;
|
||||||
|
|
||||||
combo_devices .signal_changed() .connect( sigc::mem_fun(*this, &Win_GParted::combo_devices_changed) );
|
combo_devices .signal_changed() .connect( sigc::mem_fun(*this, &Win_GParted::combo_devices_changed) );
|
||||||
|
|
||||||
|
@ -712,7 +712,7 @@ void Win_GParted::menu_gparted_refresh_devices( )
|
||||||
thread = Glib::Thread::create( SigC::slot_class( *this, &Win_GParted::find_devices_thread ), true );
|
thread = Glib::Thread::create( SigC::slot_class( *this, &Win_GParted::find_devices_thread ), true );
|
||||||
|
|
||||||
Show_Pulsebar() ;
|
Show_Pulsebar() ;
|
||||||
|
|
||||||
//check if current_device is still available (think about hotpluggable shit like usbdevices)
|
//check if current_device is still available (think about hotpluggable shit like usbdevices)
|
||||||
if ( current_device >= devices .size() )
|
if ( current_device >= devices .size() )
|
||||||
current_device = 0 ;
|
current_device = 0 ;
|
||||||
|
|
Loading…
Reference in New Issue