06194_Dialog_Scan_Image_Sane.t (gscan2pdf-2.13.1.tar.xz) | : | 06194_Dialog_Scan_Image_Sane.t (gscan2pdf-2.13.2.tar.xz) | ||
---|---|---|---|---|
skipping to change at line 69 | skipping to change at line 69 | |||
); | ); | |||
return; | return; | |||
} | } | |||
); | ); | |||
my $options = [ | my $options = [ | |||
undef, | undef, | |||
{ | { | |||
'type' => 2, | 'type' => 2, | |||
'max_values' => 1, | 'max_values' => 1, | |||
'desc' => | 'desc' => | |||
'Bottom-right y position of scan area. You should use it in "User defined" mode only!', | 'Bottom-right y position of scan area. You should use it in "User defined" mode only!', | |||
'index' => 14, | 'index' => 14, | |||
'constraint_type' => 1, | 'constraint_type' => 1, | |||
'constraint' => { | 'constraint' => { | |||
'quant' => '0', | 'quant' => '0', | |||
'min' => '0', | 'min' => '0', | |||
'max' => '355.599990844727' | 'max' => '355.599990844727' | |||
}, | }, | |||
'name' => 'br-y', | 'name' => 'br-y', | |||
'val' => '355.599990844727', | 'val' => '355.599990844727', | |||
skipping to change at line 102 | skipping to change at line 102 | |||
'constraint_type' => 3, | 'constraint_type' => 3, | |||
'val' => 'Gray', | 'val' => 'Gray', | |||
'cap' => 5, | 'cap' => 5, | |||
'unit' => 0, | 'unit' => 0, | |||
'title' => 'Scan mode' | 'title' => 'Scan mode' | |||
}, | }, | |||
{ | { | |||
'max_values' => 1, | 'max_values' => 1, | |||
'type' => 2, | 'type' => 2, | |||
'index' => 11, | 'index' => 11, | |||
'desc' => | 'desc' => | |||
'Top-left x position of scan area. You should use it in "User defined" mode only !', | 'Top-left x position of scan area. You should use it in "User defined" mode only !', | |||
'val' => '0', | 'val' => '0', | |||
'constraint_type' => 1, | 'constraint_type' => 1, | |||
'name' => 'tl-x', | 'name' => 'tl-x', | |||
'constraint' => { | 'constraint' => { | |||
'min' => '0', | 'min' => '0', | |||
'max' => '216', | 'max' => '216', | |||
'quant' => '0' | 'quant' => '0' | |||
}, | }, | |||
'title' => 'tl-x', | 'title' => 'tl-x', | |||
skipping to change at line 174 | skipping to change at line 174 | |||
'quant' => '0' | 'quant' => '0' | |||
}, | }, | |||
'name' => 'br-x', | 'name' => 'br-x', | |||
'constraint_type' => 1, | 'constraint_type' => 1, | |||
'val' => '216', | 'val' => '216', | |||
'unit' => 3, | 'unit' => 3, | |||
'cap' => 5, | 'cap' => 5, | |||
'title' => 'br-x', | 'title' => 'br-x', | |||
'type' => 2, | 'type' => 2, | |||
'max_values' => 1, | 'max_values' => 1, | |||
'desc' => | 'desc' => | |||
'Bottom-right x position of scan area. You should use it in "User defined" mode only!', | 'Bottom-right x position of scan area. You should use it in "User defined" mode only!', | |||
'index' => 13 | 'index' => 13 | |||
}, | }, | |||
]; | ]; | |||
$override->replace( | $override->replace( | |||
'Gscan2pdf::Frontend::Image_Sane::_thread_get_options' => sub { | 'Gscan2pdf::Frontend::Image_Sane::_thread_get_options' => sub { | |||
my ( $self, $uuid ) = @_; | my ( $self, $uuid ) = @_; | |||
$self->{return}->enqueue( | $self->{return}->enqueue( | |||
{ | { | |||
type => 'finished', | type => 'finished', | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 3 lines changed or added |