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):
|
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/tablet.png')
|
||||||
description = _('Communicate with Smart Device apps')
|
description = _('Communicate with Smart Device apps')
|
||||||
supported_platforms = ['windows', 'osx', 'linux']
|
supported_platforms = ['windows', 'osx', 'linux']
|
||||||
author = 'Charles Haley'
|
author = 'Charles Haley'
|
||||||
@ -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,
|
||||||
|
@ -89,7 +89,7 @@ class Browser(QDialog):
|
|||||||
self.setMinimumSize(QSize(500, 500))
|
self.setMinimumSize(QSize(500, 500))
|
||||||
self.folders.selected.connect(self.accept)
|
self.folders.selected.connect(self.accept)
|
||||||
self.setWindowTitle(_('Choose folder on device'))
|
self.setWindowTitle(_('Choose folder on device'))
|
||||||
self.setWindowIcon(QIcon(I('devices/galaxy_s3.png')))
|
self.setWindowIcon(QIcon(I('devices/tablet.png')))
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def current_item(self):
|
def current_item(self):
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
</property>
|
</property>
|
||||||
<property name="windowIcon">
|
<property name="windowIcon">
|
||||||
<iconset resource="../../../../resources/images.qrc">
|
<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>
|
</property>
|
||||||
<layout class="QGridLayout">
|
<layout class="QGridLayout">
|
||||||
<item row="0" column="0" colspan="3">
|
<item row="0" column="0" colspan="3">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user