Mercurial > hg > easyhg
comparison filestates.h @ 326:6e1fdda1dff2 filelist_right_button_menu
Implement right-button menu functions for file lists; convert the toolbar-button functions (apart from Add and Remove) to modal only on working copy state rather than selection state
author | Chris Cannam |
---|---|
date | Fri, 11 Mar 2011 15:33:16 +0000 |
parents | 5fa5c908ca00 |
children | a52970e7a6e0 |
comparison
equal
deleted
inserted
replaced
325:5fa5c908ca00 | 326:6e1fdda1dff2 |
---|---|
64 enum Activity { | 64 enum Activity { |
65 | 65 |
66 // These are in the order in which they want to be listed in | 66 // These are in the order in which they want to be listed in |
67 // the context menu | 67 // the context menu |
68 | 68 |
69 Diff, | |
69 Annotate, | 70 Annotate, |
70 Diff, | |
71 | 71 |
72 Commit, | 72 Commit, |
73 Revert, | 73 Revert, |
74 | 74 |
75 Add, | 75 Add, |
79 MarkResolved, | 79 MarkResolved, |
80 | 80 |
81 Ignore, | 81 Ignore, |
82 UnIgnore, | 82 UnIgnore, |
83 | 83 |
84 FirstActivity = Commit, | 84 FirstActivity = Diff, |
85 LastActivity = UnIgnore | 85 LastActivity = UnIgnore |
86 }; | 86 }; |
87 | 87 |
88 typedef QList<Activity> Activities; | 88 typedef QList<Activity> Activities; |
89 | 89 |