diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2008-04-15 21:51:58 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2008-04-15 21:51:58 +0000 |
commit | b26b66e25ceba1f82c939fa2009a168d90bcfaa9 (patch) | |
tree | 40b390ad9306fbeb4d56f3185d33f0c720109583 /packages/patches | |
parent | ed5b76cb0737c22d6ad7c4113fc34714f7604421 (diff) |
checked in danomatika's patch 1939017 to allow hiding of hidden files on GNU/Linux open/save panel
svn path=/trunk/; revision=9705
Diffstat (limited to 'packages/patches')
-rw-r--r-- | packages/patches/pd_hidden_file_dialogs-0.41.4.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/packages/patches/pd_hidden_file_dialogs-0.41.4.patch b/packages/patches/pd_hidden_file_dialogs-0.41.4.patch new file mode 100644 index 00000000..fc91f586 --- /dev/null +++ b/packages/patches/pd_hidden_file_dialogs-0.41.4.patch @@ -0,0 +1,23 @@ +*** u_main.tk 2007-10-25 06:18:43.000000000 -0500 +--- u_main.tk 2008-04-09 16:49:00.000000000 -0500 +*************** +*** 39,44 **** +--- 39,56 ---- + + # end Pd-extended font hacks ----------------------------- + ++ # begin hack to hide hidden files/folder in tk browser on unix ---------- ++ if {$pd_nt == 0} { ++ # load the dialog once, otherwise setting the vars will not work ++ catch {tk_getOpenFile -with-invalid-argument} ++ ++ # change the environment variables ++ namespace eval ::tk::dialog::file { ++ variable showHiddenBtn 1 ++ variable showHiddenVar 0 ++ } ++ } ++ # end hidden files/folder hack ------------------ + + # Tearoff is set to true by default: + set pd_tearoff 1 |