mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #1745 (Task details windows)
This commit is contained in:
parent
24b8e1ba74
commit
7fd614ec15
@ -16,7 +16,7 @@
|
||||
<iconset resource="../images.qrc" >
|
||||
<normaloff>:/images/view.svg</normaloff>:/images/view.svg</iconset>
|
||||
</property>
|
||||
<layout class="QGridLayout" >
|
||||
<layout class="QGridLayout" name="gridLayout" >
|
||||
<item row="0" column="0" >
|
||||
<widget class="QPlainTextEdit" name="log" >
|
||||
<property name="undoRedoEnabled" >
|
||||
@ -30,10 +30,34 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0" >
|
||||
<widget class="QDialogButtonBox" name="buttonBox" >
|
||||
<property name="standardButtons" >
|
||||
<set>QDialogButtonBox::Ok</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<resources>
|
||||
<include location="../images.qrc" />
|
||||
</resources>
|
||||
<connections/>
|
||||
<connections>
|
||||
<connection>
|
||||
<sender>buttonBox</sender>
|
||||
<signal>accepted()</signal>
|
||||
<receiver>Dialog</receiver>
|
||||
<slot>accept()</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel" >
|
||||
<x>617</x>
|
||||
<y>442</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel" >
|
||||
<x>206</x>
|
||||
<y>-5</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
</connections>
|
||||
</ui>
|
||||
|
@ -485,14 +485,14 @@ def post_install():
|
||||
os.unlink(f)
|
||||
|
||||
def binary_install():
|
||||
manifest = os.path.join(sys.frozen_path, 'manifest')
|
||||
manifest = os.path.join(getattr(sys, 'frozen_path'), 'manifest')
|
||||
exes = [x.strip() for x in open(manifest).readlines()]
|
||||
print 'Creating symlinks...'
|
||||
for exe in exes:
|
||||
dest = os.path.join('/usr', 'bin', exe)
|
||||
if os.path.exists(dest):
|
||||
os.remove(dest)
|
||||
os.symlink(os.path.join(sys.frozen_path, exe), dest)
|
||||
os.symlink(os.path.join(getattr(sys, 'frozen_path'), exe), dest)
|
||||
post_install()
|
||||
return 0
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user