From 046114f79cecbb940e4a96ee17ba4926be62f415 Mon Sep 17 00:00:00 2001 From: Randy Lai Date: Tue, 18 Jul 2017 00:18:05 -0400 Subject: [PATCH] Other: just make sure the commands are named after the dashboard name We are using similar naming rule for Branches --- Default.sublime-commands | 2 +- Default.sublime-keymap | 8 ++++---- core/interfaces/tags.py | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Default.sublime-commands b/Default.sublime-commands index 639fa77d9..af841f708 100644 --- a/Default.sublime-commands +++ b/Default.sublime-commands @@ -140,7 +140,7 @@ }, { "caption": "git: push all tags", - "command": "gs_tag_push", + "command": "gs_tags_push", "args": { "push_all": true } }, { diff --git a/Default.sublime-keymap b/Default.sublime-keymap index 6a8f7ac6b..03f48fe87 100644 --- a/Default.sublime-keymap +++ b/Default.sublime-keymap @@ -771,7 +771,7 @@ }, { "keys": ["l"], - "command": "gs_tag_view_log", + "command": "gs_tags_view_log", "context": [ { "key": "setting.command_mode", "operator": "equal", "operand": false }, { "key": "setting.git_savvy.tags_view", "operator": "equal", "operand": true }, @@ -780,7 +780,7 @@ }, { "keys": ["d"], - "command": "gs_tag_delete", + "command": "gs_tags_delete", "context": [ { "key": "setting.command_mode", "operator": "equal", "operand": false }, { "key": "setting.git_savvy.tags_view", "operator": "equal", "operand": true }, @@ -805,7 +805,7 @@ }, { "keys": ["p"], - "command": "gs_tag_push", + "command": "gs_tags_push", "context": [ { "key": "setting.command_mode", "operator": "equal", "operand": false }, { "key": "setting.git_savvy.tags_view", "operator": "equal", "operand": true }, @@ -814,7 +814,7 @@ }, { "keys": ["P"], - "command": "gs_tag_push", + "command": "gs_tags_push", "args": { "push_all": true }, "context": [ { "key": "setting.command_mode", "operator": "equal", "operand": false }, diff --git a/core/interfaces/tags.py b/core/interfaces/tags.py index da56f08c2..efa8f6d74 100644 --- a/core/interfaces/tags.py +++ b/core/interfaces/tags.py @@ -208,7 +208,7 @@ def run(self, edit, reset_remotes=False): util.view.refresh_gitsavvy(self.view) -class GsTagDeleteCommand(TextCommand, GitCommand): +class GsTagsDeleteCommand(TextCommand, GitCommand): """ Delete selected tag(s). @@ -257,7 +257,7 @@ def delete_remote(self, interface): util.view.refresh_gitsavvy(self.view) -class GsTagPushCommand(TextCommand, GitCommand): +class GsTagsPushCommand(TextCommand, GitCommand): """ Displays a panel of all remotes defined for the repository, then push @@ -317,7 +317,7 @@ def push_all(self, remote_idx): util.view.refresh_gitsavvy(self.view) -class GsTagViewLogCommand(TextCommand, GitCommand): +class GsTagsViewLogCommand(TextCommand, GitCommand): """ Display the commit for the selected tag's hash.