one_click.image = Gtk::Image.new("#{$FPATH}/images/stock-tools-16.png")
helpsubmenu.append(speed = Gtk::ImageMenuItem.new(utf8(_("Speedup: key shortcuts and mouse gestures"))))
speed.image = Gtk::Image.new("#{$FPATH}/images/stock-info-16.png")
+ helpsubmenu.append(tutos = Gtk::ImageMenuItem.new(utf8(_("Online tutorials (opens a web-browser)"))))
+ tutos.image = Gtk::Image.new("#{$FPATH}/images/stock-web-16.png")
helpsubmenu.append( Gtk::SeparatorMenuItem.new)
helpsubmenu.append(about = Gtk::ImageMenuItem.new(Gtk::Stock::ABOUT))
helpmenu.set_submenu(helpsubmenu)
")), { :pos_centered => true, :not_transient => true })
}
+ tutos.signal_connect('activate') {
+ open_url('http://zarb.org/~gc/html/booh/tutorial.html')
+ }
about.signal_connect('activate') {
Gtk::AboutDialog.set_url_hook { |dialog, url| open_url(url) }