Remove all references to gui_name_base

This commit is contained in:
Charles Haley 2012-09-20 17:45:21 +02:00
parent 9dbe62c036
commit e51b3b5b33

View File

@ -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,