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:
parent
6e094221e8
commit
231cbd908e
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user