forked from qt-creator/qt-creator
fix context definitions of the vcs editors (this makes shortcuts work again)
This commit is contained in:
@@ -38,9 +38,13 @@ namespace Git {
|
||||
namespace Constants {
|
||||
|
||||
const char * const GIT_COMMAND_LOG_EDITOR_KIND = "Git Command Log Editor";
|
||||
const char * const C_GIT_COMMAND_LOG_EDITOR = "Git Command Log Editor";
|
||||
const char * const GIT_LOG_EDITOR_KIND = "Git File Log Editor";
|
||||
const char * const C_GIT_LOG_EDITOR = "Git File Log Editor";
|
||||
const char * const GIT_BLAME_EDITOR_KIND = "Git Annotation Editor";
|
||||
const char * const C_GIT_BLAME_EDITOR = "Git Annotation Editor";
|
||||
const char * const GIT_DIFF_EDITOR_KIND = "Git Diff Editor";
|
||||
const char * const C_GIT_DIFF_EDITOR = "Git Diff Editor";
|
||||
|
||||
const char * const C_GITSUBMITEDITOR = "Git Submit Editor";
|
||||
const char * const GITSUBMITEDITOR_KIND = "Git Submit Editor";
|
||||
|
||||
@@ -73,22 +73,22 @@ static const VCSBase::VCSBaseEditorParameters editorParameters[] = {
|
||||
{
|
||||
VCSBase::RegularCommandOutput,
|
||||
Git::Constants::GIT_COMMAND_LOG_EDITOR_KIND,
|
||||
Core::Constants::C_GLOBAL,
|
||||
Git::Constants::C_GIT_COMMAND_LOG_EDITOR,
|
||||
"application/vnd.nokia.text.scs_git_commandlog",
|
||||
"gitlog"},
|
||||
{ VCSBase::LogOutput,
|
||||
Git::Constants::GIT_LOG_EDITOR_KIND,
|
||||
Core::Constants::C_GLOBAL,
|
||||
Git::Constants::C_GIT_LOG_EDITOR,
|
||||
"application/vnd.nokia.text.scs_git_filelog",
|
||||
"gitfilelog"},
|
||||
{ VCSBase::AnnotateOutput,
|
||||
Git::Constants::GIT_BLAME_EDITOR_KIND,
|
||||
Core::Constants::C_GLOBAL,
|
||||
Git::Constants::C_GIT_BLAME_EDITOR,
|
||||
"application/vnd.nokia.text.scs_git_annotation",
|
||||
"gitsannotate"},
|
||||
{ VCSBase::DiffOutput,
|
||||
Git::Constants::GIT_DIFF_EDITOR_KIND,
|
||||
Core::Constants::C_GLOBAL,
|
||||
Git::Constants::C_GIT_DIFF_EDITOR,
|
||||
"text/x-patch","diff"}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user