Enabled fonts in the user font directory as well.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17143 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1039,14 +1039,13 @@ FontManager::AttachUser(uid_t userID)
|
|||||||
{
|
{
|
||||||
BAutolock locker(this);
|
BAutolock locker(this);
|
||||||
|
|
||||||
/*
|
#if !TEST_MODE
|
||||||
BPath path;
|
BPath path;
|
||||||
status_t status = find_directory(B_USER_FONTS_DIRECTORY, &path);
|
if (find_directory(B_USER_FONTS_DIRECTORY, &path) != B_OK)
|
||||||
if (status != B_OK)
|
return;
|
||||||
return status;
|
|
||||||
|
|
||||||
_AddPath(path.Path());
|
_AddPath(path.Path());
|
||||||
*/
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -1054,5 +1053,7 @@ void
|
|||||||
FontManager::DetachUser(uid_t userID)
|
FontManager::DetachUser(uid_t userID)
|
||||||
{
|
{
|
||||||
BAutolock locker(this);
|
BAutolock locker(this);
|
||||||
|
|
||||||
|
// TODO!
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user