PluginManager/PluginRepositoryDialog.py

changeset 537
72b32daeb8d6
parent 536
6d8d39753c82
child 539
87f9bce38a44
diff -r 6d8d39753c82 -r 72b32daeb8d6 PluginManager/PluginRepositoryDialog.py
--- a/PluginManager/PluginRepositoryDialog.py	Mon Aug 30 20:16:34 2010 +0200
+++ b/PluginManager/PluginRepositoryDialog.py	Tue Aug 31 12:17:02 2010 +0200
@@ -265,7 +265,7 @@
                 dtdLine = f.readline()
                 f.close()
             except IOError:
-                QMessageBox.critical(None,
+                E5MessageBox.critical(self,
                     self.trUtf8("Read plugins repository file"),
                     self.trUtf8("<p>The plugins repository file <b>{0}</b> "
                                 "could not be read. Select Update</p>")\
@@ -295,7 +295,7 @@
                     finally:
                         f.close()
                 except IOError:
-                    QMessageBox.critical(None,
+                    E5MessageBox.critical(self,
                         self.trUtf8("Read plugins repository file"),
                         self.trUtf8("<p>The plugins repository file <b>{0}</b> "
                                     "could not be read. Select Update</p>")\
@@ -311,7 +311,7 @@
                 self.repositoryList.resizeColumnToContents(2)
                 self.__resortRepositoryList()
             else:
-                QMessageBox.critical(None,
+                E5MessageBox.critical(self,
                     self.trUtf8("Read plugins repository file"),
                     self.trUtf8("<p>The plugins repository file <b>{0}</b> "
                                 "has an unsupported format.</p>")\
@@ -595,7 +595,7 @@
         args += self.cw.getDownloadedPlugins()
         
         if not os.path.isfile(applPath) or not proc.startDetached(sys.executable, args):
-            QMessageBox.critical(self,
+            E5MessageBox.critical(self,
                 self.trUtf8('Process Generation Error'),
                 self.trUtf8(
                     '<p>Could not start the process.<br>'

eric ide

mercurial