diff options
author | Ahmad Samir <ahmad@mageia.org> | 2011-04-02 19:39:51 +0000 |
---|---|---|
committer | Ahmad Samir <ahmad@mageia.org> | 2011-04-02 19:39:51 +0000 |
commit | ed8c9c7f3096c626c9a0419626524f477d3ae854 (patch) | |
tree | aa0ec2ee89a4aee11369bb5ebb3f3997526438b3 /perl-install/mygtk2.pm | |
parent | 6faa758048d53251912d14c95f6a7d86790eb78a (diff) | |
download | drakx-ed8c9c7f3096c626c9a0419626524f477d3ae854.tar drakx-ed8c9c7f3096c626c9a0419626524f477d3ae854.tar.gz drakx-ed8c9c7f3096c626c9a0419626524f477d3ae854.tar.bz2 drakx-ed8c9c7f3096c626c9a0419626524f477d3ae854.tar.xz drakx-ed8c9c7f3096c626c9a0419626524f477d3ae854.zip |
- use 'cannot' instead of 'can not'
- use 'LDAP' instead of 'Ldap'
Diffstat (limited to 'perl-install/mygtk2.pm')
-rw-r--r-- | perl-install/mygtk2.pm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/perl-install/mygtk2.pm b/perl-install/mygtk2.pm index 795ad69fa..0905ebd77 100644 --- a/perl-install/mygtk2.pm +++ b/perl-install/mygtk2.pm @@ -309,7 +309,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 image $name"); + my $file = _find_imgfile($name) or internal_error("cannot find image $name"); if (my $size = delete $opts->{size}) { $w = Gtk2::Gdk::Pixbuf->new_from_file_at_scale($file, $size, $size, 1); } else { @@ -373,11 +373,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 image $name"); + my $file = _find_imgfile(may_apply($w->{format}, $name)) or internal_error("cannot find image $name"); $w->{set_from_file}->($w, $file, delete $opts->{size}); } 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 image $$file_ref"); + my $file = _find_imgfile(may_apply($w->{format}, $$file_ref)) or internal_error("cannot find image $$file_ref"); $w->{set_from_file}->($w, $file, delete $opts->{size}); }; gtkval_register($w, $file_ref, $set); @@ -839,7 +839,7 @@ sub _gtk_any_Window { if ($class eq 'Window') { $w = "Gtk2::$class"->new(delete $opts->{type} || 'toplevel'); } elsif ($class eq 'Plug') { - $opts->{socket_id} or internal_error("can not create a Plug without a socket_id"); + $opts->{socket_id} or internal_error("cannot create a Plug without a socket_id"); $w = "Gtk2::$class"->new(delete $opts->{socket_id}); } elsif ($class eq 'FileChooserDialog') { my $action = delete $opts->{action} || internal_error("missing action for FileChooser"); @@ -867,7 +867,7 @@ sub _gtk_any_Window { if (my $f = _find_imgfile($name)) { $w->set_icon(gtknew('Pixbuf', file => $f)); } elsif (!$icon_no_error) { - internal_error("can not find $name"); + internal_error("cannot find $name"); } } } |