mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 16:30:53 +00:00
Revert previous change.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28225 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e13e7a38a5
commit
d1db66cd7c
2 changed files with 7 additions and 17 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue