Minor change for release in information page
This commit is contained in:
parent
81e09a4d56
commit
0159b89194
@ -97,7 +97,7 @@ class SystemTrayIcon(QtGui.QSystemTrayIcon):
|
|||||||
v = open(path, 'r')
|
v = open(path, 'r')
|
||||||
version = v.read()
|
version = v.read()
|
||||||
a = self.FormattaInfo()
|
a = self.FormattaInfo()
|
||||||
version = "<ul><li>"+_("<font color=\"green\">open</font>mamba version:")+" <i>"+a[0]+"</i><li>"+_("Platform: ")+"<i>"+a[1]+"</i></ul>"
|
version = "<ul><li>"+_("<font color=\"green\">open</font>mamba release:")+" <i>"+a[0]+"</i><li>"+_("Platform: ")+"<i>"+a[1]+"</i></ul>"
|
||||||
v.close()
|
v.close()
|
||||||
else:
|
else:
|
||||||
version = "Error: Unable to find /etc/openmamba-release"
|
version = "Error: Unable to find /etc/openmamba-release"
|
||||||
@ -112,7 +112,7 @@ class SystemTrayIcon(QtGui.QSystemTrayIcon):
|
|||||||
result = []
|
result = []
|
||||||
v = version
|
v = version
|
||||||
#result[0]=versione
|
#result[0]=versione
|
||||||
result.append(v[ v.find("openmamba ")+10 : v.find(" for") ] + " " + v[ v.find("(") : v.find(")")+1 ])
|
result.append(v[ v.find("openmamba release ")+18 : v.find(" for") ] + " " + v[ v.find("(") : v.find(")")+1 ])
|
||||||
#result[1] = piattaforma
|
#result[1] = piattaforma
|
||||||
result.append(v[ v.find("for")+4 : v.find("(") ])
|
result.append(v[ v.find("for")+4 : v.find("(") ])
|
||||||
return result
|
return result
|
||||||
|
Loading…
Reference in New Issue
Block a user