c5b8fa
--- demos/widget.orig	2008-01-02 13:24:14.000000000 +0100
c5b8fa
+++ demos/widget	2008-01-02 13:27:10.000000000 +0100
c5b8fa
@@ -3,7 +3,8 @@
c5b8fa
 use 5.008;
c5b8fa
 use Config;
c5b8fa
 use Tk 804.000;
c5b8fa
-use lib Tk->findINC( 'demos/widget_lib' );
c5b8fa
+#use lib Tk->findINC( 'demos/widget_lib' );
c5b8fa
+use lib "@demopath@/widget_lib";
c5b8fa
 use Tk::widgets qw/ DialogBox ErrorDialog LabEntry ROText /;
c5b8fa
 use Tk::Config ();
c5b8fa
 use WidgetDemo;
c5b8fa
@@ -62,9 +63,11 @@
c5b8fa
     $l->destroy;
c5b8fa
 }
c5b8fa
 
c5b8fa
-my $widget_lib = Tk->findINC('demos/widget_lib');
c5b8fa
+#my $widget_lib = Tk->findINC('demos/widget_lib');
c5b8fa
+my $widget_lib = "@demopath@/widget_lib";
c5b8fa
 my $wd = "$widget_lib/WidgetDemo.pm";
c5b8fa
-$WIDTRIB = Tk->findINC('demos/widtrib');
c5b8fa
+#$WIDTRIB = Tk->findINC('demos/widtrib');
c5b8fa
+$WIDTRIB = "@demopath@/widtrib";
c5b8fa
 unless (Tk::tainting) {
c5b8fa
     $WIDTRIB = $ENV{WIDTRIB} if defined $ENV{WIDTRIB};
c5b8fa
     $WIDTRIB = $ARGV[0] if defined $ARGV[0];