/usr/share/elmerfront/tcl/ecif_tk_aboutBox.tcl is in elmer-common 6.1.0.svn.5396.dfsg2-4ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 | #/*****************************************************************************/
# *
# * Elmer, A Finite Element Software for Multiphysical Problems
# *
# * Copyright 1st April 1995 - , CSC - IT Center for Science Ltd., Finland
# *
# * This program is free software; you can redistribute it and/or
# * modify it under the terms of the GNU General Public License
# * as published by the Free Software Foundation; either version 2
# * of the License, or (at your option) any later version.
# *
# * This program is distributed in the hope that it will be useful,
# * but WITHOUT ANY WARRANTY; without even the implied warranty of
# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# * GNU General Public License for more details.
# *
# * You should have received a copy of the GNU General Public License
# * along with this program (in file fem/GPL-2); if not, write to the
# * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
# * Boston, MA 02110-1301, USA.
# *
# *****************************************************************************/
#***********************************************************************
#Program: ELMER Front
#Module: ecif_tk_aboutBox.tcl
#Language: Tcl
#Date: 05.10.98
#Version: 1.00
#Author(s): Martti Verho
#Revisions:
#
#Abstract: Help menu About-box
#
#************************************************************************
#------About box proc------
#
proc About::openPanel {} {
# This procedure displays program's "About" box
global Info About
set wgeom +500+100
set w .aboutbox
set id [winfo atom $w]
set globHelp(aboutWinId) $id
if { 1 == [Util::checkPanelWindow About $id "About" $wgeom] } {
return
}
set About(dataChanged) 0
set About(dataModified) 0
toplevel $w
focus $w
wm geometry $w $wgeom
wm title $w "About $Info(PROJECT) $Info(MODULE)"
set fpx $Info(framePadX2)
set fpy $Info(framePadY2)
#--Widgets
frame $w.fl -bd 2 -relief groove
frame $w.fb
label $w.fl.l1 -text \
"$Info(PROJECT) $Info(VERSION)\n\n \
$Info(FRONT_NAME) $Info(FRONT_VERSION_NBR)\n\n \
This is a front end program for setting\n \
boundary conditions and other parameters\n \
for CFD problems.\n\n"
set ok_btn [button $w.fb.b1 -text OK -command "About::panelOk $w"]
focus $ok_btn
#--Packing
pack $w.fb $w.fl -expand 1 -side bottom -fill both -padx $fpx -pady $fpy
pack $ok_btn $w.fl.l1 -expand 1 -side top
}
proc About::panelOk {w} {
Panel::cancel $w
}
#-end About box proc
|