summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-08-08 01:30:22 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-08-08 01:30:22 +0000
commiteb378fd24c609d2af1dfe39fd7a87706768d86f4 (patch)
tree6db617855c862b39d44c7cbf5d94ca7947b9f056
parente4038053efe23ab9bedbca1af203246c1abfa1d0 (diff)
downloaddrakx-backup-do-not-use-eb378fd24c609d2af1dfe39fd7a87706768d86f4.tar
drakx-backup-do-not-use-eb378fd24c609d2af1dfe39fd7a87706768d86f4.tar.gz
drakx-backup-do-not-use-eb378fd24c609d2af1dfe39fd7a87706768d86f4.tar.bz2
drakx-backup-do-not-use-eb378fd24c609d2af1dfe39fd7a87706768d86f4.tar.xz
drakx-backup-do-not-use-eb378fd24c609d2af1dfe39fd7a87706768d86f4.zip
more explicit error
-rw-r--r--perl-install/mygtk2.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/mygtk2.pm b/perl-install/mygtk2.pm
index 2184dab14..f8d9db324 100644
--- a/perl-install/mygtk2.pm
+++ b/perl-install/mygtk2.pm
@@ -243,7 +243,7 @@ sub _gtk__Pixbuf {
if (!$w) {
my $name = delete $opts->{file} or internal_error("missing file");
- my $file = _find_imgfile($name) or internal_error("can not find $name");
+ my $file = _find_imgfile($name) or internal_error("can not find image $name");
$w = Gtk2::Gdk::Pixbuf->new_from_file($file);
}
$w;
@@ -258,11 +258,11 @@ sub _gtk__Image {
}
if (my $name = delete $opts->{file}) {
- my $file = _find_imgfile(may_apply($w->{format}, $name)) or internal_error("can not find $name");
+ my $file = _find_imgfile(may_apply($w->{format}, $name)) or internal_error("can not find image $name");
$w->set_from_file($file);
} elsif (my $file_ref = delete $opts->{file_ref}) {
my $set = sub {
- my $file = _find_imgfile(may_apply($w->{format}, $$file_ref)) or internal_error("can not find $$file_ref");
+ my $file = _find_imgfile(may_apply($w->{format}, $$file_ref)) or internal_error("can not find image $$file_ref");
$w->set_from_file($file);
};
gtkval_register($w, $file_ref, $set);