Grammalecte  Check-in [ba7c03de83]

Overview
Comment:[lo] dictionaries options: remove print
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | lo | multid
Files: files | file ages | folders
SHA3-256: ba7c03de83fbfd0be136ffcba35ab2c06bf7a28058cc80af100f748ceb8ac15f
User & Date: olr on 2018-02-19 18:06:04
Other Links: branch diff | manifest | tags
Context
2018-02-23
21:00
merge trunk check-in: af32e20bdb user: olr tags: multid
2018-02-19
18:06
[lo] dictionaries options: remove print check-in: ba7c03de83 user: olr tags: lo, multid
17:09
[lo] move helpers.py from gc_lang to core check-in: 877ad25492 user: olr tags: lo, multid
Changes

Modified gc_lang/fr/oxt/DictOptions/DictOptions.py from [f2a4dbbf81] to [0df543aa25].

139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
        try:
            dialog = DictOptions(self.ctx)
            dialog.run()
        except:
            traceback.print_exc()

    def _loadOptions (self):
        print("load options")
        try:
            xChild = self.xSettingNode.getByName("o_fr")
            self.xGraphspell.State = xChild.getPropertyValue("graphspell")
            self.xGraphspellSugg.State = xChild.getPropertyValue("graphspellsugg")
            #self.xExtendedDic.State = xChild.getPropertyValue("extended_dic")
            self.xPersonalDic.State = xChild.getPropertyValue("personal_dic")
        except:
            traceback.print_exc()


#g_ImplementationHelper = unohelper.ImplementationHelper()
#g_ImplementationHelper.addImplementation(DictOptions, 'net.grammalecte.graphspell.DictOptions', ('com.sun.star.task.Job',))







<












139
140
141
142
143
144
145

146
147
148
149
150
151
152
153
154
155
156
157
        try:
            dialog = DictOptions(self.ctx)
            dialog.run()
        except:
            traceback.print_exc()

    def _loadOptions (self):

        try:
            xChild = self.xSettingNode.getByName("o_fr")
            self.xGraphspell.State = xChild.getPropertyValue("graphspell")
            self.xGraphspellSugg.State = xChild.getPropertyValue("graphspellsugg")
            #self.xExtendedDic.State = xChild.getPropertyValue("extended_dic")
            self.xPersonalDic.State = xChild.getPropertyValue("personal_dic")
        except:
            traceback.print_exc()


#g_ImplementationHelper = unohelper.ImplementationHelper()
#g_ImplementationHelper.addImplementation(DictOptions, 'net.grammalecte.graphspell.DictOptions', ('com.sun.star.task.Job',))