I have developed a daemon which is launched by launchd. It have no user interface, other than putting up a status menu with an icon at the status bar.
The menu icon is showing up, but nothing happens when I click it.

NSLog shows that the menu exists, and have items in it. I have the same code for making a status menu in an ordinary Cocoa application, and there I have no such problem.

2008-08-01 11:46:09.073 tansad[10413:10b] rebuildTansaItemMenu 2 tansaMenu: <NSMenu: 0x31fc20>
        Title: Tansa
        Supermenu: 0x0 (None), autoenable: YES, change messages enabled: YES
        Items:     (
        <MenuItem: 0x3e6bd0 Tansa korrektur (Tansaposten)>,
        <MenuItem: 0x3e71f0 Tansa korrektur (The Tansa Times)>,
        <MenuItem: 0x3e7330 >,
        <MenuItem: 0x3e7410 Tansa orddeling (Tansaposten)>,
        <MenuItem: 0x3e7510 Tansa orddeling (The Tansa Times)>,
        <MenuItem: 0x3e75f0 Fjern orddelingspunkter>,
        <MenuItem: 0x3e7750 >,
        <MenuItem: 0x3e78c0 Innstillinger>,
        <MenuItem: 0x3e7a30 Hjelp, submenu: 0x3e79c0 (Hjelp)>
    )

Ivan
_______________________________________________

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