Browse Source

fix main menu

master
Randy Lai 8 years ago
parent
commit
64f4235ce9
  1. 24
      Main.sublime-menu
  2. 2
      pm.py

24
Main.sublime-menu

@ -8,32 +8,32 @@
"caption": "-"
},
{
"caption": "Simple Project Manager",
"command": "simple_project_manager"
"caption": "Project Manager",
"command": "project_manager"
},
{
"caption": "Append Project",
"command": "simple_project_manager",
"caption": "Project Manager: List Projects",
"command": "project_manager",
"args": { "action": 0 }
},
{
"caption": "Add Project",
"command": "simple_project_manager",
"caption": "Project Manager: Add Project",
"command": "project_manager",
"args": { "action": 1 }
},
{
"caption": "Remove Project",
"command": "simple_project_manager",
"caption": "Project Manager: Append Project",
"command": "project_manager",
"args": { "action": 2 }
},
{
"caption": "Edit Project",
"command": "simple_project_manager",
"caption": "Project Manager: Edit Project",
"command": "project_manager",
"args": { "action": 3 }
},
{
"caption": "List Projects",
"command": "simple_project_manager",
"caption": "Project Manager: Remove Project",
"command": "project_manager",
"args": { "action": 4 }
}
]

2
pm.py

@ -201,7 +201,7 @@ class ProjectManager(sublime_plugin.WindowCommand):
["Open in new window", "Open in a new window"],
["Append", "Append to current window"],
["Edit", "Edit project settings"],
["Remove", "Remove from ProJect Manager"]
["Remove", "Remove from Project Manager"]
]
project = self.project_list[action][0]
def callback(a):

Loading…
Cancel
Save