Hi all,

Currently Scid shows hidden files (under Linux). In 99% cases it is
useless and annoying. I found a solution

http://groups.google.com/group/comp.lang.tcl/browse_frm/thread/7707a636aa543766
https://sourceforge.net/tracker2/?func=detail&atid=478072&aid=1939017&group_id=55736

I just put the following lines
==============================
catch {tk_getOpenFile -with-invalid-argument}
  namespace eval ::tk::dialog::file {
  variable showHiddenBtn 1
  variable showHiddenVar 0
  }
===============================
just above line
    set fName [tk_getOpenFile -initialdir $::initialDir(base)
-filetypes $ftype -title "Open a Scid file"]
from file.tcl file

Now I have checkbox "Show hidden filed and directories" in FileOpen dialog.

Hmm.... My code added empty line to the recently used files. So
solution above is not perfect.

Mikhail Kalenkov.

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Scid-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scid-users

Reply via email to