update localizable strings and other trivial changes

This commit is contained in:
Mitchell Livingston 2008-12-26 21:31:00 +00:00
parent 9e71a10313
commit 062c252bec
4 changed files with 7 additions and 6 deletions

View File

@ -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"];

View File

@ -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

View File

@ -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.