summaryrefslogtreecommitdiff
path: root/wizards
diff options
context:
space:
mode:
authorXisco Fauli <anistenis@gmail.com>2011-07-25 19:03:28 +0200
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2011-08-18 02:57:43 +0200
commit449defd488eada72fb2f1fe24df662a7ea47e82d (patch)
tree119d7f6774002a4e1f8a2d4e15c0b80cc564b937 /wizards
parent7cfbea78dda9c0dc4bbd834f25c43a1cc00c996f (diff)
Fix problem with listboxes
Diffstat (limited to 'wizards')
-rw-r--r--wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.py3
-rw-r--r--wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py10
2 files changed, 8 insertions, 5 deletions
diff --git a/wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.py b/wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.py
index 3c4d6fae5e17..071d4cf4f0a7 100644
--- a/wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.py
+++ b/wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.py
@@ -84,11 +84,12 @@ class FaxWizardDialogImpl(FaxWizardDialog):
#special Control fFrameor setting the save Path:
self.insertPathSelectionControl()
+ self.initializeTemplates(xMSF)
+
#load the last used settings
#from the registry and apply listeners to the controls:
self.initConfiguration()
- self.initializeTemplates(xMSF)
if self.myPathSelection.xSaveTextBox.Text.lower() == "":
self.myPathSelection.initializePath()
diff --git a/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py b/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py
index aec7ef29160f..060b73f37a13 100644
--- a/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py
+++ b/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py
@@ -86,15 +86,18 @@ class LetterWizardDialogImpl(LetterWizardDialog):
#special Control fFrameor setting the save Path:
self.insertPathSelectionControl()
- #load the last used settings
- #from the registry and apply listeners to the controls:
- self.initConfiguration()
+ self.myConfig = CGLetterWizard()
oL = self.getOfficeLinguistic()
self.myConfig.cp_BusinessLetter.cp_Norm = oL
self.myConfig.cp_PrivateOfficialLetter.cp_Norm = oL
self.myConfig.cp_PrivateLetter.cp_Norm = oL
self.initializeTemplates(xMSF)
+
+ #load the last used settings
+ #from the registry and apply listeners to the controls:
+ self.initConfiguration()
+
if self.myConfig.cp_BusinessLetter.cp_Greeting == "":
self.myConfig.cp_BusinessLetter.cp_Greeting = \
self.resources.GreetingLabels[0]
@@ -1094,7 +1097,6 @@ class LetterWizardDialogImpl(LetterWizardDialog):
def initConfiguration(self):
try:
- self.myConfig = CGLetterWizard()
root = Configuration.getConfigurationRoot(
self.xMSF, "/org.openoffice.Office.Writer/Wizards/Letter",
False)