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

Comparing CV/bin/cv (file contents):
Revision 1.70 by root, Sat Sep 8 08:20:02 2007 UTC vs.
Revision 1.71 by root, Thu Oct 4 10:30:12 2007 UTC

166 $schnauzer->show_all; 166 $schnauzer->show_all;
167 $schnauzer->handle_key ($Gtk2::Gdk::Keysyms{space}, []); 167 $schnauzer->handle_key ($Gtk2::Gdk::Keysyms{space}, []);
168 $viewer->show_all; 168 $viewer->show_all;
169 }; 169 };
170 170
171 if (@ARGV == 1 && $ARGV[0] eq "-0r") {
172 local $/;
173 $schnauzer->set_paths ([map Glib::filename_to_unicode $_, split /\x00/, <STDIN>], 1, $show_first);
171 @ARGV == 1 && -d $ARGV[0] 174 } elsif (@ARGV == 1 && -d $ARGV[0]) {
172 ? $schnauzer->set_dir (Glib::filename_to_unicode shift, $show_first) 175 $schnauzer->set_dir (Glib::filename_to_unicode shift, $show_first);
176 } else {
173 : $schnauzer->set_paths ([map Glib::filename_to_unicode $_, @ARGV], 1, $show_first); 177 $schnauzer->set_paths ([map Glib::filename_to_unicode $_, @ARGV], 1, $show_first);
178 }
174} else { 179} else {
175 $schnauzer->set_dir (File::Spec->curdir, sub { 180 $schnauzer->set_dir (File::Spec->curdir, sub {
176 $mainwin->show_all; 181 $mainwin->show_all;
177 $viewer->show_all; 182 $viewer->show_all;
178 }); 183 });

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines