~ubuntu-branches/ubuntu/karmic/grass/karmic

« back to all changes in this revision

Viewing changes to lib/gis/gui.tcl

  • Committer: Bazaar Package Importer
  • Author(s): Francesco Paolo Lovergine
  • Date: 2009-07-13 13:34:03 UTC
  • mfrom: (3.1.15 karmic)
  • Revision ID: james.westby@ubuntu.com-20090713133403-0x81m7hb1q06zu13
Tags: 6.4.0~rc5-2
* Added a grass menu item (Hamish).
* Added a grass.menu.in template with related icon.
* Added a simple x-grass wrapper to allow running grass without a pre-running
  controlling terminal. At least it works within ordinary WMs launchers.
  (closes: #503371)
* Added newlocation.dpatch patch to manage correctly new locations.
  (closes: #533738)

Show diffs side-by-side

added added

removed removed

Lines of Context:
306
306
        global opt env
307
307
        set pgm_name $opt($dlg,pgm_name)
308
308
 
309
 
        if {[catch {exec $env(GRASS_HTML_BROWSER) $env(GISBASE)/docs/html/$pgm_name.html &} error]} {
 
309
        if {[catch {exec $env(GRASS_HTML_BROWSER) file://$env(GISBASE)/docs/html/$pgm_name.html &} error]} {
310
310
                tk_messageBox -type ok -icon error -title [G_msg "Error"] -message [G_msg $error]
311
311
                return
312
312
        }