adjust to LibreOffice 4.2 MessageBox API
diff --git a/TuesdayPython/TuesdayPrinter.py b/TuesdayPython/TuesdayPrinter.py
index f4cebc7..a5f3144 100644
--- a/TuesdayPython/TuesdayPrinter.py
+++ b/TuesdayPython/TuesdayPrinter.py
@@ -36,8 +36,7 @@
window = frame.ContainerWindow
window.Toolkit.createMessageBox(
window,
uno.createUnoStruct("com.sun.star.awt.Rectangle"),
"warningbox",
uno.Enum('com.sun.star.awt.MessageBoxType', 'WARNINGBOX'),
uno.getConstantByName("com.sun.star.awt.MessageBoxButtons.BUTTONS_OK"),
"Im sorry, Dave.",
"Im afraid I cant do that. It is not Tuesday.").execute()
diff --git a/TuesdayPython/description.xml b/TuesdayPython/description.xml
index 3004792..f66054c 100644
--- a/TuesdayPython/description.xml
+++ b/TuesdayPython/description.xml
@@ -11,8 +11,8 @@
<extension-description>
<src xlink:href="description/description_en.txt"/>
</extension-description>
<dependencies>
<OpenOffice.org-minimal-version xmlns:d="http://openoffice.org/extensions/description/2006" d:name="LibreOffice 3.3" value="3.3"/>
<dependencies xmlns:lo="http://libreoffice.org/extensions/description/2011">
<lo:LibreOffice-minimal-version name="LibreOffice 4.2" value="4.2"/>
</dependencies>
<publisher>
<name xlink:href="http://skyfromme.wordpress.com/2013/04/01/libreoffice-prints-on-tuesdays-only">Bjoern Michaelsen</name>