mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-06-04 21:15:24 -04:00
Add status tips to copy to library actions
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user