Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.3:Update
midori
midori-work-around-vala-storing-uint64-in-point...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File midori-work-around-vala-storing-uint64-in-pointer.patch of Package midori
Index: midori-0.4.8/midori/midori-download.vala =================================================================== --- midori-0.4.8.orig/midori/midori-download.vala +++ midori-0.4.8/midori/midori-download.vala @@ -88,12 +88,14 @@ namespace Midori { } string speed = ""; +#if 0 uint64 last_size = download.get_data<uint64> ("last-size"); if (elapsed != last_time) { speed = format_size ((uint64)( (current_size - last_size) / (elapsed - last_time))); } else +#endif /* i18n: Unknown number of bytes, used for transfer rate like ?B/s */ speed = _("?B"); /* i18n: Download tooltip (transfer rate): (130KB/s) */ @@ -101,7 +103,9 @@ namespace Midori { if (elapsed - last_time > 5.0) { download.set_data<int> ("last-time", (int)elapsed); +#if 0 download.set_data<uint64> ("last-size", current_size); +#endif } return "%s\n%s %s%s".printf (filename, size, speed, eta);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor