(self, parent, fromname, toname)
| 320 | |
| 321 | class RemuxProgressDialog(ProgressDialog): |
| 322 | def __init__(self, parent, fromname, toname): |
| 323 | ProgressDialog.__init__(self, |
| 324 | "Writing to disk", |
| 325 | ('Writing the newly synchronized <b>%s</b> ' |
| 326 | 'to <b>%s</b>. This may take some time.' |
| 327 | % (fromname, toname)), |
| 328 | 'Starting media pipeline', |
| 329 | parent, |
| 330 | gtk.DIALOG_MODAL | gtk.DIALOG_DESTROY_WITH_PARENT, |
| 331 | (gtk.STOCK_CANCEL, CANCELLED, |
| 332 | gtk.STOCK_CLOSE, SUCCESS)) |
| 333 | self.set_completed(False) |
| 334 | |
| 335 | def update_position(self, pos, dur): |
| 336 | remaining = dur - pos |
nothing calls this directly
no test coverage detected