diff --git a/src/mambatray b/src/mambatray index 5a82995..130bbc8 100755 --- a/src/mambatray +++ b/src/mambatray @@ -5,6 +5,7 @@ # Distributed under the terms of the GPL version 3 FLOSS License # import sys +import os import gettext from PyQt4.QtCore import SIGNAL from PyQt4 import QtGui @@ -15,7 +16,7 @@ class SystemTrayIcon(QtGui.QSystemTrayIcon): def __init__(self, icon, parent=None): global w, menu, contatore, srpm, lista, NetsrpmsArg, nOre nOre = 2 - srpm = ["skype", "flashplugin", "win32codecs"] + srpm = ["skype", "flashplugin", "win32codecs", "msttcorefonts", "b43-firmware"] NetsrpmsArg = "-c" lista = [] contatore = 0 @@ -90,10 +91,31 @@ class SystemTrayIcon(QtGui.QSystemTrayIcon): menu.popup(self.geometry().center()) def about(self): + global version + path = '/etc/openmamba-release' + if os.path.exists(path): + v = open(path, 'r') + version = v.read() + a = self.FormattaInfo() + version = "