class SparklePreferences < OSX::NSObject attr_accessor :identifier,:mainView,:label,:icon,:category,:appDelegate def initWithController_appDelegate(controller,appDelegate) @label="Updates" @category="Frictionless" @identifier="Updates" @icon= NSImage.imageNamed("Sparkle Icon") @appDelegate=appDelegate controller.addPane_withIdentifier(self, @identifier) end def mainView NSBundle.loadNibNamed_owner("SparklePreferences",self) unless @mainView @mainView end end