From c9a2bca5d7272891126e65b8a861e4c1bf865615 Mon Sep 17 00:00:00 2001 From: stefan schippers Date: Wed, 11 Oct 2023 17:10:06 +0200 Subject: [PATCH] add local manual link in xschem about dialog --- src/xschem.tcl | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/xschem.tcl b/src/xschem.tcl index 61ce9bfe..943f31ea 100644 --- a/src/xschem.tcl +++ b/src/xschem.tcl @@ -3663,6 +3663,7 @@ proc about {} { button .about.link -text {http://repo.hu/projects/xschem} -font Underline-Font -fg blue -relief flat button .about.link2 -text {https://github.com/StefanSchippers/xschem} -font Underline-Font -fg blue -relief flat button .about.link3 -text {Online XSCHEM Manual} -font Underline-Font -fg blue -relief flat + button .about.link4 -text {Local XSCHEM Manual} -font Underline-Font -fg blue -relief flat label .about.copyright -text "\n Copyright (C) 1998-2023 Stefan Schippers (stefan.schippers@gmail.com) \n This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE\n" @@ -3671,12 +3672,14 @@ proc about {} { pack .about.link pack .about.link2 pack .about.link3 + pack .about.link4 pack .about.descr pack .about.copyright pack .about.close - bind .about.link { execute 0 xdg-open http://repo.hu/projects/xschem} - bind .about.link2 { execute 0 xdg-open https://github.com/StefanSchippers/xschem} - bind .about.link3 { execute 0 xdg-open http://repo.hu/projects/xschem/index.html} + bind .about.link {execute 0 xdg-open http://repo.hu/projects/xschem} + bind .about.link2 {execute 0 xdg-open https://github.com/StefanSchippers/xschem} + bind .about.link3 {execute 0 xdg-open http://repo.hu/projects/xschem/index.html} + bind .about.link4 {execute 0 xdg-open file://$XSCHEM_SHAREDIR/../doc/xschem/xschem_man/xschem_man.html} } proc property_search {} {