And of course, actually save the font size selected via shortcut.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23862 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
894a6c6217
commit
4d67ea42f3
@ -49,7 +49,7 @@ AppearancePrefView::AppearancePrefView(BRect frame, const char *name,
|
||||
|
||||
r.OffsetBy(r.Width() + 10, 0);
|
||||
menu = _MakeSizeMenu(MSG_HALF_SIZE_CHANGED,
|
||||
atoi(PrefHandler::Default()->getString(PREF_HALF_FONT_SIZE)));
|
||||
PrefHandler::Default()->getInt32(PREF_HALF_FONT_SIZE));
|
||||
fFontSize = new BMenuField(r, "size", "Size:", menu, B_WILL_DRAW);
|
||||
fFontSize->SetDivider(sizeDividerSize);
|
||||
AddChild(fFontSize);
|
||||
|
@ -455,6 +455,7 @@ TermWindow::MessageReceived(BMessage *message)
|
||||
|
||||
font.SetSize(size);
|
||||
view->SetTermFont(&font);
|
||||
PrefHandler::Default()->setInt32(PREF_HALF_FONT_SIZE, size);
|
||||
|
||||
_ResizeView(view);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user