3 # Copyright 1999 Jean-Louis Thirot
5 # This library is free software; you can redistribute it and/or
6 # modify it under the terms of the GNU Lesser General Public
7 # License as published by the Free Software Foundation; either
8 # version 2.1 of the License, or (at your option) any later version.
10 # This library is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 # Lesser General Public License for more details.
15 # You should have received a copy of the GNU Lesser General Public
16 # License along with this library; if not, write to the Free Software
17 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 # the next line restarts using wish \
20 exec wish $0 ${1+"$@"}
23 set libLIST [glob $TKW/wineconf.libs/*.tcl]
25 uplevel #0 [list source $i]
29 proc load_lang { lang} {
31 set langLIST [glob $TKW/wineconf.libs/*.$lang]
33 uplevel #0 [list source $i]
37 if {![info exists TKW]} {
42 #global TKW;set TKW [pwd]
43 global USER; set USER [exec whoami]
44 global env HOME; set HOME $env(HOME)
45 image create photo wine_half -file wineconf.libs/wine-half.gif