From d7274e77f880d503baa51a264fb014e741f519de Mon Sep 17 00:00:00 2001 From: Ivica Ico Bukvic <ico@vt.edu> Date: Fri, 20 Sep 2013 09:20:44 -0400 Subject: [PATCH] fixed bug that was triggered when first creating recent files folder and optimized printing into console --- pd/src/pd.tk | 3 ++- pd/src/pd_guiprefs.tcl | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pd/src/pd.tk b/pd/src/pd.tk index 6baf52e56..611f41d88 100644 --- a/pd/src/pd.tk +++ b/pd/src/pd.tk @@ -885,7 +885,8 @@ proc pdtk_update_root_edit_menu {value} { proc pdtk_post {stuff} { .printout.frame.text configure -state normal .printout.frame.text insert end $stuff - .printout.frame.text yview end-2char + after cancel .printout.frame.text yview end-2char + after idle .printout.frame.text yview end-2char .printout.frame.text configure -state disabled } diff --git a/pd/src/pd_guiprefs.tcl b/pd/src/pd_guiprefs.tcl index 6e7955feb..0dcf8c402 100644 --- a/pd/src/pd_guiprefs.tcl +++ b/pd/src/pd_guiprefs.tcl @@ -220,7 +220,7 @@ proc ::pd_guiprefs::write_config_x11 {data {adomain} {akey}} { proc ::pd_guiprefs::prepare_configdir {} { if {[file isdirectory $::recentfiles_domain] != 1} { file mkdir $::recentfiles_domain - ::pdwindow::debug "$::recentfiles_domain was created.\n" + #::pdwindow::debug "Created $::recentfiles_domain preferences folder.\n" } } -- GitLab