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

Changes by: Rob Burns <[EMAIL PROTECTED]>
Date: Mon 09/01/03 at 06:55 (GMT)

------------------ Additional Follow-up Comments ----------------------------
NSLog(@"%@", [[NSApp mainMenu] description]);



will log (nil)



Is this because I am doing it in awakeFromNib? should it not work there? In other gorm 
files, none of the connections will be functional until after [self window] is called. 
(using an NSWindowController). Is this a similar problem? In this case it is 
awakeFromNib in the application delegate, and there is now windows in the gorm file.



=================== BUG #4815: FULL BUG SNAPSHOT ===================


Submitted by: None                    Project: GNUstep                      
Submitted on: Mon 08/18/03 at 04:29
Category:  Gorm                       Severity:  2                          
Bug Group:  Bug                       Resolution:  Invalid                  
Assigned to:  gcasa                   Status:  Closed                       

Summary:  [NSApp mainMenu] returns nil

Original Submission:  when using a gorm created menu, [NSApp mainMenu] will return 
nil. I've tried this with the 'menu' outlet in NSApplication connected and with it 
not, with the same results.

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

-------------------------------------------------------
Date: Mon 09/01/03 at 06:55         By: rburns
NSLog(@"%@", [[NSApp mainMenu] description]);



will log (nil)



Is this because I am doing it in awakeFromNib? should it not work there? In other gorm 
files, none of the connections will be functional until after [self window] is called. 
(using an NSWindowController). Is this a similar problem? In this case it is 
awakeFromNib in the application delegate, and there is now windows in the gorm file.

-------------------------------------------------------
Date: Sun 08/31/03 at 14:36         By: gcasa
Program received signal SIGINT, Interrupt.

[Switching to Thread 1024 (LWP 24313)]

0x4068c5ab in poll () from /lib/i686/libc.so.6

(gdb) print [NSApp mainMenu]

$1 = 139441392

(gdb) print (char *)[[[NSApp mainMenu] description] cString]

$2 = 0x85f7390 "NSMenu: Gorm (Normal)


_______________________________________________
Bug-gnustep mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to