~mario-kemper/shutter/0.7x

« back to all changes in this revision

Viewing changes to share/shutter/resources/modules/Shutter/Upload/ImageBanana.pm

  • Committer: Mario Kemper
  • Date: 2009-03-10 18:04:40 UTC
  • Revision ID: mario.kemper@googlemail.com-20090310180440-t1y1qzz2jyek2ur5
  * fixed bugs
    -- LP: #260771
       [Detect 'window-manager-changed' event]  
        -- LP: #328654
       [Weird paths after uploading]
    -- LP: #338829
       [Uploading to imageshack is broken]
        -- LP: #338990
       [Open with dialog freezes shutter and desktop]
        -- LP: #340253
       [Capture Website creates two files]
        -- LP: #340459
       [Use fallback icons if icon does not exist]

Show diffs side-by-side

added added

removed removed

Lines of Context:
126
126
        $self->{_http_status} = $self->{_mech}->status();
127
127
        if ( is_success( $self->{_http_status} ) ) {
128
128
                my $html_file = $self->{_mech}->content;
 
129
 
 
130
                #error??
 
131
                if ( $html_file =~ /Upload Error/ ) {
 
132
                        $self->{_links}{'status'} = 'unknown';
 
133
                        return %{ $self->{_links} };
 
134
                }
 
135
 
129
136
                $html_file = $self->switch_html_entities($html_file);
130
137
 
131
138
                my @link_array;