mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-29 20:44:25 +00:00
use header const
This commit is contained in:
parent
b9079bd575
commit
20766c00f6
@ -4,6 +4,10 @@ using namespace app::browser::header;
|
||||
|
||||
Tab::Tab()
|
||||
{
|
||||
set_action_name(
|
||||
ACTION
|
||||
);
|
||||
|
||||
set_tooltip_text(
|
||||
TOOLTIP
|
||||
);
|
||||
@ -11,10 +15,6 @@ Tab::Tab()
|
||||
set_icon_name(
|
||||
ICON
|
||||
);
|
||||
|
||||
set_action_name(
|
||||
"win.tab"
|
||||
);
|
||||
}
|
||||
|
||||
Tab::~Tab() = default;
|
@ -10,6 +10,7 @@ namespace app::browser::header
|
||||
{
|
||||
public:
|
||||
|
||||
const char* ACTION = "win.tab";
|
||||
const char* ICON = "tab-new-symbolic";
|
||||
const char* TOOLTIP = _("New tab");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user