eric6/ViewManager/ViewManager.py

changeset 7955
567f2ec958c3
parent 7923
91e843545d9a
child 8000
47b15df088e4
equal deleted inserted replaced
7954:d32319ede131 7955:567f2ec958c3
6625 """ could not be written.</p>""" 6625 """ could not be written.</p>"""
6626 """<p>Reason: {1}</p>""").format( 6626 """<p>Reason: {1}</p>""").format(
6627 dictionaryFile, str(err))) 6627 dictionaryFile, str(err)))
6628 return 6628 return
6629 6629
6630 if self.ui.notificationsEnabled(): 6630 self.ui.showNotification(
6631 self.ui.showNotification( 6631 UI.PixmapCache.getPixmap("spellchecking48"),
6632 UI.PixmapCache.getPixmap("spellchecking48"), 6632 QCoreApplication.translate(
6633 QCoreApplication.translate( 6633 'ViewManager', "Edit Spelling Dictionary"),
6634 'ViewManager', "Edit Spelling Dictionary"), 6634 QCoreApplication.translate(
6635 QCoreApplication.translate( 6635 'ViewManager',
6636 'ViewManager', 6636 "The spelling dictionary was saved successfully."))
6637 "The spelling dictionary was saved successfully."))
6638 6637
6639 ################################################################## 6638 ##################################################################
6640 ## Below are general utility methods 6639 ## Below are general utility methods
6641 ################################################################## 6640 ##################################################################
6642 6641

eric ide

mercurial