Mercurial > hg > easyhg
comparison filestatuswidget.cpp @ 361:4cd753e083cc feature_91b
Add Rename and Copy to right-button menu on file status widget.
(This is the real feature 91 -- I bungled the feature number with the earlier feature_91 branch, which actually addressed feature 106.)
author | Chris Cannam |
---|---|
date | Thu, 17 Mar 2011 17:34:23 +0000 |
parents | 293d91cf44de |
children |
comparison
equal
deleted
inserted
replaced
358:ea6f76c0aa76 | 361:4cd753e083cc |
---|---|
59 | 59 |
60 m_actionLabels[FileStates::Annotate] = tr("Show annotated version"); | 60 m_actionLabels[FileStates::Annotate] = tr("Show annotated version"); |
61 m_actionLabels[FileStates::Diff] = tr("Diff to parent"); | 61 m_actionLabels[FileStates::Diff] = tr("Diff to parent"); |
62 m_actionLabels[FileStates::Commit] = tr("Commit..."); | 62 m_actionLabels[FileStates::Commit] = tr("Commit..."); |
63 m_actionLabels[FileStates::Revert] = tr("Revert to last committed state"); | 63 m_actionLabels[FileStates::Revert] = tr("Revert to last committed state"); |
64 m_actionLabels[FileStates::Rename] = tr("Rename..."); | |
65 m_actionLabels[FileStates::Copy] = tr("Copy..."); | |
64 m_actionLabels[FileStates::Add] = tr("Add to version control"); | 66 m_actionLabels[FileStates::Add] = tr("Add to version control"); |
65 m_actionLabels[FileStates::Remove] = tr("Remove from version control"); | 67 m_actionLabels[FileStates::Remove] = tr("Remove from version control"); |
66 m_actionLabels[FileStates::RedoMerge] = tr("Redo merge"); | 68 m_actionLabels[FileStates::RedoMerge] = tr("Redo merge"); |
67 m_actionLabels[FileStates::MarkResolved] = tr("Mark conflict as resolved"); | 69 m_actionLabels[FileStates::MarkResolved] = tr("Mark conflict as resolved"); |
68 m_actionLabels[FileStates::Ignore] = tr("Ignore"); | 70 m_actionLabels[FileStates::Ignore] = tr("Ignore"); |
237 switch (activity) { | 239 switch (activity) { |
238 case FileStates::Annotate: emit annotateFiles(files); break; | 240 case FileStates::Annotate: emit annotateFiles(files); break; |
239 case FileStates::Diff: emit diffFiles(files); break; | 241 case FileStates::Diff: emit diffFiles(files); break; |
240 case FileStates::Commit: emit commitFiles(files); break; | 242 case FileStates::Commit: emit commitFiles(files); break; |
241 case FileStates::Revert: emit revertFiles(files); break; | 243 case FileStates::Revert: emit revertFiles(files); break; |
244 case FileStates::Rename: emit renameFiles(files); break; | |
245 case FileStates::Copy: emit copyFiles(files); break; | |
242 case FileStates::Add: emit addFiles(files); break; | 246 case FileStates::Add: emit addFiles(files); break; |
243 case FileStates::Remove: emit removeFiles(files); break; | 247 case FileStates::Remove: emit removeFiles(files); break; |
244 case FileStates::RedoMerge: emit redoFileMerges(files); break; | 248 case FileStates::RedoMerge: emit redoFileMerges(files); break; |
245 case FileStates::MarkResolved: emit markFilesResolved(files); break; | 249 case FileStates::MarkResolved: emit markFilesResolved(files); break; |
246 case FileStates::Ignore: emit ignoreFiles(files); break; | 250 case FileStates::Ignore: emit ignoreFiles(files); break; |