Change behavior to better align with GNOME HIG on drop-down lists
Quote from GNOME Human Interface Guidelines 2.2.1 on Drop-down lists: "Selecting an item from a drop-down list should not affect the values of any other controls. It may sensitize, insensitize, hide or show other controls, however."
This commit is contained in:
parent
f861501390
commit
b74dba4f67
|
@ -265,12 +265,7 @@ void Dialog_Partition_New::optionmenu_changed( bool type )
|
|||
{
|
||||
fs = FILESYSTEMS[ optionmenu_filesystem .get_history() ] ;
|
||||
|
||||
if ( optionmenu_alignment .get_history() == ALIGN_CYLINDER )
|
||||
{
|
||||
if ( (fs .MIN / selected_partition .sector_size) < cylinder_size )
|
||||
fs .MIN = cylinder_size * selected_partition .sector_size ;
|
||||
}
|
||||
else if ( fs .MIN < MEBIBYTE )
|
||||
if ( fs .MIN < MEBIBYTE )
|
||||
fs .MIN = MEBIBYTE ;
|
||||
|
||||
if ( selected_partition .get_byte_length() < fs .MIN )
|
||||
|
|
Loading…
Reference in New Issue