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" >
|
<iconset resource="../images.qrc" >
|
||||||
<normaloff>:/images/view.svg</normaloff>:/images/view.svg</iconset>
|
<normaloff>:/images/view.svg</normaloff>:/images/view.svg</iconset>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QGridLayout" >
|
<layout class="QGridLayout" name="gridLayout" >
|
||||||
<item row="0" column="0" >
|
<item row="0" column="0" >
|
||||||
<widget class="QPlainTextEdit" name="log" >
|
<widget class="QPlainTextEdit" name="log" >
|
||||||
<property name="undoRedoEnabled" >
|
<property name="undoRedoEnabled" >
|
||||||
@ -30,10 +30,34 @@
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
<item row="1" column="0" >
|
||||||
|
<widget class="QDialogButtonBox" name="buttonBox" >
|
||||||
|
<property name="standardButtons" >
|
||||||
|
<set>QDialogButtonBox::Ok</set>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
<resources>
|
<resources>
|
||||||
<include location="../images.qrc" />
|
<include location="../images.qrc" />
|
||||||
</resources>
|
</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>
|
</ui>
|
||||||
|
@ -485,14 +485,14 @@ def post_install():
|
|||||||
os.unlink(f)
|
os.unlink(f)
|
||||||
|
|
||||||
def binary_install():
|
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()]
|
exes = [x.strip() for x in open(manifest).readlines()]
|
||||||
print 'Creating symlinks...'
|
print 'Creating symlinks...'
|
||||||
for exe in exes:
|
for exe in exes:
|
||||||
dest = os.path.join('/usr', 'bin', exe)
|
dest = os.path.join('/usr', 'bin', exe)
|
||||||
if os.path.exists(dest):
|
if os.path.exists(dest):
|
||||||
os.remove(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()
|
post_install()
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user