-
Notifications
You must be signed in to change notification settings - Fork 23
/
contextHistoryMenu.uc.xul
48 lines (47 loc) · 1.96 KB
/
contextHistoryMenu.uc.xul
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE overlay [
<!ENTITY % browserDTD SYSTEM "chrome://browser/locale/browser.dtd" >
%browserDTD;
]>
<overlay id="ffh-overlay" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<menupopup id="contentAreaContextMenu">
<menu id="Context_historyMenu" label="&historyMenu.label;" accesskey="s" insertbefore="context-openlinkincurrent">
<menupopup id="Context_historyMenu_popup"
placespopup="true"
oncommand="this.parentNode._placesView._onCommand(event);"
onpopupshowing="if (!this.parentNode._placesView) new HistoryMenu(event);">
<menuitem label="&showAllHistoryCmd2.label;"
command="Browser:ShowAllHistory"
key="showAllHistoryKb"/>
<menuseparator/>
<menuitem
label="&clearRecentHistory.label;"
key="key_sanitize"
command="Tools:Sanitize"/>
<menuseparator class="hide-if-empty-places-result"/>
<menuitem
class="restoreLastSession"
label="&historyRestoreLastSession.label;"
oncommand="Browser:RestoreLastSession;"
disabled="true"/>
<menu
class="recentlyClosedTabsMenu"
label="&historyUndoMenu.label;"
disabled="true">
<menupopup
onpopupshowing="document.getElementById('Context_historyMenu')._placesView.populateUndoSubmenu();"/>
</menu>
<menu
class="recentlyClosedWindowsMenu"
label="&historyUndoWindowMenu.label;"
disabled="true"
>
<menupopup
onpopupshowing="document.getElementById('Context_historyMenu')._placesView.populateUndoWindowSubmenu();"
/>
</menu>
<menuseparator/>
</menupopup>
</menu>
</menupopup>
</overlay>