It's a small patch that saves Your status changes into a file. After reboot of Your client You'll have Your last status.
Index: presence.tcl =================================================================== RCS file: /home/cvs/tkabber/tkabber/presence.tcl,v retrieving revision 1.65 diff -r1.65 presence.tcl 282,283c282,283 < set userstatus available < set curtextstatus [set textstatus ""] --- > set userstatus $userstatus > set curtextstatus [set textstatus $textstatus] 363c363,366 < --- > set newstatus $userstatus > set newtextstatus $textstatus > set newpriority $userpriority 428a432,434 > set plik [open "/home/szary/.tkabber/moj_status" w] > puts $plik "$newstatus $newtextstatus" > close $plik
In Your config You have to change some lines:
global textstatus global userstatus set plik [open "/home/szary/.tkabber/moj_status" r] set linia [gets $plik] set userstatus [lindex $linia 0] set textstatus [concat [lrange $linia 1 end]] proc postload{} { ... }
in config.tcl: global
in config.tcl:
and in presence.tcl: