diff --git a/ChangeLog b/ChangeLog index 650d5cdb1..3e712090c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2009-04-16 16:05-EDT Gregory John Casamento + + * Source/NSAlert.m: Revert last change. + 2009-04-16 15:02-EDT Gregory John Casamento * Source/NSAlert.m: Order front regardless to prevent reported @@ -8,9 +12,9 @@ * Source/GSHorizontalTypesetter.m: Use thread dictionary to hold the instance of the typesetter for that thread. - * Source/NSStringDrawing.m: Add locks to methods to prevent modification - of static variables by separate threads from causing the application - to get glyph generation errors. + * Source/NSStringDrawing.m: Add locks to methods to prevent + modification of static variables by separate threads from + causing applications to get glyph generation errors. NOTE: These changes based on suggestions/ideas from Doug Simons . diff --git a/Source/NSAlert.m b/Source/NSAlert.m index 968694d61..08024db69 100644 --- a/Source/NSAlert.m +++ b/Source/NSAlert.m @@ -1108,8 +1108,6 @@ NSRunAlertPanel( panel = getSomePanel(&standardAlertPanel, defaultTitle, title, message, defaultButton, alternateButton, otherButton); - [panel orderFrontRegardless]; - result = [panel runModal]; NSReleaseAlertPanel(panel); return result; @@ -1157,8 +1155,6 @@ NSRunLocalizedAlertPanel( panel = getSomePanel(&standardAlertPanel, @"Alert", title, message, defaultButton, alternateButton, otherButton); - [panel orderFrontRegardless]; - result = [panel runModal]; NSReleaseAlertPanel(panel); return result; @@ -1205,8 +1201,6 @@ NSRunCriticalAlertPanel( panel = getSomePanel(&criticalAlertPanel, @"Critical", title, message, defaultButton, alternateButton, otherButton); - [panel orderFrontRegardless]; - result = [panel runModal]; NSReleaseAlertPanel(panel); return result; @@ -1254,8 +1248,6 @@ NSRunInformationalAlertPanel( @"Information", title, message, defaultButton, alternateButton, otherButton); - [panel orderFrontRegardless]; - result = [panel runModal]; NSReleaseAlertPanel(panel); return result; @@ -1302,8 +1294,6 @@ void NSBeginAlertSheet(NSString *title, panel = getSomePanel(&standardAlertPanel, defaultTitle, title, message, defaultButton, alternateButton, otherButton); - [panel orderFrontRegardless]; - // FIXME: We should also change the button action to call endSheet: [NSApp beginSheet: panel modalForWindow: docWindow @@ -1343,8 +1333,6 @@ void NSBeginCriticalAlertSheet(NSString *title, panel = getSomePanel(&criticalAlertPanel, @"Critical", title, message, defaultButton, alternateButton, otherButton); - [panel orderFrontRegardless]; - // FIXME: We should also change the button action to call endSheet: [NSApp beginSheet: panel modalForWindow: docWindow @@ -1386,8 +1374,6 @@ void NSBeginInformationalAlertSheet(NSString *title, @"Information", title, message, defaultButton, alternateButton, otherButton); - [panel orderFrontRegardless]; - // FIXME: We should also change the button action to call endSheet: [NSApp beginSheet: panel modalForWindow: docWindow