This commit is contained in:
Kovid Goyal 2014-11-13 12:36:58 +05:30
parent 8250e6b0c6
commit 703a82c951

View File

@ -438,7 +438,7 @@ class CopyToLibraryAction(InterfaceAction):
aname = _('Moving to') if delete_after else _('Copying to') aname = _('Moving to') if delete_after else _('Copying to')
dtitle = '%s %s'%(aname, os.path.basename(loc)) dtitle = '%s %s'%(aname, os.path.basename(loc))
self.pd = ProgressDialog(dtitle, min=0, max=len(ids)-1, self.pd = ProgressDialog(dtitle, min=0, max=len(ids)-1,
parent=self.gui, cancelable=False) parent=self.gui, cancelable=False, icon='lt.png')
def progress(idx, title): def progress(idx, title):
self.pd.set_msg(title) self.pd.set_msg(title)