Plugins/VcsPlugins/vcsPySvn/SvnStatusDialog.py

changeset 536
6d8d39753c82
parent 495
b31b0bffa5b0
child 564
b3d966393ba9
--- a/Plugins/VcsPlugins/vcsPySvn/SvnStatusDialog.py	Mon Aug 30 19:03:34 2010 +0200
+++ b/Plugins/VcsPlugins/vcsPySvn/SvnStatusDialog.py	Mon Aug 30 20:16:34 2010 +0200
@@ -15,6 +15,7 @@
 from PyQt4.QtGui import *
 
 from E5Gui.E5Application import e5App
+from E5Gui import E5MessageBox
 
 from .SvnConst import svnStatusMap
 from .SvnDialogMixin import SvnDialogMixin
@@ -387,7 +388,7 @@
         names = [os.path.join(self.dname, itm.text(self.__pathColumn)) \
                  for itm in self.__getModifiedItems()]
         if not names:
-            QMessageBox.information(self,
+            E5MessageBox.information(self,
                 self.trUtf8("Commit"),
                 self.trUtf8("""There are no uncommitted changes available/selected."""))
             return
@@ -413,7 +414,7 @@
         names = [os.path.join(self.dname, itm.text(self.__pathColumn)) \
                  for itm in self.__getUnversionedItems()]
         if not names:
-            QMessageBox.information(self,
+            E5MessageBox.information(self,
                 self.trUtf8("Add"),
                 self.trUtf8("""There are no unversioned entries available/selected."""))
             return
@@ -433,7 +434,7 @@
         names = [os.path.join(self.dname, itm.text(self.__pathColumn)) \
                  for itm in self.__getModifiedItems()]
         if not names:
-            QMessageBox.information(self,
+            E5MessageBox.information(self,
                 self.trUtf8("Revert"),
                 self.trUtf8("""There are no uncommitted changes available/selected."""))
             return
@@ -453,7 +454,7 @@
         names = [os.path.join(self.dname, itm.text(self.__pathColumn)) \
                  for itm in self.__getLockActionItems(self.unlockedIndicators)]
         if not names:
-            QMessageBox.information(self,
+            E5MessageBox.information(self,
                 self.trUtf8("Lock"),
                 self.trUtf8("""There are no unlocked files available/selected."""))
             return
@@ -468,7 +469,7 @@
         names = [os.path.join(self.dname, itm.text(self.__pathColumn)) \
                  for itm in self.__getLockActionItems(self.lockedIndicators)]
         if not names:
-            QMessageBox.information(self,
+            E5MessageBox.information(self,
                 self.trUtf8("Unlock"),
                 self.trUtf8("""There are no locked files available/selected."""))
             return
@@ -483,7 +484,7 @@
         names = [os.path.join(self.dname, itm.text(self.__pathColumn)) \
                  for itm in self.__getLockActionItems(self.stealBreakLockIndicators)]
         if not names:
-            QMessageBox.information(self,
+            E5MessageBox.information(self,
                 self.trUtf8("Break Lock"),
                 self.trUtf8("""There are no locked files available/selected."""))
             return
@@ -498,7 +499,7 @@
         names = [os.path.join(self.dname, itm.text(self.__pathColumn)) \
                  for itm in self.__getLockActionItems(self.stealBreakLockIndicators)]
         if not names:
-            QMessageBox.information(self,
+            E5MessageBox.information(self,
                 self.trUtf8("Steal Lock"),
                 self.trUtf8("""There are no locked files available/selected."""))
             return
@@ -513,7 +514,7 @@
         names = [os.path.join(self.dname, itm.text(self.__pathColumn)) \
                  for itm in self.__getNonChangelistItems()]
         if not names:
-            QMessageBox.information(self,
+            E5MessageBox.information(self,
                 self.trUtf8("Remove from Changelist"),
                 self.trUtf8(
                     """There are no files available/selected not """
@@ -531,7 +532,7 @@
         names = [os.path.join(self.dname, itm.text(self.__pathColumn)) \
                  for itm in self.__getChangelistItems()]
         if not names:
-            QMessageBox.information(self,
+            E5MessageBox.information(self,
                 self.trUtf8("Remove from Changelist"),
                 self.trUtf8(
                     """There are no files available/selected belonging to a changelist."""
@@ -600,4 +601,4 @@
         for itm in self.statusList.selectedItems():
             if not itm.text(self.__changelistColumn):
                 clitems.append(itm)
-        return clitems
+        return clitems
\ No newline at end of file

eric ide

mercurial