[MacRuby-devel] [MacRuby] #713: Growl is broken on MacRuby 0.6

MacRuby ruby-noreply at macosforge.org
Thu May 27 01:01:41 PDT 2010


#713: Growl is broken on MacRuby 0.6
------------------------------+---------------------------------------------
 Reporter:  ylphcm@…          |       Owner:  lsansonetti@…        
     Type:  defect            |      Status:  new                  
 Priority:  blocker           |   Milestone:  MacRuby 0.6          
Component:  MacRuby           |    Keywords:  growl                
------------------------------+---------------------------------------------

Comment(by ylphcm@…):

 Thanks, Jakub! Growl indeed works when used via the Growl.framework:
 {{{
 # Requires the Growl framework
 (http://growl.googlecode.com/files/Growl-1.2.1-Framework.tbz)
 # to be present on the load path.
 framework "Growl.framework"

 def registrationDictionaryForGrowl
   { TicketVersion: 1,  AllNotifications: ["hello"],
     DefaultNotifications: ["hello"],  ApplicationId: 'growl_test'}
 end

 GrowlApplicationBridge.setGrowlDelegate(self)
 GrowlApplicationBridge.notifyWithTitle("hello",
                                        description: "hello",
                                        notificationName: "hello",
                                        iconData: nil,
                                        priority: 0,
                                        isSticky: false,
                                        clickContext: nil)
 }}}

 However, the demos are still broken.

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/713#comment:4>
MacRuby <http://macruby.org/>



More information about the MacRuby-devel mailing list