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:
Curtis Gedak 2010-05-26 17:33:38 -06:00
parent f861501390
commit b74dba4f67
1 changed files with 1 additions and 6 deletions

View File

@ -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 )