Skip to content
Browse files

Tweak wording in context menu dialog. Add double-click on smart selec…

…tion item to edit actions
  • Loading branch information...
1 parent ca842c1 commit 49827b499d5292efd3faa660b41d9c280995bca1 @gnachman gnachman committed Nov 18, 2011
Showing with 2,868 additions and 9 deletions.
  1. +2,858 −9 English.lproj/PreferencePanel.xib
  2. +10 −0 SmartSelectionController.m
View
2,867 English.lproj/PreferencePanel.xib
2,858 additions, 9 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
View
10 SmartSelectionController.m
@@ -43,6 +43,11 @@ - (void)dealloc
[super dealloc];
}
+- (void)awakeFromNib
+{
+ [tableView_ setDoubleAction:@selector(onDoubleClick:)];
+}
+
+ (NSArray *)defaultRules
{
static NSArray *rulesArray;
@@ -83,6 +88,11 @@ + (double)precisionInRule:(NSDictionary *)rule
return 0;
}
+- (void)onDoubleClick:(id)sender
+{
+ [self editActions:sender];
+}
+
- (Bookmark *)bookmark
{
Bookmark* bookmark = [[BookmarkModel sharedInstance] bookmarkWithGuid:self.guid];

0 comments on commit 49827b4

Please sign in to comment.
Something went wrong with that request. Please try again.