Create contextual menus first
This commit is contained in:
parent
256c091f15
commit
48bde9cfdb
@ -151,24 +151,6 @@ locale.then(() => {
|
|||||||
}
|
}
|
||||||
return menus.create(options);
|
return menus.create(options);
|
||||||
};
|
};
|
||||||
mcreate({
|
|
||||||
id: "DTARegular",
|
|
||||||
contexts: ["all", "browser_action", "tools_menu"],
|
|
||||||
icons: {
|
|
||||||
16: "/style/button-regular.png",
|
|
||||||
32: "/style/button-regular@2x.png",
|
|
||||||
},
|
|
||||||
title: _("dta.regular"),
|
|
||||||
});
|
|
||||||
mcreate({
|
|
||||||
id: "DTATurbo",
|
|
||||||
contexts: ["all", "browser_action", "tools_menu"],
|
|
||||||
icons: {
|
|
||||||
16: "/style/button-turbo.png",
|
|
||||||
32: "/style/button-turbo@2x.png",
|
|
||||||
},
|
|
||||||
title: _("dta.turbo"),
|
|
||||||
});
|
|
||||||
mcreate({
|
mcreate({
|
||||||
id: "DTARegularLink",
|
id: "DTARegularLink",
|
||||||
contexts: ["link"],
|
contexts: ["link"],
|
||||||
@ -241,6 +223,24 @@ locale.then(() => {
|
|||||||
},
|
},
|
||||||
title: _("dta.turbo.selection"),
|
title: _("dta.turbo.selection"),
|
||||||
});
|
});
|
||||||
|
mcreate({
|
||||||
|
id: "DTARegular",
|
||||||
|
contexts: ["all", "browser_action", "tools_menu"],
|
||||||
|
icons: {
|
||||||
|
16: "/style/button-regular.png",
|
||||||
|
32: "/style/button-regular@2x.png",
|
||||||
|
},
|
||||||
|
title: _("dta.regular"),
|
||||||
|
});
|
||||||
|
mcreate({
|
||||||
|
id: "DTATurbo",
|
||||||
|
contexts: ["all", "browser_action", "tools_menu"],
|
||||||
|
icons: {
|
||||||
|
16: "/style/button-turbo.png",
|
||||||
|
32: "/style/button-turbo@2x.png",
|
||||||
|
},
|
||||||
|
title: _("dta.turbo"),
|
||||||
|
});
|
||||||
mcreate({
|
mcreate({
|
||||||
id: "sep-1",
|
id: "sep-1",
|
||||||
contexts: ["all", "browser_action", "tools_menu"],
|
contexts: ["all", "browser_action", "tools_menu"],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user