summaryrefslogtreecommitdiff
path: root/wizards
diff options
context:
space:
mode:
authorXisco Fauli <anistenis@gmail.com>2013-01-18 19:31:11 +0100
committerXisco Fauli <anistenis@gmail.com>2013-01-20 21:07:51 +0100
commiteaf6c1a6177ee9befe776f26aced2c2f1b4c818d (patch)
tree822b94ace9f88546ce4bbfb2129d031cc4170a3e /wizards
parent3207c85fc957a347aaf78e7328a52d85edab0f72 (diff)
pyagenda: setControlProperty doesn't exist anymore
Change-Id: Idf5bdb2ceb93a9dbdb3dd340e57079f8a6e47a2e
Diffstat (limited to 'wizards')
-rw-r--r--wizards/com/sun/star/wizards/agenda/AgendaWizardDialogImpl.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/wizards/com/sun/star/wizards/agenda/AgendaWizardDialogImpl.py b/wizards/com/sun/star/wizards/agenda/AgendaWizardDialogImpl.py
index bf6b7775f4aa..fa4da1becebc 100644
--- a/wizards/com/sun/star/wizards/agenda/AgendaWizardDialogImpl.py
+++ b/wizards/com/sun/star/wizards/agenda/AgendaWizardDialogImpl.py
@@ -153,9 +153,8 @@ class AgendaWizardDialogImpl(AgendaWizardDialog):
self.xMSF, "/org.openoffice.Office.Writer/Wizards/Agenda", False)
self.agenda.readConfiguration(root, "cp_")
- self.setControlProperty(
- "listPageDesign", "StringItemList",
- tuple(self.agendaTemplates[0]))
+ self.xDialogModel.listPageDesign.StringItemList = \
+ tuple(self.agendaTemplates[0])
UnoDataAware.attachListBox(
self.agenda, "cp_AgendaType", self.listPageDesign, True).updateUI()
UnoDataAware.attachCheckBox(