>  - (void)quitItunes:(id)sender
>  {
>         [[NSNotificationCenter defaultCenter] removeObserver:self];
>         [iTunes quit];
>         iTunesQuit = [[NSMenu alloc] initWithTitle:@""];
>         qOne = [iTunesQuit addItemWithTitle:@"Start Watching iTunes Again"
>  action:@selector(beginWatching:) keyEquivalent:@""];
>         [barItem setTitle:@"Start iTunes"];
>         //[barItem setAction:@selector(beginWatching:)];
>         [barItem setMenu:iTunesQuit];
>         //[[NSApplication sharedApplication] terminate:self];

  This is a little hard to follow without further explanation, but are
you sure barItem is a valid pointer? If it's an IBOutlet, are you sure
it's connected? That's the very first thing that comes to mind. Does
the title change when you tell it to change to "Start Watching iTunes
Again"?

--
I.S.
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to