Applied patch by Anthony Lee: the user was attached to the font manager too
late, therefore, the DesktopSettings couldn't access user fonts. This fixes bug #1691, thanks! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23230 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
9e64a7ed1b
commit
9a2d0cf6ff
@ -371,6 +371,8 @@ Desktop::Init()
|
||||
if (fSharedReadOnlyArea < B_OK)
|
||||
return fSharedReadOnlyArea;
|
||||
|
||||
gFontManager->AttachUser(fUserID);
|
||||
|
||||
fSettings = new DesktopSettingsPrivate(fServerReadOnlyMemory);
|
||||
|
||||
for (int32 i = 0; i < kMaxWorkspaces; i++) {
|
||||
@ -408,8 +410,6 @@ Desktop::Init()
|
||||
_RebuildClippingForAllWindows(stillAvailableOnScreen);
|
||||
_SetBackground(stillAvailableOnScreen);
|
||||
|
||||
gFontManager->AttachUser(fUserID);
|
||||
|
||||
SetCursor(NULL);
|
||||
// this will set the default cursor
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user