WebPositive: Fixed untranslated empty tab region tool-tip.

This commit is contained in:
Stephan Aßmus 2013-06-16 14:14:23 +02:00
parent 2fd5f1736a
commit 9d33da6ca4

View File

@ -35,6 +35,7 @@
#include <Bitmap.h>
#include <Button.h>
#include <CardLayout.h>
#include <Catalog.h>
#include <ControlLook.h>
#include <GroupView.h>
#include <MenuBar.h>
@ -44,6 +45,10 @@
#include "TabView.h"
#undef B_TRANSLATION_CONTEXT
#define B_TRANSLATION_CONTEXT "Tab Manager"
static const float kLeftTabInset = 4;
@ -468,8 +473,10 @@ TabContainerView::_MouseMoved(BPoint where, uint32 _transit,
fLastMouseEventTab = tab;
if (fLastMouseEventTab)
fLastMouseEventTab->MouseMoved(where, B_ENTERED_VIEW, dragMessage);
else
fController->SetToolTip("Double-click or middle-click to open new tab.");
else {
fController->SetToolTip(
B_TRANSLATE("Double-click or middle-click to open new tab."));
}
}
}