Plugins/VcsPlugins/vcsPySvn/SvnUrlSelectionDialog.py

branch
Py2 comp.
changeset 3484
645c12de6b0c
parent 3178
f25fc1364c88
parent 3366
6084bb3c3911
child 3656
441956d8fce5
diff -r 96232974dcdb -r 645c12de6b0c Plugins/VcsPlugins/vcsPySvn/SvnUrlSelectionDialog.py
--- a/Plugins/VcsPlugins/vcsPySvn/SvnUrlSelectionDialog.py	Sun Mar 30 22:00:14 2014 +0200
+++ b/Plugins/VcsPlugins/vcsPySvn/SvnUrlSelectionDialog.py	Thu Apr 03 23:05:31 2014 +0200
@@ -54,8 +54,8 @@
         if reposURL is None:
             E5MessageBox.critical(
                 self,
-                self.trUtf8("Subversion Error"),
-                self.trUtf8(
+                self.tr("Subversion Error"),
+                self.tr(
                     """The URL of the project repository could not be"""
                     """ retrieved from the working copy. The operation will"""
                     """ be aborted"""))
@@ -68,8 +68,8 @@
             if not rx_base.exactMatch(reposURL):
                 E5MessageBox.critical(
                     self,
-                    self.trUtf8("Subversion Error"),
-                    self.trUtf8(
+                    self.tr("Subversion Error"),
+                    self.tr(
                         """The URL of the project repository has an"""
                         """ invalid format. The operation will"""
                         """ be aborted"""))
@@ -94,6 +94,9 @@
             self.labelCombo2.addItems([reposURL] + sorted(self.vcs.tagsList))
             self.labelCombo2.setEnabled(True)
         
+        msh = self.minimumSizeHint()
+        self.resize(max(self.width(), msh.width()), msh.height())
+        
     def __changeLabelCombo(self, labelCombo, type_):
         """
         Private method used to change the label combo depending on the

eric ide

mercurial