Skip to content

Commit 0ec81d1

Browse files
committed
Added an ellipsis at the end of the "Reset" menu titles as they open a modal window.
1 parent 7e8d79a commit 0ec81d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PBRefMenuItem.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ + (NSArray *) defaultMenuItemsForRef:(PBGitRef *)ref inRepository:(PBGitReposito
6060
[items addObject:[PBRefMenuItem itemWithTitle:checkoutTitle action:@selector(checkout:) enabled:!isHead]];
6161
[items addObject:[PBRefMenuItem separatorItem]];
6262

63-
NSString *resetTitle = [NSString stringWithFormat:@"Reset %@ to %@", headRefName, targetRefName];
63+
NSString *resetTitle = [NSString stringWithFormat:@"Reset %@ to %@", headRefName, targetRefName];
6464
[items addObject:[PBRefMenuItem itemWithTitle: resetTitle action:@selector(reset:) enabled:YES]];
6565
[items addObject:[PBRefMenuItem separatorItem]];
6666

@@ -172,7 +172,7 @@ + (NSArray *) defaultMenuItemsForCommit:(PBGitCommit *)commit target:(id)target
172172
[items addObject:[PBRefMenuItem itemWithTitle:@"Checkout Commit" action:@selector(checkout:) enabled:YES]];
173173
[items addObject:[PBRefMenuItem separatorItem]];
174174

175-
NSString *resetTitle = [NSString stringWithFormat:@"Reset %@ to here", headBranchName];
175+
NSString *resetTitle = [NSString stringWithFormat:@"Reset %@ to here", headBranchName];
176176
[items addObject:[PBRefMenuItem itemWithTitle: resetTitle action:@selector(reset:) enabled:YES]];
177177
[items addObject:[PBRefMenuItem separatorItem]];
178178

0 commit comments

Comments
 (0)