* morituri/common/task.py:
Add a __main__ example using DummyTask.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2009-04-20 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* morituri/common/task.py:
|
||||
Add a __main__ example using DummyTask.
|
||||
|
||||
2009-04-19 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* morituri/common/task.py:
|
||||
|
||||
@@ -248,3 +248,7 @@ class GtkProgressRunner(gtk.VBox, TaskRunner):
|
||||
self._progress.set_fraction(value)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
task = DummyTask()
|
||||
runner = SyncRunner()
|
||||
runner.run(task)
|
||||
|
||||
Reference in New Issue
Block a user