This commit is contained in:
Kovid Goyal 2012-09-20 21:38:19 +05:30
commit 7fb9f21d0e
4 changed files with 4 additions and 6 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 101 KiB

View File

@ -171,10 +171,10 @@ class SDBook(Book):
class SMART_DEVICE_APP(DeviceConfig, DevicePlugin):
name = 'SmartDevice App Interface'
gui_name = gui_name_base = _('Wireless Device')
gui_name = _('Wireless Device')
gui_name_template = '%s: %s'
icon = I('devices/galaxy_s3.png')
icon = I('devices/tablet.png')
description = _('Communicate with Smart Device apps')
supported_platforms = ['windows', 'osx', 'linux']
author = 'Charles Haley'
@ -1056,12 +1056,10 @@ class SMART_DEVICE_APP(DeviceConfig, DevicePlugin):
def eject(self):
self._debug()
self._close_device_socket()
self.gui_name = self.gui_name_base
@synchronous('sync_lock')
def post_yank_cleanup(self):
self._debug()
self.gui_name = self.gui_name_base
@synchronous('sync_lock')
def upload_books(self, files, names, on_card=None, end_session=True,

View File

@ -89,7 +89,7 @@ class Browser(QDialog):
self.setMinimumSize(QSize(500, 500))
self.folders.selected.connect(self.accept)
self.setWindowTitle(_('Choose folder on device'))
self.setWindowIcon(QIcon(I('devices/galaxy_s3.png')))
self.setWindowIcon(QIcon(I('devices/tablet.png')))
@property
def current_item(self):

View File

@ -15,7 +15,7 @@
</property>
<property name="windowIcon">
<iconset resource="../../../../resources/images.qrc">
<normaloff>:/images/devices/galaxy_s3.png</normaloff>:/images/devices/galaxy_s3.png</iconset>
<normaloff>:/images/devices/tablet.png</normaloff>:/images/devices/tablet.png</iconset>
</property>
<layout class="QGridLayout">
<item row="0" column="0" colspan="3">