From eaf6c1a6177ee9befe776f26aced2c2f1b4c818d Mon Sep 17 00:00:00 2001 From: Xisco Fauli Date: Fri, 18 Jan 2013 19:31:11 +0100 Subject: pyagenda: setControlProperty doesn't exist anymore Change-Id: Idf5bdb2ceb93a9dbdb3dd340e57079f8a6e47a2e --- wizards/com/sun/star/wizards/agenda/AgendaWizardDialogImpl.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'wizards/com') 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( -- cgit