~ubuntu-branches/debian/jessie/shutter/jessie

« back to all changes in this revision

Viewing changes to share/shutter/resources/modules/Shutter/Screenshot/Web.pm

  • Committer: Bazaar Package Importer
  • Author(s): Ryan Niebur
  • Date: 2009-12-24 21:47:06 UTC
  • mfrom: (1.2.3 upstream) (2.2.2 squeeze)
  • mto: This revision was merged to the branch mainline in revision 5.
  • Revision ID: james.westby@ubuntu.com-20091224214706-c2ve4k7anyqhzvr1
* New Upstream Version
* update and change some deps
* update email address
* set Standards-Version to 3.8.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
        my $class = shift;
41
41
        
42
42
        my $self = {
43
 
                                 _timeout => shift,
44
 
                                 _format  => shift,
45
 
                                 _quality  => shift,
46
 
                                 _url  => shift,
47
 
                                 _dest_filename => shift
 
43
                                 _timeout               => shift,
 
44
                                 _format                => shift,
 
45
                                 _width                 => shift,
 
46
                                 _url                   => shift,
 
47
                                 _dest_filename => shift,
48
48
                           };
49
49
        
50
50
        bless $self, $class;
63
63
sub web {
64
64
        my $self = shift;
65
65
        
66
 
        system("gnome-web-photo --timeout=$self->{_timeout} --mode=photo --format=$self->{_format} -q $self->{_quality} '$self->{_url}' '$self->{_dest_filename}'");
 
66
        system("gnome-web-photo --timeout=$self->{_timeout} --mode=photo --format=$self->{_format} --width=$self->{_width} '$self->{_url}' '$self->{_dest_filename}'");
67
67
        
68
68
        return TRUE;
69
69
}