update localizable strings and other trivial changes
This commit is contained in:
parent
9e71a10313
commit
062c252bec
|
@ -107,9 +107,9 @@
|
|||
const NSUInteger count = [priorities count];
|
||||
if (fHoverRow && count > 0)
|
||||
{
|
||||
[super setSelected: [priorities containsObject: [NSNumber numberWithInt: TR_PRI_LOW]] forSegment: 0];
|
||||
[super setSelected: [priorities containsObject: [NSNumber numberWithInt: TR_PRI_NORMAL]] forSegment: 1];
|
||||
[super setSelected: [priorities containsObject: [NSNumber numberWithInt: TR_PRI_HIGH]] forSegment: 2];
|
||||
[super setSelected: [priorities containsObject: [NSNumber numberWithInteger: TR_PRI_LOW]] forSegment: 0];
|
||||
[super setSelected: [priorities containsObject: [NSNumber numberWithInteger: TR_PRI_NORMAL]] forSegment: 1];
|
||||
[super setSelected: [priorities containsObject: [NSNumber numberWithInteger: TR_PRI_HIGH]] forSegment: 2];
|
||||
|
||||
[super drawWithFrame: cellFrame inView: controlView];
|
||||
}
|
||||
|
@ -122,7 +122,7 @@
|
|||
image = [NSImage imageNamed: @"PriorityMixed.png"];
|
||||
else
|
||||
{
|
||||
switch ([[priorities anyObject] intValue])
|
||||
switch ([[priorities anyObject] integerValue])
|
||||
{
|
||||
case TR_PRI_NORMAL:
|
||||
image = [NSImage imageNamed: @"PriorityNormal.png"];
|
||||
|
|
|
@ -28,9 +28,10 @@
|
|||
|
||||
- (void) keyDown: (NSEvent *) event
|
||||
{
|
||||
[super keyDown: event];
|
||||
if ([event keyCode] == 53) //esc key
|
||||
[self close];
|
||||
else
|
||||
[super keyDown: event];
|
||||
}
|
||||
|
||||
- (void) close
|
||||
|
|
|
@ -1542,7 +1542,7 @@ int trashDataFile(const char * filename)
|
|||
normal = YES;
|
||||
}
|
||||
|
||||
[priorities addObject: [NSNumber numberWithInt: priority]];
|
||||
[priorities addObject: [NSNumber numberWithInteger: priority]];
|
||||
if (low && normal && high)
|
||||
break;
|
||||
}
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue