Fix #6368 (Using Calibre on Ubuntu Netbook remix)

This commit is contained in:
Kovid Goyal 2010-08-06 11:40:12 -06:00
parent a6300af2ea
commit b6e19d859f
2 changed files with 6 additions and 29 deletions

View File

@ -29,6 +29,8 @@ from calibre.utils.config import dynamic, prefs
from calibre.gui2 import NONE, choose_dir, error_dialog
from calibre.gui2.dialogs.progress import ProgressDialog
# Devices {{{
class Device(object):
output_profile = 'default'
@ -209,6 +211,7 @@ class EZReaderPP(HanlinV5):
manufacturer = 'Astak'
id = 'ezreader_pp'
# }}}
def get_devices():
for x in globals().values():

View File

@ -37,8 +37,8 @@
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>56</height>
<width>0</width>
<height>0</height>
</size>
</property>
</spacer>
@ -46,7 +46,7 @@
<item>
<widget class="QLabel" name="label_2">
<property name="text">
<string>&lt;h2&gt;Demo videos&lt;/h2&gt;Videos demonstrating the various features of calibre are available &lt;a href=&quot;http://calibre-ebook.com/demo&quot;&gt;online&lt;/a&gt;.</string>
<string>&lt;h2&gt;Demo videos&lt;/h2&gt;Videos demonstrating the various features of calibre are available &lt;a href=&quot;http://calibre-ebook.com/demo&quot;&gt;online&lt;/a&gt;.</string>
</property>
<property name="wordWrap">
<bool>true</bool>
@ -59,19 +59,6 @@
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer_2">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>56</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="label_3">
<property name="text">
@ -88,19 +75,6 @@
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer_3">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<resources/>