From b780f76d68d11d8df6c906d81ea3c95103224fdf Mon Sep 17 00:00:00 2001 From: jenglish Date: Tue, 6 Feb 2007 22:28:43 +0000 Subject: Add no-op [package ifneeded] script for tile 0.8.0, so that existing applications that use "package require tile" won't fail when run under Tk 8.5. --- ChangeLog | 6 ++++++ library/ttk/ttk.tcl | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 87d5f5e..2d08a1b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-02-06 Joe English + + * library/ttk/ttk.tcl: Add no-op [package ifneeded] script + for tile 0.8.0, so that existing applications that use + "package require tile" won't fail when run under Tk 8.5. + 2007-02-04 Daniel Steffen * unix/tcl.m4: use gcc4's __attribute__((__visibility__("hidden"))) if diff --git a/library/ttk/ttk.tcl b/library/ttk/ttk.tcl index 37a96bc..b354958 100644 --- a/library/ttk/ttk.tcl +++ b/library/ttk/ttk.tcl @@ -1,5 +1,5 @@ # -# $Id: ttk.tcl,v 1.4 2006/12/13 17:06:32 jenglish Exp $ +# $Id: ttk.tcl,v 1.5 2007/02/06 22:28:44 jenglish Exp $ # # Ttk widget set initialization script. # @@ -46,6 +46,9 @@ proc ttk::deprecated'warning {old new} { ### Backward-compatibility. # + +package ifneeded tile 0.8.0 { package provide tile 0.8.0 } + # ttk::panedwindow used to be named ttk::paned. Keep the alias for now. # ::ttk::deprecated ::ttk::paned ::ttk::panedwindow -- cgit v0.12