mirror of
https://review.haiku-os.org/haiku
synced 2025-02-01 03:06:08 +01:00
WebPositive: Fixed untranslated empty tab region tool-tip.
This commit is contained in:
parent
2fd5f1736a
commit
9d33da6ca4
@ -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."));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user