eric7/Preferences/ConfigurationPages/MimeTypesPage.py

branch
eric7
changeset 8356
68ec9c3d4de5
parent 8318
962bce857696
child 8358
144a6b854f70
equal deleted inserted replaced
8355:8a7677a63c8d 8356:68ec9c3d4de5
7 Module implementing the Text Mime Types configuration page. 7 Module implementing the Text Mime Types configuration page.
8 """ 8 """
9 9
10 from PyQt6.QtCore import pyqtSlot 10 from PyQt6.QtCore import pyqtSlot
11 11
12 from E5Gui import E5MessageBox 12 from E5Gui import EricMessageBox
13 13
14 from .ConfigurationPageBase import ConfigurationPageBase 14 from .ConfigurationPageBase import ConfigurationPageBase
15 from .Ui_MimeTypesPage import Ui_MimeTypesPage 15 from .Ui_MimeTypesPage import Ui_MimeTypesPage
16 16
17 import Preferences 17 import Preferences
53 @pyqtSlot() 53 @pyqtSlot()
54 def on_resetButton_clicked(self): 54 def on_resetButton_clicked(self):
55 """ 55 """
56 Private slot to set the default list of mime types. 56 Private slot to set the default list of mime types.
57 """ 57 """
58 ok = E5MessageBox.yesNo( 58 ok = EricMessageBox.yesNo(
59 self, 59 self,
60 self.tr("Reset Mime Types"), 60 self.tr("Reset Mime Types"),
61 self.tr("""Do you really want to reset the configured list of""" 61 self.tr("""Do you really want to reset the configured list of"""
62 """ mime types?""")) 62 """ mime types?"""))
63 if ok: 63 if ok:

eric ide

mercurial