transitional xhtml compliant
[booh] / bin / booh
index aff026b95443f1f37d1f4dad600bf291fde8e1a6..34faec732656da3cd426eebf9e9c0f07e2c15cdc 100755 (executable)
--- a/bin/booh
+++ b/bin/booh
@@ -3390,6 +3390,8 @@ Click to view it in your browser:") % $xmldoc.root.attributes['destination']),
     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)
@@ -3425,6 +3427,9 @@ for speeding up your editions. If bothered, you can disable them from Edit/Prefe
 ")), { :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) }