* English.lproj/Gorm.gorm: Added Print menu.

* Gorm.m: Added print: method to print the current keyWindow.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@26491 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2008-05-06 00:09:10 +00:00
parent 56f0325c24
commit 6f7c3ce553
5 changed files with 14 additions and 6 deletions

View file

@ -1,3 +1,8 @@
2008-05-05 20:08-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* English.lproj/Gorm.gorm: Added Print menu.
* Gorm.m: Added print: method to print the current keyWindow.
2008-05-04 18:09-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* GormCore/GormPalettesManager.m: Cleanup

View file

@ -2,9 +2,10 @@
"## Comment" = "Do NOT change this file, Gorm maintains it";
FirstResponder = {
Actions = (
"alignSelectedObjects:",
"arrangeSelectedObjects:",
"exportStrings:",
"alignSelectedObjects:",
"newAction:",
"orderFrontFontPanel:",
"translate:"
);
@ -42,7 +43,8 @@
"createClassFiles:",
"loadClass:",
"preferencesPanel:",
"guideline:"
"guideline:",
"print:"
);
Outlets = (
gormMenu,

Binary file not shown.

Binary file not shown.

9
Gorm.m
View file

@ -56,11 +56,7 @@
NSImage *gormImage;
NSImage *testingImage;
id connectSource;
NSWindow *connectSWindow;
NSRect connectSRect;
id connectDestination;
NSWindow *connectDWindow;
NSRect connectDRect;
NSPoint cascadePoint;
NSMutableArray *testingWindows;
NSSet *topObjects;
@ -1275,4 +1271,9 @@
return unique;
}
- (void) print: (id) sender
{
[[self keyWindow] print: sender];
}
@end