~midori/midori/cmake-make-dist

« back to all changes in this revision

Viewing changes to midori/midori-download.vala

  • Committer: Christian Dywan
  • Date: 2015-04-19 14:06:12 UTC
  • mto: This revision was merged to the branch mainline in revision 6949.
  • Revision ID: christian@twotoasts.de-20150419140612-5v73fo7y45rqc0ag
Move to WebKit2 4.0 which broke ABI

Show diffs side-by-side

added added

removed removed

Lines of Context:
128
128
 
129
129
            string size = "%s".printf (format_size (download.get_received_data_length ()));
130
130
            string speed = "";
131
 
            speed = format_size ((uint64)((download.get_received_data_length () * 1.0) / download.elapsed_time));
 
131
            speed = format_size ((uint64)((download.get_received_data_length () * 1.0) / download.get_elapsed_time ()));
132
132
            speed = _(" (%s/s)").printf (speed);
133
133
            string progress = "%d%%".printf( (int) (download.get_estimated_progress ()*100));
134
134
            if (is_finished (download))
158
158
            if (status == 0) {
159
159
                /* Link Fingerprint */
160
160
                #if HAVE_WEBKIT2
161
 
                string? original_uri = download.request.uri;
 
161
                string? original_uri = download.get_request ().uri;
162
162
                #else
163
163
                string? original_uri = download.network_request.get_data<string> ("midori-original-uri");
164
164
                if (original_uri == null)