diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-07-28 21:24:32 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-07-28 21:24:32 +0200 |
commit | 3170ee7692ef30ee67f26219b19b2b4115c01a56 (patch) | |
tree | 68c69d03e2e707d6c6c957e73942a638b8c50277 /application/palemoon/components/places/content/placesOverlay.xul | |
parent | 1545320721d22045168b1ca15f924f4143128512 (diff) | |
download | UXP-3170ee7692ef30ee67f26219b19b2b4115c01a56.tar UXP-3170ee7692ef30ee67f26219b19b2b4115c01a56.tar.gz UXP-3170ee7692ef30ee67f26219b19b2b4115c01a56.tar.lz UXP-3170ee7692ef30ee67f26219b19b2b4115c01a56.tar.xz UXP-3170ee7692ef30ee67f26219b19b2b4115c01a56.zip |
Hide and disable open_all/cut/copy/delete/properties when opening
bookmarks/history context menu with no selection
This resolves #882 (by not offering options that can't be used)
Diffstat (limited to 'application/palemoon/components/places/content/placesOverlay.xul')
-rw-r--r-- | application/palemoon/components/places/content/placesOverlay.xul | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/application/palemoon/components/places/content/placesOverlay.xul b/application/palemoon/components/places/content/placesOverlay.xul index dd4d50f01..745990a9c 100644 --- a/application/palemoon/components/places/content/placesOverlay.xul +++ b/application/palemoon/components/places/content/placesOverlay.xul @@ -149,20 +149,20 @@ command="placesCmd_new:bookmark" label="&cmd.new_bookmark.label;" accesskey="&cmd.new_bookmark.accesskey;" - selection="any" + selectiontype="any" hideifnoinsertionpoint="true"/> <menuitem id="placesContext_new:folder" command="placesCmd_new:folder" label="&cmd.new_folder.label;" accesskey="&cmd.context_new_folder.accesskey;" - selection="any" + selectiontype="any" hideifnoinsertionpoint="true"/> <menuitem id="placesContext_new:separator" command="placesCmd_new:separator" label="&cmd.new_separator.label;" accesskey="&cmd.new_separator.accesskey;" closemenu="single" - selection="any" + selectiontype="any" hideifnoinsertionpoint="true"/> <menuseparator id="placesContext_newSeparator"/> <menuitem id="placesContext_createBookmark" @@ -182,14 +182,13 @@ command="placesCmd_copy" label="©Cmd.label;" closemenu="single" - accesskey="©Cmd.accesskey;" - selection="any"/> + accesskey="©Cmd.accesskey;"/> <menuitem id="placesContext_paste" command="placesCmd_paste" label="&pasteCmd.label;" closemenu="single" accesskey="&pasteCmd.accesskey;" - selection="any" + selectiontype="any" hideifnoinsertionpoint="true"/> <menuseparator id="placesContext_editSeparator"/> <menuitem id="placesContext_delete" |