mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-24 06:56:13 +01:00
...
This commit is contained in:
commit
7fb9f21d0e
4 changed files with 4 additions and 6 deletions
Binary file not shown.
|
Before Width: | Height: | Size: 101 KiB |
|
|
@ -171,10 +171,10 @@ def __init__(self, prefix, lpath, size=None, other=None):
|
|||
|
||||
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 @@ def sync_booklists(self, booklists, end_session=True):
|
|||
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 @@ def __init__(self, filesystem_cache, show_files=True, parent=None):
|
|||
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…
Reference in a new issue