Tracker: take advantage of BToolBar changes from the previous commit.
This commit is contained in:
@@ -57,7 +57,7 @@ static const int32 kMaxHistory = 32;
|
|||||||
|
|
||||||
BNavigator::BNavigator(const Model* model)
|
BNavigator::BNavigator(const Model* model)
|
||||||
:
|
:
|
||||||
BToolBar(BRect()), // FIXME in BToolbar: pointless BRect()
|
BToolBar(),
|
||||||
fBackHistory(8, true),
|
fBackHistory(8, true),
|
||||||
fForwHistory(8, true)
|
fForwHistory(8, true)
|
||||||
{
|
{
|
||||||
@@ -102,7 +102,7 @@ BNavigator::AttachedToWindow()
|
|||||||
SetActionEnabled(kNavigatorCommandUp, false);
|
SetActionEnabled(kNavigatorCommandUp, false);
|
||||||
delete bmpUp;
|
delete bmpUp;
|
||||||
|
|
||||||
GroupLayout()->AddView(fLocation);
|
AddView(fLocation);
|
||||||
fLocation->SetTarget(this);
|
fLocation->SetTarget(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user