Grammalecte  Diff

Differences From Artifact [95fd6d10c1]:

To Artifact [f06cffc0e3]:


135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
        except:
            traceback.print_exc()

    def execute (self, args):
        if not args:
            return
        try:
            # what version of the software?
            xSettings = helpers.getConfigSetting("org.openoffice.Setup/Product", False)
            sProdName = xSettings.getByName("ooName")
            sVersion = xSettings.getByName("ooSetupVersion")
            if (sProdName == "LibreOffice" and sVersion < "4") or sProdName == "OpenOffice.org":
                return

            # what event?
            bCorrectEvent = False
            for arg in args:
                if arg.Name == "Environment":







<
<
<
|







135
136
137
138
139
140
141



142
143
144
145
146
147
148
149
        except:
            traceback.print_exc()

    def execute (self, args):
        if not args:
            return
        try:



            sProdName, sVersion = helpers.getProductNameAndVersion()
            if (sProdName == "LibreOffice" and sVersion < "4") or sProdName == "OpenOffice.org":
                return

            # what event?
            bCorrectEvent = False
            for arg in args:
                if arg.Name == "Environment":