mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
...
This commit is contained in:
commit
7fb9f21d0e
Binary file not shown.
Before Width: | Height: | Size: 101 KiB |
@ -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,
|
||||
|
@ -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):
|
||||
|
@ -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">
|
||||
|
Loading…
x
Reference in New Issue
Block a user