Updated openmamba website references and copyright year

This commit is contained in:
Silvan Calarco 2015-01-29 11:03:39 +01:00
parent 5b1e3e4254
commit f31a931b53

View File

@ -1,6 +1,6 @@
#!/usr/bin/python #!/usr/bin/python
# mambatray 2 # mambatray 2
# Copyright (C) 2011-2013 by Silvan Calarco # Copyright (C) 2011-2015 by Silvan Calarco
# Copyright (C) 2011 by michiamophil # Copyright (C) 2011 by michiamophil
# Distributed under the terms of the GPL version 3 FLOSS License # Distributed under the terms of the GPL version 3 FLOSS License
# #
@ -99,7 +99,7 @@ class SystemTrayIcon(QtGui.QSystemTrayIcon):
setProxyProcess = QtCore.QProcess(self) setProxyProcess = QtCore.QProcess(self)
pf = libproxy.ProxyFactory() pf = libproxy.ProxyFactory()
for protocol in ["http","https","ftp"]: for protocol in ["http","https","ftp"]:
proxies = pf.getProxies("%s://www.openmamba.org" % protocol) proxies = pf.getProxies("%s://openmamba.org" % protocol)
for proxy in proxies: for proxy in proxies:
if proxy == "direct://": if proxy == "direct://":
setProxyProcess.execute("smart",['config','--remove','%s_proxy' % protocol]) setProxyProcess.execute("smart",['config','--remove','%s_proxy' % protocol])
@ -125,10 +125,10 @@ class SystemTrayIcon(QtGui.QSystemTrayIcon):
version = _("Error: Unable to find /etc/openmamba-release") version = _("Error: Unable to find /etc/openmamba-release")
QtGui.QMessageBox.about(menu, _("About"), QtGui.QMessageBox.about(menu, _("About"),
"<center><b>"+_("openmamba control center")+"</b>" "<center><b>"+_("openmamba control center")+"</b>"
"<br><br>Copyright(c) 2011-2013 by Silvan Calarco" "<br><br>Copyright(c) 2011-2015 by Silvan Calarco"
"<br>Copyright(c) 2011 by michiamophil" "<br>Copyright(c) 2011 by michiamophil"
"<br><br><b>"+_("System info:")+"</b></center>" "<br><br><b>"+_("System info:")+"</b></center>"
""+_(version)+"<center><a href=\"http://www.openmamba.org\">http://www.openmamba.org</a></center>") ""+_(version)+"<center><a href=\"http://openmamba.org\">http://openmamba.org</a></center>")
def FormattaInfo(self): def FormattaInfo(self):
result = [] result = []