diff --git a/menus/atom-sync.cson b/menus/atom-sync.cson index 391826b..b3ad5e4 100644 --- a/menus/atom-sync.cson +++ b/menus/atom-sync.cson @@ -1,33 +1,33 @@ # See https://atom.io/docs/latest/hacking-atom-package-word-count#menus for more details 'context-menu': - '.tree-view .header.list-item': [ - 'label': 'Sync' - 'submenu': [ - { - 'label': 'Edit Sync Config' - 'command': 'atom-sync:configure' - } - { - 'label': 'Sync Remote -> Local' - 'command': 'atom-sync:download-directory' - } - { - 'label': 'Sync Local -> Remote' - 'command': 'atom-sync:upload-directory' - } + '.tool-panel.tree-view .header.list-item': [ + 'label': 'Sync' + 'submenu': [ + { + 'label': 'Edit Sync Config' + 'command': 'atom-sync:configure' + } + { + 'label': 'Sync Remote -> Local' + 'command': 'atom-sync:download-directory' + } + { + 'label': 'Sync Local -> Remote' + 'command': 'atom-sync:upload-directory' + } + ] ] - ] - '.tree-view .file.list-item': [ - 'label': 'Sync' - 'submenu': [ - { - 'label': 'Download File' - 'command': 'atom-sync:download-file' - } - { - 'label': 'Upload File' - 'command': 'atom-sync:upload-file' - } + 'atom-text-editor, .tool-panel.tree-view .file': [ + 'label': 'Sync' + 'submenu': [ + { + 'label': 'Download File' + 'command': 'atom-sync:download-file' + } + { + 'label': 'Upload File' + 'command': 'atom-sync:upload-file' + } + ] ] - ]