[MacRuby-devel] error calling target of menu item

2009-05-18 Thread Karl Varga
enu.update(self.user) end ... end The menu is added to an NSStatusBar as so: menuZone = NSMenu.menuZone self.menu = NSMenu.allocWithZone(menuZone).init self.statusBar = NSStatusBar.systemStatusBar.statusItemWithLength(NSVariableStatusItemLength) self.statusBar.menu = self.menu Any i

[MacRuby-devel] creating threads in a macruby gui app

2009-05-18 Thread Karl Varga
ithObject_(:loginAndWaitThread, nil) NSThread.detachNewThreadSelector_toTarget_withObject_(:loginAndWaitThread, self.menu, nil) end -- Karl Varga kjva...@gmail.com Cell: +61 (0)4 2075 1356 ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforg

Re: [MacRuby-devel] retrieving password from keychain

2009-04-20 Thread Karl Varga
ssue. Cheers, Karl On Tue, Apr 21, 2009 at 6:44 AM, Laurent Sansonetti wrote: > Hi Karl, > > On Apr 19, 2009, at 8:17 PM, Karl Varga wrote: > >> Hi there, >> >> I am having a strange problem that other people don't seem to be >> having because I can'

[MacRuby-devel] retrieving password from keychain

2009-04-19 Thread Karl Varga
is method in macruby should only take 5 args and return the status, password length, password string and item reference (the last 3 extracted from *data) instead of passing in pointers (which I don't know how to do BTW). What gives? Anyone have any idea or had the same problem? -- Karl Varga kj