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:
Kovid Goyal 2011-04-18 14:42:45 -06:00
commit 9e5993c12a
2 changed files with 3 additions and 1 deletions

View File

@ -48,7 +48,7 @@ authors_completer_append_separator = False
# 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,
# 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
# Set which author field to display in the tags pane (the list of authors,

View File

@ -615,6 +615,7 @@ class DeviceMixin(object): # {{{
#: 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.
device_metadata_available = pyqtSignal()
device_connection_changed = pyqtSignal(object)
def __init__(self):
self.device_error_dialog = error_dialog(self, _('Error'),
@ -762,6 +763,7 @@ class DeviceMixin(object): # {{{
self.location_manager.update_devices()
self.library_view.set_device_connected(self.device_connected)
self.refresh_ondevice()
self.device_connection_changed.emit(connected)
def info_read(self, job):
'''