mirror of
https://gitlab.gnome.org/GNOME/gparted
synced 2024-10-29 23:08:41 +00:00
sort devices alphabetically by default.
* src/GParted_Core.cc: sort devices alphabetically by default.
This commit is contained in:
parent
b52bfbc308
commit
e98f0934c4
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2006-03-26 Bart Hakvoort <hakvoort@cvs.gnome.org>
|
||||
|
||||
* src/GParted_Core.cc: sort devices alphabetically by default.
|
||||
|
||||
2006-03-25 Bart Hakvoort <hakvoort@cvs.gnome.org>
|
||||
|
||||
* src/DrawingAreaVisualDisk.cc: prevented a possible segfault at
|
||||
|
|
|
@ -140,8 +140,9 @@ void GParted_Core::get_devices( std::vector<Device> & devices )
|
|||
lp_device = ped_device_get_next( lp_device ) ;
|
||||
}
|
||||
close_device_and_disk() ;
|
||||
}
|
||||
|
||||
std::sort( device_paths .begin(), device_paths .end() ) ;
|
||||
}
|
||||
|
||||
for ( unsigned int t = 0 ; t < device_paths .size() ; t++ )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue