https://bugs.gpodder.org/show_bug.cgi?id=1500

--- Comment #7 from Thomas Perl <[email protected]> 2012-11-17 17:02:28 GMT ---
(In reply to comment #6)
> Now with the "Progress" tab in place and working for both the downloads and 
> the
> sync operations, I think we can implement this easily now?

As discussed today:

 - The container should have a method, e.g. "create_progress(title,
description)" that returns a "ExtensionProgress" object
 - The extension can call .set_progress(0.0 .. 1.0) on the ExtensionProgress
object
 - When the operation has finished, the extension can call .finished()
 - When the operation has failed, the extension can call .failed('a useful
error message') to report errors

To be discussed:

 - Do we want to support pausing the operation (like with downloads)? The
ExtensionProgress object could have a .is_paused() and .wait_for_resume()
method to pause the progress
 - Do we want to support cancelling the operation? .is_cancelled()?

-- 
Configure bugmail: https://bugs.gpodder.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
_______________________________________________
gPodder-Bugs mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/gpodder-bugs

Reply via email to