Actually restore the "dragger" settings. So the system remember your "Show

Replicants" setting after reboot.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28670 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus 2008-11-16 22:23:15 +00:00
parent 6e094221e8
commit 231cbd908e

View File

@ -258,6 +258,21 @@ DesktopSettingsPrivate::_Load()
}
}
// read dragger settings
path = basePath;
path.Append("dragger");
status = file.SetTo(path.Path(), B_READ_ONLY);
if (status == B_OK) {
BMessage settings;
status = settings.Unflatten(&file);
if (status == B_OK) {
if (settings.FindBool("show", &fShowAllDraggers) != B_OK)
fShowAllDraggers = true;
}
}
return B_OK;
}