mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-04-22 22:20:44 +00:00
* 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:
parent
56f0325c24
commit
6f7c3ce553
5 changed files with 14 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -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
9
Gorm.m
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue