-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added tabs menu to group tab context menu.
- Loading branch information
IIUJ-KrzysztofDawidowicz
committed
Dec 2, 2013
1 parent
a69ed38
commit 9a4d8db
Showing
4 changed files
with
83 additions
and
41 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,51 @@ | ||
<?xml version="1.0"?> | ||
|
||
<overlay id="TabGroupBar-Overlay" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> | ||
<script type="application/x-javascript" | ||
<script type="application/x-javascript" | ||
src="chrome://TabGroupBar/content/tabgroupbar.js" /> | ||
<popupset> | ||
<menupopup id="TabGroupBar-BarContextMenu"> | ||
<menuitem id="TabGroupBar-BarContextMenu-NewGroup" label="New Group" tooltiptext="Add new group" | ||
<popupset> | ||
<menupopup id="TabGroupBar-BarContextMenu"> | ||
<menuitem id="TabGroupBar-BarContextMenu-NewGroup" label="New Group" tooltiptext="Add new group" | ||
oncommand="objTabGroupBar.createNewGroup()"/> | ||
<menuitem id="TabGroupBar-BarContextMenu-Reload" label="Reload tabs" | ||
<menuitem id="TabGroupBar-BarContextMenu-Reload" label="Reload tabs" | ||
oncommand="objTabGroupBar.reloadGroupTabs();"/> | ||
</menupopup> | ||
<menupopup id="TabGroupBar-TabContextMenu"> | ||
<menuitem id="TabGroupBar-TabContextMenu-CloseGroup" label="Close Group" | ||
</menupopup> | ||
<menupopup id="TabGroupBar-TabContextMenu"> | ||
<menuitem id="TabGroupBar-TabContextMenu-CloseGroup" label="Close Group" | ||
oncommand="objTabGroupBar.onCloseGroupContextMenuAction(event)"/> | ||
<menuitem id="TabGroupBar-TabContextMenu-RenameGroup" label="Rename Group" | ||
<menuitem id="TabGroupBar-TabContextMenu-RenameGroup" label="Rename Group" | ||
oncommand="objTabGroupBar.renameGroupContextAction(event)"/> | ||
</menupopup> | ||
</popupset> | ||
<menu id="TabGroupBar-TabContextMenu-TabMenu" label="Tabs"> | ||
<menupopup id="TabGroupBar-TabContextMenu-TabMenu-Popup" | ||
onpopupshowing="objTabGroupBar.onTabListPopupShowing(event);" | ||
onpopuphiding="objTabGroupBar.clearChildren(event.target)"/> | ||
</menu> | ||
</menupopup> | ||
|
||
</popupset> | ||
|
||
|
||
|
||
<toolbox id="navigator-toolbox"> <!-- Main Firefox toolbox where all the toolbars normally are --> | ||
<toolbar id="TabGroupBar-Toolbar" | ||
<toolbox id="navigator-toolbox"> <!-- Main Firefox toolbox where all the toolbars normally are --> | ||
<toolbar id="TabGroupBar-Toolbar" | ||
toolbarname="Tab Group Bar" | ||
accesskey="G" | ||
class="chromeclass-toolbar" | ||
context="TabGroupBar-BarContextMenu" | ||
hidden="false" | ||
persist="hidden" | ||
ondragover="objTabGroupBar.onTabDragOver (event);" | ||
> | ||
<tabbox id="TabGroupBar-TabBox" flex="1" ondragover="objTabGroupBar.onTabDragOver(event);"> | ||
<tabbox id="TabGroupBar-TabBox" flex="1" > | ||
<arrowscrollbox orient="horizontal"> | ||
<tabs id="TabGroupBar-TabBox-Tabs"> | ||
<!--<button label="Load tabs" oncommand="objTabGroupBar.addGroupTabs(); "/>--> | ||
<!--<tab label="First tab" oncommand="objTabGroupBar.addGroupTabs(); "/>--> | ||
<!--<tab label="Second tab" oncommand=""/>--> | ||
<!--<tab label="Last tab"/>--> | ||
</tabs> | ||
</arrowscrollbox> | ||
|
||
<arrowscrollbox orient="horizontal"> | ||
<tabs id="TabGroupBar-TabBox-Tabs" | ||
droppable="true" | ||
ondragover="objTabGroupBar.onTabDragOver(event);" | ||
ondrop="objTabGroupBar.onTabDragOver(event);"> | ||
<!--<button label="Load tabs" oncommand="objTabGroupBar.addGroupTabs(); "/>--> | ||
<!--<tab label="First tab" oncommand="objTabGroupBar.addGroupTabs(); "/>--> | ||
<!--<tab label="Second tab" oncommand=""/>--> | ||
<!--<tab label="Last tab"/>--> | ||
</tabs> | ||
</arrowscrollbox> | ||
|
||
</tabbox> | ||
</toolbar> | ||
</toolbox> | ||
</tabbox> | ||
</toolbar> | ||
</toolbox> | ||
</overlay> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ | |
<em:id>[email protected]</em:id> | ||
<em:name>Tab Group Bar</em:name> | ||
<em:type>2</em:type> | ||
<em:version>1.0</em:version> | ||
<em:version>1.1</em:version> | ||
|
||
<em:targetApplication> | ||
<Description> | ||
|