add local manual link in xschem about dialog

This commit is contained in:
stefan schippers 2023-10-11 17:10:06 +02:00
parent e457292e04
commit c9a2bca5d7
1 changed files with 6 additions and 3 deletions

View File

@ -3663,6 +3663,7 @@ proc about {} {
button .about.link -text {http://repo.hu/projects/xschem} -font Underline-Font -fg blue -relief flat 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.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.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 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; 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" not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE\n"
@ -3671,12 +3672,14 @@ proc about {} {
pack .about.link pack .about.link
pack .about.link2 pack .about.link2
pack .about.link3 pack .about.link3
pack .about.link4
pack .about.descr pack .about.descr
pack .about.copyright pack .about.copyright
pack .about.close pack .about.close
bind .about.link <Button-1> { execute 0 xdg-open http://repo.hu/projects/xschem} bind .about.link <Button-1> {execute 0 xdg-open http://repo.hu/projects/xschem}
bind .about.link2 <Button-1> { execute 0 xdg-open https://github.com/StefanSchippers/xschem} bind .about.link2 <Button-1> {execute 0 xdg-open https://github.com/StefanSchippers/xschem}
bind .about.link3 <Button-1> { execute 0 xdg-open http://repo.hu/projects/xschem/index.html} bind .about.link3 <Button-1> {execute 0 xdg-open http://repo.hu/projects/xschem/index.html}
bind .about.link4 <Button-1> {execute 0 xdg-open file://$XSCHEM_SHAREDIR/../doc/xschem/xschem_man/xschem_man.html}
} }
proc property_search {} { proc property_search {} {