Fix #1745 (Task details windows)

This commit is contained in:
Kovid Goyal 2009-01-31 16:33:09 -08:00
parent 24b8e1ba74
commit 7fd614ec15
2 changed files with 28 additions and 4 deletions

View File

@ -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>

View File

@ -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