Changeset 824


Ignore:
Timestamp:
Aug 22, 2006, 8:39:52 PM (15 years ago)
Author:
livings124
Message:

Add Find to edit menu, since find can be useful for debugging.

Location:
trunk/macosx
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/English.lproj/MainMenu.nib/info.nib

    r807 r824  
    3232        <key>IBOpenObjects</key>
    3333        <array>
     34                <integer>29</integer>
    3435                <integer>21</integer>
    35                 <integer>29</integer>
    3636        </array>
    3737        <key>IBSystem Version</key>
  • trunk/macosx/MessageWindowController.m

    r823 r824  
    4747                        [NSFont fontWithName: @"Monaco" size: 10], NSFontAttributeName,
    4848                        paragraph, NSParagraphStyleAttributeName, nil];
     49        [paragraph release];
    4950       
    5051        [[self window] update]; //make sure nib is loaded right away
     
    9192    BOOL shouldScroll = [scroller floatValue] == 1.0 || [scroller isHidden] || [scroller knobProportion] == 1.0;
    9293   
    93     NSMutableAttributedString * messageString;
     94    NSAttributedString * messageString;
    9495    NSString * levelString, * dateString;
    9596    for (currentMessage = messages; currentMessage != NULL; currentMessage = currentMessage->next)
     
    112113        dateString = [[NSDate dateWithTimeIntervalSince1970: currentMessage->when]
    113114                            descriptionWithCalendarFormat: @"%1m/%d %H:%M:%S" timeZone: nil locale: nil];
    114         messageString = [[[NSMutableAttributedString alloc] initWithString: [NSString stringWithFormat: @"%@ %@ %s",
     115        messageString = [[[NSAttributedString alloc] initWithString: [NSString stringWithFormat: @"%@ %@ %s",
    115116                            dateString, levelString, currentMessage->message] attributes: fAttributes] autorelease];
    116117       
Note: See TracChangeset for help on using the changeset viewer.