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

Comparing CV/bin/cv (file contents):
Revision 1.17 by root, Fri Nov 7 03:07:01 2003 UTC vs.
Revision 1.18 by root, Fri Nov 7 04:01:28 2003 UTC

59 ? $mainwin->hide 59 ? $mainwin->hide
60 : $mainwin->show_all; 60 : $mainwin->show_all;
61}); 61});
62 62
63if (@ARGV) { 63if (@ARGV) {
64 $viewer->load_image ($ARGV[0]);
65
66 if (@ARGV > 1) {
67 $schnauzer->set_paths (\@ARGV); 64 $schnauzer->set_paths (\@ARGV);
68 } 65 $schnauzer->handle_key ($Gtk2::Gdk::Keysyms{space}, []);
69} else { 66} else {
70 $schnauzer->set_dir ("."); 67 $schnauzer->set_dir (".");
68 $schnauzer->get_toplevel->show_all;
71} 69}
72 70
73$viewer->show_all; 71$viewer->show_all;
74 72
75main Gtk2; 73main Gtk2;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines