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

Comparing CV/bin/cv (file contents):
Revision 1.69 by root, Thu Nov 2 00:09:15 2006 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 });
428=item CV_EDITOR 433=item CV_EDITOR
429 434
430The program that gets executed when the user presses C<CTRL-e> in the 435The program that gets executed when the user presses C<CTRL-e> in the
431Schnauzer or image window. The default is C<gimp>. 436Schnauzer or image window. The default is C<gimp>.
432 437
438=item CV_AUDIO_PLAYER
439
440Program used to play all sorts of audio (wav, aif, mp3, ogg...), default "play".
441Will be called like C<< $CV_AUDIO_PLAYER -- <path> >>.
442
433=item CV_PRINT_DESTINATION 443=item CV_PRINT_DESTINATION
434 444
435The default (perl-style) destination to use in the print dialog. 445The default (perl-style) destination to use in the print dialog.
436 446
437=item CV_TRASHCAN 447=item CV_TRASHCAN

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines