1 | <?xml version="1.0" encoding="UTF-8" ?> |
---|
2 | <!DOCTYPE overlay SYSTEM "chrome://markingcollection/locale/markingcollection.dtd"> |
---|
3 | <overlay |
---|
4 | id="autocacheOverlay" |
---|
5 | xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" |
---|
6 | xmlns:html="http://www.w3.org/1999/xhtml"> |
---|
7 | <script type="application/x-javascript" src="chrome://markingcollection/content/autocache.js"/> |
---|
8 | <menubar id="main-menubar"> |
---|
9 | <menu id="bitsExtensionsMainMenu"> |
---|
10 | <menupopup id="bitsExtensionsMenuPopup"> |
---|
11 | <menu |
---|
12 | id="bitsCacheMenu" |
---|
13 | label="&markingcollection.autocache.cache;" |
---|
14 | class="menu-iconic" |
---|
15 | image="chrome://markingcollection/skin/autocache.png" |
---|
16 | oncommand="window.top.bitsAutocacheService.commandMainmenu(event);" |
---|
17 | insertbefore="bitsFavoriteFolderMenu" |
---|
18 | hidden="true" |
---|
19 | > |
---|
20 | <menupopup |
---|
21 | id="bitsCacheMenuPopup" |
---|
22 | onpopupshowing="window.top.bitsAutocacheService.popupshowingMainmenu(event);" |
---|
23 | onpopuphiding="window.top.bitsAutocacheService.popuphidingMainmenu(event);" |
---|
24 | /> |
---|
25 | </menu> |
---|
26 | <menuseparator observes="bitsCacheMenu" insertbefore="bitsFavoriteFolderMenu"/> |
---|
27 | </menupopup> |
---|
28 | </menu> |
---|
29 | </menubar> |
---|
30 | <popupset id="mainPopupSet"> |
---|
31 | <menupopup id="bitsMenuTreeObjectContextmenu"> |
---|
32 | <menu id="bitsMenuTreeObjectContextmenuCache" class="menu-iconic" label="&markingcollection.autocache.cache;" image="chrome://markingcollection/skin/autocache.png" insertafter="bitsMenuTreeObjectOpenNewTabMenuitem"> |
---|
33 | <menupopup> |
---|
34 | <menuitem |
---|
35 | id="bitsMenuTreeObjectContextmenuCacheOpen" |
---|
36 | label="&markingcollection.autocache.open;" |
---|
37 | oncommand="window.top.bitsAutocacheService.openCache(event);"/> |
---|
38 | <menuitem |
---|
39 | id="bitsMenuTreeObjectContextmenuCacheOpenNewtab" |
---|
40 | label="&markingcollection.autocache.open.newtab;" |
---|
41 | oncommand="window.top.bitsAutocacheService.openCache(event,true);"/> |
---|
42 | |
---|
43 | <menuseparator observes="bitsMenuTreeObjectContextmenuCachePast"/> |
---|
44 | <menuitem |
---|
45 | id="bitsMenuTreeObjectContextmenuCachePast" |
---|
46 | label="&markingcollection.autocache.past;..." |
---|
47 | oncommand="window.top.bitsAutocacheService.pastCache(event);" hidden="true"/> |
---|
48 | </menupopup> |
---|
49 | </menu> |
---|
50 | <menuseparator observes="bitsMenuTreeObjectContextmenuCache" insertafter="bitsMenuTreeObjectOpenNewTabMenuitem"/> |
---|
51 | </menupopup> |
---|
52 | <menupopup id="bitsCacheMenuPopup"> |
---|
53 | <menu id="bitsCacheMenuPopupMenu" class="menu-iconic" label="&markingcollection.autocache.cache;" image="chrome://markingcollection/skin/autocache.png"> |
---|
54 | <menupopup id="bitsCacheMenuPopupMenupopup"> |
---|
55 | <menuitem |
---|
56 | id="bitsCacheMenuPopupCacheOpen" |
---|
57 | label="&markingcollection.autocache.open;" |
---|
58 | oncommand="window.top.bitsAutocacheService.openCache(event);"/> |
---|
59 | <menuitem |
---|
60 | id="bitsCacheMenuPopupCacheOpenNewtab" |
---|
61 | label="&markingcollection.autocache.open.newtab;" |
---|
62 | oncommand="window.top.bitsAutocacheService.openCache(event,true);"/> |
---|
63 | <menuseparator/> |
---|
64 | <menuitem |
---|
65 | id="bitsCacheMenuPopupCacheRemove" |
---|
66 | label="&markingcollection.autocache.remove;" |
---|
67 | class="menuitem-iconic" |
---|
68 | image="chrome://markingcollection/skin/menu_remove.png" |
---|
69 | oncommand="window.top.bitsAutocacheService.removeCache(event);"/> |
---|
70 | </menupopup> |
---|
71 | </menu> |
---|
72 | </menupopup> |
---|
73 | <menupopup |
---|
74 | id="bitsCacheContextmenuPopup" |
---|
75 | onpopupshowing="window.top.bitsAutocacheService.popupshowingMainContextmenu(event);"> |
---|
76 | <menuitem |
---|
77 | id="bitsCacheContextmenuMenuitemCacheOpenAll" |
---|
78 | label="&markingcollection.autocache.open.all;" |
---|
79 | oncommand="window.top.bitsAutocacheService.openCacheAll(event);"/> |
---|
80 | <menuseparator/> |
---|
81 | <menuitem |
---|
82 | id="bitsCacheContextmenuMenuitemCacheRemoveAll" |
---|
83 | label="&markingcollection.autocache.remove.all;" |
---|
84 | class="menuitem-iconic" |
---|
85 | image="chrome://markingcollection/skin/menu_remove.png" |
---|
86 | oncommand="window.top.bitsAutocacheService.removeCacheAll(event);"/> |
---|
87 | </menupopup> |
---|
88 | </popupset> |
---|
89 | </overlay> |
---|