mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 18:24:30 -04:00
Change default algorithm for automatically computing author sort to be more intelligent and handle the case when the author name has a comma in it
This commit is contained in:
commit
9e5993c12a
@ -48,7 +48,7 @@ authors_completer_append_separator = False
|
|||||||
# When this tweak is changed, the author_sort values stored with each author
|
# When this tweak is changed, the author_sort values stored with each author
|
||||||
# must be recomputed by right-clicking on an author in the left-hand tags pane,
|
# must be recomputed by right-clicking on an author in the left-hand tags pane,
|
||||||
# selecting 'manage authors', and pressing 'Recalculate all author sort values'.
|
# selecting 'manage authors', and pressing 'Recalculate all author sort values'.
|
||||||
author_sort_copy_method = 'invert'
|
author_sort_copy_method = 'comma'
|
||||||
|
|
||||||
#: Use author sort in Tag Browser
|
#: Use author sort in Tag Browser
|
||||||
# Set which author field to display in the tags pane (the list of authors,
|
# Set which author field to display in the tags pane (the list of authors,
|
||||||
|
@ -615,6 +615,7 @@ class DeviceMixin(object): # {{{
|
|||||||
#: management might have kicked off a sync_booklists to write new metadata onto
|
#: management might have kicked off a sync_booklists to write new metadata onto
|
||||||
#: the device, and that job might still be running when the signal is emitted.
|
#: the device, and that job might still be running when the signal is emitted.
|
||||||
device_metadata_available = pyqtSignal()
|
device_metadata_available = pyqtSignal()
|
||||||
|
device_connection_changed = pyqtSignal(object)
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.device_error_dialog = error_dialog(self, _('Error'),
|
self.device_error_dialog = error_dialog(self, _('Error'),
|
||||||
@ -762,6 +763,7 @@ class DeviceMixin(object): # {{{
|
|||||||
self.location_manager.update_devices()
|
self.location_manager.update_devices()
|
||||||
self.library_view.set_device_connected(self.device_connected)
|
self.library_view.set_device_connected(self.device_connected)
|
||||||
self.refresh_ondevice()
|
self.refresh_ondevice()
|
||||||
|
self.device_connection_changed.emit(connected)
|
||||||
|
|
||||||
def info_read(self, job):
|
def info_read(self, job):
|
||||||
'''
|
'''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user