bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug #3346] NSDocument actions are not reachable


From: nobody
Subject: [Bug #3346] NSDocument actions are not reachable
Date: Sun, 27 Apr 2003 16:41:39 -0400

=================== BUG #3346: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=3346&group_id=99

Changes by: Yen-Ju Chen <yjchenx@hotmail.com>
Date: Sun 04/27/2003 at 16:41 (America/New_York)

------------------ Additional Follow-up Comments ----------------------------
The trick I found is that you have to set the NSDocument as the delegate of 
NSWindow. But It doesn't make sense if you have your own NSWindowController.
Anyway, just a comment.



=================== BUG #3346: FULL BUG SNAPSHOT ===================


Submitted by: stefanu                 Project: GNUstep                      
Submitted on: Sun 04/27/2003 at 16:06
Category:  Gui/AppKit                 Severity:  5 - Major                  
Bug Group:  Bug                       Resolution:  None                     
Assigned to:  None                    Status:  Open                         

Summary:  NSDocument actions are not reachable

Original Submission:  NSDocument actions saveDocument:,  saveDocumentAs:, 
saveDocumentTo:, close: are not reachable from main menu. I have subclassed 
NSDocument and NSWindowController. I had to implement those methods in 
NSWindowController subclass and forward them  to NSWindowController's document. 
I think those methods should be implemented directly in NSWindowController. 
Patch is attached (except close:).

Follow-up Comments
*******************

-------------------------------------------------------
Date: Sun 04/27/2003 at 16:41       By: yjchen
The trick I found is that you have to set the NSDocument as the delegate of 
NSWindow. But It doesn't make sense if you have your own NSWindowController.
Anyway, just a comment.


CC list is empty


File Attachments
****************

-------------------------------------------------------
Date: Sun 04/27/2003 at 16:06  Name: NSWindowController.m.patch  Size: 0KB   
By: stefanu
added save* methods to NSWindowController
http://savannah.gnu.org/bugs/download.php?group_id=99&amp;bug_id=3346&amp;bug_file_id=412


For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=3346&group_id=99




reply via email to

[Prev in Thread] Current Thread [Next in Thread]