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

View File

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