Hi Sven,

Actually it's 

preferences.window.center()
preferences.window.makeKeyAndOrderFront(self)

Sorry!

-Robert

On Mar 2, 2011, at 8:19 AM, Sven Schwyn wrote:

> Hi Franco
> 
> Thanks for the quick reply. However, I get this if I try your hint:
> 
> undefined method `center' for #<PreferencesController...
> 
> I seem to be missing something else, too.
> 
> Cheers, -sven
> 
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel@lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to