mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Remove all references to gui_name_base
This commit is contained in:
parent
9dbe62c036
commit
e51b3b5b33
@ -171,7 +171,7 @@ class SDBook(Book):
|
|||||||
|
|
||||||
class SMART_DEVICE_APP(DeviceConfig, DevicePlugin):
|
class SMART_DEVICE_APP(DeviceConfig, DevicePlugin):
|
||||||
name = 'SmartDevice App Interface'
|
name = 'SmartDevice App Interface'
|
||||||
gui_name = gui_name_base = _('Wireless Device')
|
gui_name = _('Wireless Device')
|
||||||
gui_name_template = '%s: %s'
|
gui_name_template = '%s: %s'
|
||||||
|
|
||||||
icon = I('devices/galaxy_s3.png')
|
icon = I('devices/galaxy_s3.png')
|
||||||
@ -1056,12 +1056,10 @@ class SMART_DEVICE_APP(DeviceConfig, DevicePlugin):
|
|||||||
def eject(self):
|
def eject(self):
|
||||||
self._debug()
|
self._debug()
|
||||||
self._close_device_socket()
|
self._close_device_socket()
|
||||||
self.gui_name = self.gui_name_base
|
|
||||||
|
|
||||||
@synchronous('sync_lock')
|
@synchronous('sync_lock')
|
||||||
def post_yank_cleanup(self):
|
def post_yank_cleanup(self):
|
||||||
self._debug()
|
self._debug()
|
||||||
self.gui_name = self.gui_name_base
|
|
||||||
|
|
||||||
@synchronous('sync_lock')
|
@synchronous('sync_lock')
|
||||||
def upload_books(self, files, names, on_card=None, end_session=True,
|
def upload_books(self, files, names, on_card=None, end_session=True,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user