diff --git a/mailnews/addrbook/resources/content/addressbook.xul b/mailnews/addrbook/resources/content/addressbook.xul index 1cfda5806ed1..aaa8d78654ca 100644 --- a/mailnews/addrbook/resources/content/addressbook.xul +++ b/mailnews/addrbook/resources/content/addressbook.xul @@ -141,6 +141,7 @@ + diff --git a/mailnews/base/resources/content/mac/platformMailnewsOverlay.xul b/mailnews/base/resources/content/mac/platformMailnewsOverlay.xul index 8f8ec30e5534..788d9d268721 100644 --- a/mailnews/base/resources/content/mac/platformMailnewsOverlay.xul +++ b/mailnews/base/resources/content/mac/platformMailnewsOverlay.xul @@ -4,7 +4,10 @@ - - + + + + diff --git a/mailnews/base/resources/content/mailWindowOverlay.xul b/mailnews/base/resources/content/mailWindowOverlay.xul index 273c7d46eb9a..3c7a9d33600a 100644 --- a/mailnews/base/resources/content/mailWindowOverlay.xul +++ b/mailnews/base/resources/content/mailWindowOverlay.xul @@ -258,6 +258,7 @@ + @@ -326,8 +327,10 @@ - - + + + + diff --git a/mailnews/base/resources/content/unix/platformMailnewsOverlay.xul b/mailnews/base/resources/content/unix/platformMailnewsOverlay.xul index 22b51ca7caa5..db044692f41d 100644 --- a/mailnews/base/resources/content/unix/platformMailnewsOverlay.xul +++ b/mailnews/base/resources/content/unix/platformMailnewsOverlay.xul @@ -7,7 +7,7 @@ xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> - + diff --git a/mailnews/base/resources/content/win/platformMailnewsOverlay.xul b/mailnews/base/resources/content/win/platformMailnewsOverlay.xul index acd4ac90d93e..2cb92e98413e 100644 --- a/mailnews/base/resources/content/win/platformMailnewsOverlay.xul +++ b/mailnews/base/resources/content/win/platformMailnewsOverlay.xul @@ -5,7 +5,7 @@ xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> - + diff --git a/mailnews/base/search/resources/content/SearchDialog.xul b/mailnews/base/search/resources/content/SearchDialog.xul index f138ae3a8333..ff3f6dfcabc3 100644 --- a/mailnews/base/search/resources/content/SearchDialog.xul +++ b/mailnews/base/search/resources/content/SearchDialog.xul @@ -83,13 +83,16 @@ + - - + + + + diff --git a/mailnews/compose/resources/content/messengercompose.xul b/mailnews/compose/resources/content/messengercompose.xul index 203e013b53f1..88f86ed9446b 100644 --- a/mailnews/compose/resources/content/messengercompose.xul +++ b/mailnews/compose/resources/content/messengercompose.xul @@ -140,7 +140,7 @@ - + @@ -183,6 +183,7 @@ + diff --git a/xpfe/browser/resources/content/navigatorOverlay.xul b/xpfe/browser/resources/content/navigatorOverlay.xul index 70668aea7a9b..d97d7bb4dcbe 100644 --- a/xpfe/browser/resources/content/navigatorOverlay.xul +++ b/xpfe/browser/resources/content/navigatorOverlay.xul @@ -85,6 +85,7 @@ + diff --git a/xpfe/browser/resources/content/viewSourceOverlay.xul b/xpfe/browser/resources/content/viewSourceOverlay.xul index cf67e5f190d7..21c776ff4b9d 100644 --- a/xpfe/browser/resources/content/viewSourceOverlay.xul +++ b/xpfe/browser/resources/content/viewSourceOverlay.xul @@ -98,6 +98,7 @@ + diff --git a/xpfe/communicator/resources/content/mac/platformCommunicatorOverlay.xul b/xpfe/communicator/resources/content/mac/platformCommunicatorOverlay.xul index 3664817d2274..dded6299c96d 100644 --- a/xpfe/communicator/resources/content/mac/platformCommunicatorOverlay.xul +++ b/xpfe/communicator/resources/content/mac/platformCommunicatorOverlay.xul @@ -27,17 +27,20 @@ - + - - - - + + + + + diff --git a/xpfe/components/bookmarks/resources/bm-panel.js b/xpfe/components/bookmarks/resources/bm-panel.js index ac5b0e983c14..cb130ab11ae6 100644 --- a/xpfe/components/bookmarks/resources/bm-panel.js +++ b/xpfe/components/bookmarks/resources/bm-panel.js @@ -42,6 +42,14 @@ // tree widget, etc. function Startup() { + // correct keybinding command attributes which don't do our business yet + var key = document.getElementById("key_delete"); + if (key.getAttribute("command")) + key.setAttribute("command", "cmd_bm_delete"); + key = document.getElementById("key_delete2"); + if (key.getAttribute("command")) + key.setAttribute("command", "cmd_bm_delete"); + var bookmarksView = document.getElementById("bookmarks-view"); bookmarksView.tree.view.selection.select(0); } diff --git a/xpfe/components/bookmarks/resources/bm-panel.xul b/xpfe/components/bookmarks/resources/bm-panel.xul index b6f9334be960..42cd943d72fd 100644 --- a/xpfe/components/bookmarks/resources/bm-panel.xul +++ b/xpfe/components/bookmarks/resources/bm-panel.xul @@ -83,7 +83,12 @@ oncommandupdate="document.getElementById('bookmarks-view').onCommandUpdate();"> + + + + + - + - - - - - - - - - - - - - - - - - - - + @@ -178,7 +151,7 @@ key="key_paste" command="cmd_bm_paste"/> + key="key_delete" command="cmd_bm_delete"/> - + +%utilDTD; + +%bmDTD; +]> @@ -82,4 +87,34 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/xpfe/components/download-manager/resources/downloadmanager.js b/xpfe/components/download-manager/resources/downloadmanager.js index 5d6aadacaeed..bb60ab943406 100644 --- a/xpfe/components/download-manager/resources/downloadmanager.js +++ b/xpfe/components/download-manager/resources/downloadmanager.js @@ -105,7 +105,14 @@ function DLManagerStartup() gDownloadView.builder.rebuild(); window.setTimeout(onRebuild, 0); - var key; + // correct keybinding command attributes which don't do our business yet + var key = document.getElementById("key_delete"); + if (key.getAttribute("command")) + key.setAttribute("command", "cmd_remove"); + key = document.getElementById("key_delete2"); + if (key.getAttribute("command")) + key.setAttribute("command", "cmd_remove"); + document.getElementById("btn_openfile").hidden = gCannotLaunch; document.getElementById("downloadPaneContext-openfile").hidden = gCannotLaunch; } diff --git a/xpfe/components/download-manager/resources/downloadmanager.xul b/xpfe/components/download-manager/resources/downloadmanager.xul index 1bf89576e101..db8b53b1c53d 100644 --- a/xpfe/components/download-manager/resources/downloadmanager.xul +++ b/xpfe/components/download-manager/resources/downloadmanager.xul @@ -123,7 +123,10 @@ which is good, but we need to specify it ourselves here --> - + + + diff --git a/xpfe/components/history/resources/history-panel.xul b/xpfe/components/history/resources/history-panel.xul index cb1e0c3f72e9..a7694a3931f6 100644 --- a/xpfe/components/history/resources/history-panel.xul +++ b/xpfe/components/history/resources/history-panel.xul @@ -57,6 +57,7 @@ + diff --git a/xpfe/components/history/resources/history.xul b/xpfe/components/history/resources/history.xul index dfa0c22aac7f..1e250ef1ca3f 100644 --- a/xpfe/components/history/resources/history.xul +++ b/xpfe/components/history/resources/history.xul @@ -86,6 +86,7 @@ +