eric7/Snapshot/SnapshotWaylandGrabber.py

branch
eric7
changeset 8356
68ec9c3d4de5
parent 8318
962bce857696
child 8358
144a6b854f70
--- a/eric7/Snapshot/SnapshotWaylandGrabber.py	Sat May 22 17:01:51 2021 +0200
+++ b/eric7/Snapshot/SnapshotWaylandGrabber.py	Sat May 22 18:51:46 2021 +0200
@@ -21,7 +21,7 @@
 except ImportError:
     DBusAvailable = False
 
-from E5Gui import E5MessageBox
+from E5Gui import EricMessageBox
 
 from .SnapshotModes import SnapshotModes
 
@@ -327,7 +327,7 @@
             if len(reply.arguments()) == argumentsCount:
                 return True
             
-            E5MessageBox.warning(
+            EricMessageBox.warning(
                 None,
                 self.tr("Screenshot Error"),
                 self.tr("<p>Received an unexpected number of reply arguments."
@@ -337,7 +337,7 @@
                 ))
         
         elif reply.type() == QDBusMessage.MessageType.ErrorMessage:
-            E5MessageBox.warning(
+            EricMessageBox.warning(
                 None,
                 self.tr("Screenshot Error"),
                 self.tr("<p>Received error <b>{0}</b> from DBus while"
@@ -347,13 +347,13 @@
                 ))
         
         elif reply.type() == QDBusMessage.MessageType.InvalidMessage:
-            E5MessageBox.warning(
+            EricMessageBox.warning(
                 None,
                 self.tr("Screenshot Error"),
                 self.tr("Received an invalid reply."))
         
         else:
-            E5MessageBox.warning(
+            EricMessageBox.warning(
                 None,
                 self.tr("Screenshot Error"),
                 self.tr("Received an unexpected reply."))

eric ide

mercurial