[X2Go-Commits] pyhoca-gui.git - twofactorauth (branch) updated: 0.0.34.0-29-g6df9c60
X2Go dev team
git-admin at x2go.org
Sat Sep 14 15:55:04 CEST 2013
The branch, twofactorauth has been updated
via 6df9c606d0d33a83360313ffa69c7b96db3e471a (commit)
from 7211b53e3c828f3778d16210e3e9ff262d35543b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
pyhoca-gui | 2 +-
pyhoca/wxgui/frontend.py | 4 +++-
pyhoca/wxgui/menus_taskbar.py | 2 +-
3 files changed, 5 insertions(+), 3 deletions(-)
The diff of changes is:
diff --git a/pyhoca-gui b/pyhoca-gui
index 6047c42..e41d346 100755
--- a/pyhoca-gui
+++ b/pyhoca-gui
@@ -316,7 +316,7 @@ def main():
sys.stderr.write("\n###############################\n### %s: already running for user %s\n###############################\n" % (PROG_NAME, _CURRENT_LOCAL_USER))
version()
try:
- thisPyHocaGUI = PyHocaGUI(args, logger, liblogger)
+ thisPyHocaGUI = PyHocaGUI(args, logger, liblogger, version=VERSION)
thisPyHocaGUI.MainLoop()
except KeyboardInterrupt:
thisPyHocaGUI.ExitMainLoop()
diff --git a/pyhoca/wxgui/frontend.py b/pyhoca/wxgui/frontend.py
index abede9e..f33d494 100644
--- a/pyhoca/wxgui/frontend.py
+++ b/pyhoca/wxgui/frontend.py
@@ -70,13 +70,15 @@ class PyHocaGUI(wx.App, x2go.X2goClient):
def __init__(self, args, logger, liblogger,
appname='PyHoca-GUI',
- vendorname='Open Source Software Foundation',):
+ vendorname='Open Source Software Foundation',
+ version=None,):
"""\
STILL UNDOCUMENTED
"""
self.appname = appname
self.vendorname = vendorname
+ self.version = version
self.args = args
if logger is None:
diff --git a/pyhoca/wxgui/menus_taskbar.py b/pyhoca/wxgui/menus_taskbar.py
index 346d767..f321c55 100644
--- a/pyhoca/wxgui/menus_taskbar.py
+++ b/pyhoca/wxgui/menus_taskbar.py
@@ -76,7 +76,7 @@ class PyHocaGUI_Menu_TaskbarOptionsManager(wx.Menu):
wx.Menu.__init__(self)
ID_ABOUT = wx.NewId()
- self.Append(id=ID_ABOUT, text=_(u"About %s ...") % self._PyHocaGUI.appname)
+ self.Append(id=ID_ABOUT, text=_(u"About %s (%s)...") % (self._PyHocaGUI.appname, self._PyHocaGUI.version))
self._PyHocaGUI.Bind(wx.EVT_MENU, self._PyHocaGUI.OnAbout, id=ID_ABOUT)
if not self._PyHocaGUI.restricted_trayicon:
hooks/post-receive
--
pyhoca-gui.git (Python X2Go Client (wxPython GUI))
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "pyhoca-gui.git" (Python X2Go Client (wxPython GUI)).
More information about the x2go-commits
mailing list