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:
@@ -371,6 +371,8 @@ Desktop::Init()
|
|||||||
if (fSharedReadOnlyArea < B_OK)
|
if (fSharedReadOnlyArea < B_OK)
|
||||||
return fSharedReadOnlyArea;
|
return fSharedReadOnlyArea;
|
||||||
|
|
||||||
|
gFontManager->AttachUser(fUserID);
|
||||||
|
|
||||||
fSettings = new DesktopSettingsPrivate(fServerReadOnlyMemory);
|
fSettings = new DesktopSettingsPrivate(fServerReadOnlyMemory);
|
||||||
|
|
||||||
for (int32 i = 0; i < kMaxWorkspaces; i++) {
|
for (int32 i = 0; i < kMaxWorkspaces; i++) {
|
||||||
@@ -408,8 +410,6 @@ Desktop::Init()
|
|||||||
_RebuildClippingForAllWindows(stillAvailableOnScreen);
|
_RebuildClippingForAllWindows(stillAvailableOnScreen);
|
||||||
_SetBackground(stillAvailableOnScreen);
|
_SetBackground(stillAvailableOnScreen);
|
||||||
|
|
||||||
gFontManager->AttachUser(fUserID);
|
|
||||||
|
|
||||||
SetCursor(NULL);
|
SetCursor(NULL);
|
||||||
// this will set the default cursor
|
// this will set the default cursor
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user