mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-04-12 04:02:12 -04:00
Add status tips to copy to library actions
This commit is contained in:
parent
bd4d9390bc
commit
f8df3d90db
@ -383,9 +383,10 @@ class CopyToLibraryAction(InterfaceAction):
|
||||
ic = library_qicon(name)
|
||||
name = name.replace('&', '&&')
|
||||
self.menu.addAction(ic, name, partial(self.copy_to_library,
|
||||
loc))
|
||||
loc)).setStatusTip(_('Copy to: {}').format(loc))
|
||||
self.menu.addAction(ic, name + ' ' + _('(delete after copy)'),
|
||||
partial(self.copy_to_library, loc, delete_after=True))
|
||||
partial(self.copy_to_library, loc, delete_after=True)).setStatusTip(
|
||||
_('Move to: {}').format(loc))
|
||||
self.menu.addSeparator()
|
||||
if len(locations) <= 5:
|
||||
self.menu.addAction(_('Choose library...'), self.choose_library)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user