git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37755 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini
2010-07-26 12:33:52 +00:00
parent 6491fb598a
commit ed47eeec78
+2 -2
View File
@@ -461,7 +461,6 @@ TermWindow::MessageReceived(BMessage *message)
case MENU_PREF_OPEN: case MENU_PREF_OPEN:
if (!fPrefWindow) { if (!fPrefWindow) {
fPrefWindow = new PrefWindow(this); fPrefWindow = new PrefWindow(this);
//fPrefWindow->
} }
else else
fPrefWindow->Activate(); fPrefWindow->Activate();
@@ -1009,7 +1008,8 @@ TermWindow::_ResizeView(TermView *view)
minimumHeight + MIN_ROWS * fontHeight - 1, minimumHeight + MIN_ROWS * fontHeight - 1,
minimumHeight + MAX_ROWS * fontHeight - 1); minimumHeight + MAX_ROWS * fontHeight - 1);
float width, height; float width;
float height;
view->Parent()->GetPreferredSize(&width, &height); view->Parent()->GetPreferredSize(&width, &height);
width += B_V_SCROLL_BAR_WIDTH; width += B_V_SCROLL_BAR_WIDTH;
// NOTE: Width is one pixel too small, since the scroll view // NOTE: Width is one pixel too small, since the scroll view