summaryrefslogtreecommitdiff
path: root/qt-recordmydesktop
diff options
context:
space:
mode:
authoriovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2007-06-18 15:33:38 +0000
committeriovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2007-06-18 15:33:38 +0000
commitfbc2e259710978e4c383b3dc7c9915f267884012 (patch)
treef31c380cc6a2c6292b41572252c9024830fc337b /qt-recordmydesktop
parentba18f209ad4395861f66c30c2c7cac8cd00fbf55 (diff)
rmdTrayIcon.py: Fixed character encoding issue(improper conversion)
that caused an exception and stopped the dialog with known exit codes appear (everything kept coming as unknown). git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@359 f606c939-3180-4ac9-a4b8-4b8779d57d0a
Diffstat (limited to 'qt-recordmydesktop')
-rw-r--r--qt-recordmydesktop/src/rmdTrayIcon.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/qt-recordmydesktop/src/rmdTrayIcon.py b/qt-recordmydesktop/src/rmdTrayIcon.py
index 6f96183..1d657b6 100644
--- a/qt-recordmydesktop/src/rmdTrayIcon.py
+++ b/qt-recordmydesktop/src/rmdTrayIcon.py
@@ -219,8 +219,9 @@ class trayIcon(object):
self.dialog = QtGui.QWidget()
self.label1=None
try:
- self.label1 = QtGui.QLabel("\t\t"+TrayIconStr['RecFinishedKnown']+
- ": %d\n"%(status)+TrayIconStr['ErrDesc']+":%s\n"%(rmdErrStr[int(status)]))
+ self.label1 = QtGui.QLabel("\t\t"+TrayIconStr['RecFinishedKnown'] +
+ ": %d\n"%(status) + TrayIconStr['ErrDesc'] + ":" +
+ (rmdErrStr[int(status)]) + "\n")
except:
self.label1 = QtGui.QLabel("\t\t"+TrayIconStr['RecFinishedUnknown']+": %d \n"%(status))
self.label1.setAlignment(QtCore.Qt.AlignHCenter)
© All Rights Reserved