… | |
… | |
159 | } |
159 | } |
160 | |
160 | |
161 | if (@ARGV) { |
161 | if (@ARGV) { |
162 | @ARGV == 1 && -d $ARGV[0] |
162 | @ARGV == 1 && -d $ARGV[0] |
163 | ? $schnauzer->set_dir (Glib::filename_to_unicode shift) |
163 | ? $schnauzer->set_dir (Glib::filename_to_unicode shift) |
164 | : $schnauzer->set_paths ([map Glib::filename_to_unicode $_, @ARGV]); |
164 | : $schnauzer->set_paths ([map Glib::filename_to_unicode $_, @ARGV], 1); |
165 | $schnauzer->show_all; |
165 | $schnauzer->show_all; |
166 | $schnauzer->handle_key ($Gtk2::Gdk::Keysyms{space}, []); |
166 | $schnauzer->handle_key ($Gtk2::Gdk::Keysyms{space}, []); |
167 | } else { |
167 | } else { |
168 | $schnauzer->set_dir (File::Spec->curdir); |
168 | $schnauzer->set_dir (File::Spec->curdir); |
169 | $mainwin->show_all; |
169 | $mainwin->show_all; |
… | |
… | |
296 | r set scaling mode to 'nearest' (fastest) |
296 | r set scaling mode to 'nearest' (fastest) |
297 | s set scaling mode to 'bilinear' (default) |
297 | s set scaling mode to 'bilinear' (default) |
298 | shift-s set scaling mode to 'hyper' (slowest) |
298 | shift-s set scaling mode to 'hyper' (slowest) |
299 | t rotate clockwise 90° |
299 | t rotate clockwise 90° |
300 | T rotate counterclockwise° |
300 | T rotate counterclockwise° |
|
|
301 | a apply all rotations loslessly to a jpeg file (using exiftran) |
301 | ctrl-v open a new visual schnauzer window for the current dir |
302 | ctrl-v open a new visual schnauzer window for the current dir |
302 | ctrl-c clone the current image window |
303 | ctrl-c clone the current image window |
303 | ctrl-e run an editor ($CV_EDITOR or "gimp") on the current image |
304 | ctrl-e run an editor ($CV_EDITOR or "gimp") on the current image |
304 | ctrl-p fire up the print dialog |
305 | ctrl-p fire up the print dialog |
305 | escape cancel a crop action |
306 | escape cancel a crop action |