These are the remaining changes to properly implement the new default of volume
space bars being on. Thanks for the tips Axel. +alphabranch git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32934 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
be913753e7
commit
7c870e9af5
@ -1190,9 +1190,9 @@ SpaceBarSettingsView::SetDefaults()
|
||||
|
||||
TrackerSettings settings;
|
||||
|
||||
if (settings.ShowVolumeSpaceBar()) {
|
||||
settings.SetShowVolumeSpaceBar(false);
|
||||
send_bool_notices(kShowVolumeSpaceBar, "ShowVolumeSpaceBar", false);
|
||||
if (!settings.ShowVolumeSpaceBar()) {
|
||||
settings.SetShowVolumeSpaceBar(true);
|
||||
send_bool_notices(kShowVolumeSpaceBar, "ShowVolumeSpaceBar", true);
|
||||
}
|
||||
|
||||
if (settings.UsedSpaceColor() != kDefaultUsedSpaceColor
|
||||
@ -1213,7 +1213,7 @@ SpaceBarSettingsView::IsDefaultable() const
|
||||
{
|
||||
TrackerSettings settings;
|
||||
|
||||
return settings.ShowVolumeSpaceBar() != false
|
||||
return settings.ShowVolumeSpaceBar() != true
|
||||
|| settings.UsedSpaceColor() != kDefaultUsedSpaceColor
|
||||
|| settings.FreeSpaceColor() != kDefaultFreeSpaceColor
|
||||
|| settings.WarningSpaceColor() != kDefaultWarningSpaceColor;
|
||||
|
Loading…
x
Reference in New Issue
Block a user