[Libreoffice-commits] .: Branch 'feature/gsoc2011_wizards' - wizards/com
Xisco Fauli
xfauli at kemper.freedesktop.org
Thu Jun 30 07:31:35 PDT 2011
wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py | 12 +++++-----
1 file changed, 6 insertions(+), 6 deletions(-)
New commits:
commit ef1f718736649734fe48cf7c25c0cd8369e14ad5
Author: Xisco Fauli <anistenis at gmail.com>
Date: Thu Jun 30 16:30:35 2011 +0200
Cancel button works now
diff --git a/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py b/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py
index cbd3b12..6f1a227 100644
--- a/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py
+++ b/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py
@@ -54,7 +54,7 @@ class LetterWizardDialogImpl(LetterWizardDialog):
lw.startWizard(xLocMSF, None)
def startWizard(self, xMSF, CurPropertyValue):
- LetterWizardDialogImpl.running = True
+ self.running = True
try:
#Number of steps on WizardDialog
self.nMaxStep = 6
@@ -120,16 +120,16 @@ class LetterWizardDialogImpl(LetterWizardDialog):
self.executeDialogFromComponent(self.myLetterDoc.xFrame)
self.removeTerminateListener()
self.closeDocument()
- LetterWizardDialogImpl.running = False
+ self.running = False
except Exception, exception:
self.removeTerminateListener()
traceback.print_exc()
- LetterWizardDialogImpl.running = False
+ self.running = False
return
def cancelWizard(self):
- xDialog.endExecute()
- LetterWizardDialogImpl.running = False
+ self.xUnoDialog.endExecute()
+ self.running = False
def finishWizard(self):
switchToStep(getCurrentStep(), getMaxStep())
@@ -195,7 +195,7 @@ class LetterWizardDialogImpl(LetterWizardDialog):
traceback.print_exc()
finally:
xDialog.endExecute()
- LetterWizardDialogImpl.running = False
+ self.running = False
return True;
More information about the Libreoffice-commits
mailing list