A little fix to the web browser error page. 5_2_x

Sun, 12 Feb 2012 16:53:58 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 12 Feb 2012 16:53:58 +0100
branch
5_2_x
changeset 1618
b3cddb1f9a7a
parent 1617
a4657d015cee (current diff)
parent 1614
adb338dc0d7f (diff)
child 1624
8ee7b8ac87c0

A little fix to the web browser error page.

--- a/Plugins/VcsPlugins/vcsMercurial/ProjectHelper.py	Sun Feb 12 16:53:32 2012 +0100
+++ b/Plugins/VcsPlugins/vcsMercurial/ProjectHelper.py	Sun Feb 12 16:53:58 2012 +0100
@@ -838,7 +838,7 @@
         
         self.hgExportAct = E5Action(self.trUtf8('Export Patches'),
                 self.trUtf8('Export Patches...'),
-                0, 0, self, 'mercurial_import')
+                0, 0, self, 'mercurial_export')
         self.hgExportAct.setStatusTip(self.trUtf8(
             'Export revisions to patch files'
         ))
--- a/UI/UserInterface.py	Sun Feb 12 16:53:32 2012 +0100
+++ b/UI/UserInterface.py	Sun Feb 12 16:53:58 2012 +0100
@@ -5735,7 +5735,7 @@
         try:
             if "-snapshot-" in Version:
                 # check snapshot version
-                if versions[2] > Version:
+                if versions[2][0] == "5" and versions[2] > Version:
                     res = E5MessageBox.yesNo(self,
                         self.trUtf8("Update available"),
                         self.trUtf8("""The update to <b>{0}</b> of eric5 is available"""

eric ide

mercurial