#542 new

Error in ToolBar::Builder when using block

Reported by ferfebles | July 21st, 2011 @ 09:02 PM

When you add a toolbar item with a code block it gives an error.

  ToolBar::Builder.new "Edit" do
    item("Decrease") { puts "decrease selected" }

Error in: undefined method `add_listener' for #<Proc:0xe746a2>

Tested in OSX with redcar:
Version: 0.12.0dev
Ruby Version: 1.8.7
Jruby version: 1.6.1
Redcar.environment: user

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A programmer's text editor for Gnome.

People watching this ticket