eric6/WebBrowser/WebBrowserWindow.py

changeset 8265
0090cfa83159
parent 8260
2161475d9639
child 8273
698ae46f40a4
child 8560
532068b0edb4
--- a/eric6/WebBrowser/WebBrowserWindow.py	Mon Apr 26 17:33:08 2021 +0200
+++ b/eric6/WebBrowser/WebBrowserWindow.py	Tue Apr 27 17:25:06 2021 +0200
@@ -3161,10 +3161,12 @@
         """
         Private slot to set the preferences.
         """
-        from Preferences.ConfigurationDialog import ConfigurationDialog
+        from Preferences.ConfigurationDialog import (
+            ConfigurationDialog, ConfigurationMode
+        )
         dlg = ConfigurationDialog(
             self, 'Configuration', True, fromEric=False,
-            displayMode=ConfigurationDialog.WebBrowserMode)
+            displayMode=ConfigurationMode.WEBBROWSERMODE)
         dlg.preferencesChanged.connect(self.preferencesChanged)
         dlg.masterPasswordChanged.connect(
             lambda old, new: self.masterPasswordChanged(old, new, local=True))
@@ -4685,7 +4687,7 @@
     
     @classmethod
     def showNotification(cls, icon, heading, text,
-                         kind=NotificationTypes.Information, timeout=None):
+                         kind=NotificationTypes.INFORMATION, timeout=None):
         """
         Class method to show a desktop notification.
         

eric ide

mercurial