remove unused file

This commit is contained in:
stefan schippers 2023-04-28 17:58:35 +02:00
parent 710e694f40
commit b30eda3bb0
3 changed files with 9 additions and 24 deletions

View File

@ -312,7 +312,8 @@ void merge_file(int selection_load, const char ext[])
if(selection_load==0)
{
if(!strcmp(ext,"")) {
my_snprintf(tmp, S(tmp), "load_file_dialog {Merge file} *.\\{sch,sym\\} INITIALLOADDIR");
/* my_snprintf(tmp, S(tmp), "load_file_dialog {Merge file} *.\\{sch,sym\\} INITIALLOADDIR"); */
my_snprintf(tmp, S(tmp), "load_file_dialog {Merge file} {} INITIALLOADDIR");
tcleval(tmp);
if(!strcmp(tclresult(),"")) return;
my_strncpy(name, (char *)tclresult(), S(name));

View File

@ -2700,8 +2700,8 @@ proc load_file_dialog {{msg {}} {ext {}} {global_initdir {INITIALINSTDIR}}
.load.buttons_bot.cancel invoke
}
set myload_loadfile $loadfile
set myload_ext $ext
set myload_globfilter $ext
if {$ext ne {}} {set myload_ext $ext}
set myload_globfilter $myload_ext
set myload_save_initialfile $initialf
set myload_retval {}
upvar #0 $global_initdir initdir
@ -2805,11 +2805,11 @@ proc load_file_dialog {{msg {}} {ext {}} {global_initdir {INITIALINSTDIR}}
}
}
radiobutton .load.buttons_bot.all -text All -variable myload_globfilter -value {*} \
-command { setglob $myload_dir1 }
-command { set myload_ext $myload_globfilter; setglob $myload_dir1 }
radiobutton .load.buttons_bot.sym -text .sym -variable myload_globfilter -value {*.sym} \
-command { setglob $myload_dir1 }
-command { set myload_ext $myload_globfilter; setglob $myload_dir1 }
radiobutton .load.buttons_bot.sch -text .sch -variable myload_globfilter -value {*.sch} \
-command { setglob $myload_dir1 }
-command { set myload_ext $myload_globfilter; setglob $myload_dir1 }
button .load.buttons.up -width 5 -text Up -command {load_file_dialog_up $myload_dir1}
label .load.buttons.mkdirlab -text { New dir: } -fg blue
entry .load.buttons.newdir -width 16
@ -6521,6 +6521,8 @@ set_ne tabbed_interface 0
## case insensitive symbol lookup (on case insensitive filesystems only!)
set_ne case_insensitive 0
set_ne myload_ext {*}
## remember edit_prop widget size
set_ne edit_prop_size 80x12
set_ne text_line_default_geometry 80x12

View File

@ -1,18 +0,0 @@
#!/usr/bin/awk -f
BEGIN{
header()
print "L 6 0 0 100 100 {" ARGV[1] " " ARGV[2] "}"
}
function header()
{
print "v {xschem version=3.1.0 file_version=1.2}"
print "G {}"
print "K {}"
print "V {}"
print "S {}"
print "E {}"
}