summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXisco Fauli <anistenis@gmail.com>2011-07-25 19:03:28 +0200
committerXisco Fauli <anistenis@gmail.com>2011-07-25 19:03:28 +0200
commitea7fb6603108689044f5700cffce76a1fc328ced (patch)
tree0b0fbd7a2d7c2ccd12aa01cb6a024efd76509672
parenta3df4627dff9e9277f0960bc1b8a1736aedb8425 (diff)
Fix problem with listboxes
-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 3c4d6fae5..071d4cf4f 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 aec7ef291..060b73f37 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)