ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/CV/bin/cv
(Generate patch)

Comparing CV/bin/cv (file contents):
Revision 1.43 by root, Tue Jun 28 21:26:04 2005 UTC vs.
Revision 1.44 by root, Fri Jul 15 03:25:57 2005 UTC

34 my $label = sprintf "%s (%d)", 34 my $label = sprintf "%s (%d)",
35 (File::Spec->splitpath ($_[1]))[2], 35 (File::Spec->splitpath ($_[1]))[2],
36 -s $_[1]; 36 -s $_[1];
37 $info->set_label ($label); 37 $info->set_label ($label);
38 $viewer->load_image ($_[1]); 38 $viewer->load_image ($_[1]);
39 });
40 $s->signal_connect (chdir => sub {
41 my ($self, $dir) = @_;
42
43 my $path = Cwd::abs_path $dir;
44
45 $self->realize;
46 $self->window->property_change (
47 Gtk2::Gdk::Atom->intern ("_X_CWD", 0),
48 Gtk2::Gdk::Atom->intern ("UTF8_STRING", 0),
49 Gtk2::Gdk::CHARS, 'replace',
50 Encode::encode_utf8 $path,
51 );
52 }); 39 });
53 40
54 Gtk2::CV::Plugin->call (new_schnauzer => $s); 41 Gtk2::CV::Plugin->call (new_schnauzer => $s);
55 42
56 $s; 43 $s;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines