source: trunk/proto-13/chrome/content/ff-overlay.xul @ 165

Revision 165, 1.6 KB checked in by nhoyt, 6 years ago (diff)

Modified all XUL id values to begin with "ainspector-" prefix.

Line 
1<?xml version="1.0"?>
2<!DOCTYPE overlay SYSTEM "chrome://ai-sidebar/locale/ai-sidebar.dtd">
3
4<overlay id="ainspector-sidebar-overlay"
5  xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
6
7  <script src="utilities/inspection.js"/>
8  <script src="utilities/logging.js"/>
9  <script src="utilities/utils.js"/>
10  <script src="preferences/general.js"/>
11  <script src="preferences/evaluation.js"/>
12  <script src="ff-overlay.js"/>
13
14  <keyset id="mainKeyset">
15    <key id="ainspector-key-toggle-sidebar"
16      command="ainspector-view-sidebar"
17      key="&ai-sidebar.toggle.commandkey;"
18      modifiers="&ai-sidebar.toggle.modifierskey;"/>
19  </keyset>
20
21  <toolbarpalette id="BrowserToolbarPalette">
22    <toolbarbutton id="ainspector-sidebar-button" class="toolbarbutton-1 chromeclass-toolbar-additional"
23      tooltiptext="&ai-button.tooltip.toggle;"
24      oncommand="toggleSidebar('ainspector-view-sidebar')">
25      <label style="font-size: 110%; font-style: normal; font-weight: bold;">AI</label>
26    </toolbarbutton>
27  </toolbarpalette>
28
29  <menupopup id="viewSidebarMenu">
30    <menuitem id="ainspector-menuitem-toggle-sidebar"
31      key="ainspector-key-toggle-sidebar"
32      observes="ainspector-view-sidebar"/>
33  </menupopup>
34
35  <broadcasterset id="mainBroadcasterSet">
36    <broadcaster id="ainspector-view-sidebar"
37      label="&ai-sidebar.title;"
38      type="checkbox" autoCheck="false" group="sidebar"
39      sidebarurl="chrome://ai-sidebar/content/ai-sidebar.xul"
40      sidebartitle="&ai-sidebar.title;"
41      oncommand="toggleSidebar('ainspector-view-sidebar')"/>
42  </broadcasterset>
43
44</overlay>
Note: See TracBrowser for help on using the repository browser.