Article View: news.software.nn
Article #8537NN-TK - patch to 16.1
From: Toivo Pedaste
Date: Thu, 24 Jul 1997 00:00
Date: Thu, 24 Jul 1997 00:00
149 lines
4139 bytes
4139 bytes
This patch fixes some problems with the GUI for auto kill/selecting
articles:
Homepage: http://www.general.uwa.edu.au/u/toivo/nn-tk/changes.html
*** killsel.tcl~ Thu Jul 24 00:01:49 1997
--- killsel.tcl Thu Jul 24 00:02:09 1997
***************
*** 9,24 ****
global ksel
article_info
! global ksel_group ksel_subj ksel_send ksel_from ksel_msgid
killsel_Make
update
! set f [open "/home/toivo/.nn/kill" r]
! while {[gets $f l] > 0} {
! .killsel.lb.l insert end $l
}
- close $f
if {$item != ""} {
killsel_list_add
--- 9,26 ----
global ksel
article_info
! global ksel_group ksel_subj ksel_send ksel_from ksel_msgid nn_directory
killsel_Make
update
! if {[file readable "$nn_directory/kill"]} {
! set f [open "$nn_directory/kill" r]
! while {[gets $f l] > 0} {
! .killsel.lb.l insert end $l
! }
! close $f
}
if {$item != ""} {
killsel_list_add
***************
*** 53,65 ****
}
proc killsel_writefile {} {
! global ksel
if {$ksel(listbox) >= 0} {
ksel_out_item $ksel(listbox)
}
! set f [open "/home/toivo/.nn/kill" w]
set size [.killsel.lb.l size]
for {set i 0} {$i < $size} {incr i} {
--- 55,67 ----
}
proc killsel_writefile {} {
! global ksel nn_directory
if {$ksel(listbox) >= 0} {
ksel_out_item $ksel(listbox)
}
! set f [open "$nn_directory/kill" w]
set size [.killsel.lb.l size]
for {set i 0} {$i < $size} {incr i} {
***************
*** 471,477 ****
# CREATING WIDGETS
###################
toplevel .ksel -class Toplevel
!
wm deiconify .ksel
wm title .ksel "ksel"
--- 473,479 ----
# CREATING WIDGETS
###################
toplevel .ksel -class Toplevel
! bind .ksel <Destroy> ksel_destroyed
wm deiconify .ksel
wm title .ksel "ksel"
***************
*** 698,700 ****
--- 700,707 ----
}
}
+ proc ksel_destroyed {} {
+ global ksel
+
+ set ksel(listbox) -1
+ }
*** exmh_inter.tcl~ Thu Jul 24 00:01:38 1997
--- exmh_inter.tcl Thu Jul 24 00:06:23 1997
***************
*** 89,95 ****
set mime(dir) /usr/local/bin
set pgp(path) /usr/local/bin
! set exmh(version) nn-tk.15.0
set exmh(library) $nn_x_dir/tcl/exmh
set exmh(folder) $nn_directory
set exmh(userLibrary) $nn_directory
--- 89,95 ----
set mime(dir) /usr/local/bin
set pgp(path) /usr/local/bin
! set exmh(version) nn-tk.16.1
set exmh(library) $nn_x_dir/tcl/exmh
set exmh(folder) $nn_directory
set exmh(userLibrary) $nn_directory
*** nn-defaults~ Thu Jul 24 00:01:25 1997
--- nn-defaults Thu Jul 24 00:02:09 1997
***************
*** 80,86 ****
! Geometry of windows
!
!
! *nn.position: 966x667+20+27
*prompt.position: 72x1+376+0
!
! Which cascading menus to split on first character, use a _ to indicate
--- 80,86 ----
! Geometry of windows
!
!
! *nn.position: 980x680+20+27
*prompt.position: 72x1+376+0
!
! Which cascading menus to split on first character, use a _ to indicate
--
Toivo Pedaste Email: toivo@ucs.uwa.edu.au
University Computing Services, Phone: +61 8 9 380 2605
University of Western Australia Fax: +61 8 9 380 1109
"The time has come", the Walrus said, "to talk of many things"...
Technical Details
Message-ID:
<5r6cph$mg9$1@enyo.uwa.edu.au>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <5r6cph$mg9$1@enyo.uwa.edu.au> Subject: NN-TK - patch to 16.1 Date: Thu, 24 Jul 1997 00:00:00 +0000 From: toivo@eleusis.ucs.uwa.edu.au (Toivo Pedaste) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!not-for-mail X-Deja-AN: 258412579 X-Exmh-Isig-CompType: unknown Organization: The University of Western Australia X-Exmh-Isig-Folder: /home/toivo/.nn Newsgroups: news.software.nn,news.software.readers,comp.lang.tcl