mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 03:20:48 +00:00
Added MacOS 10.4 methods for NSDocument, NSDocumentController,
NSPrintOperation, NSResponder and NSCell. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24378 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
6f754401c4
commit
9a71af08ad
25 changed files with 1902 additions and 521 deletions
|
@ -88,7 +88,7 @@
|
|||
toData: [NSMutableData data]
|
||||
printInfo: aPrintInfo];
|
||||
|
||||
_showPanels = YES;
|
||||
[self setShowPanels: YES];
|
||||
|
||||
return self;
|
||||
}
|
||||
|
@ -116,7 +116,7 @@
|
|||
NSString *job;
|
||||
|
||||
success = YES;
|
||||
job = [_printInfo jobDisposition];
|
||||
job = [[self printInfo] jobDisposition];
|
||||
if ([job isEqual: NSPrintPreviewJob])
|
||||
{
|
||||
/* Check to see if there is a GNUstep app that can preview PS files.
|
||||
|
@ -126,7 +126,7 @@
|
|||
NSTask *task;
|
||||
NSString *preview;
|
||||
NSWorkspace *ws = [NSWorkspace sharedWorkspace];
|
||||
[_printPanel _setStatusStringValue: @"Opening in previewer..."];
|
||||
[[self printPanel] _setStatusStringValue: @"Opening in previewer..."];
|
||||
|
||||
preview = [ws getBestAppInRole: @"Viewer"
|
||||
forExtension: @"ps"];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue