[X2Go-Commits] pyhoca-gui.git - twofactorauth (branch) updated: 0.1.0.10-184-ga5bf1ea

X2Go dev team git-admin at x2go.org
Sat Sep 14 15:55:59 CEST 2013


The branch, twofactorauth has been updated
       via  a5bf1ea2c008e16f28863c30b4ec92603033aed9 (commit)
      from  cac4c03aa33872cc611697a33fead68409162492 (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 |   10 +++++-----
 setup.py   |    2 +-
 2 files changed, 6 insertions(+), 6 deletions(-)

The diff of changes is:
diff --git a/pyhoca-gui b/pyhoca-gui
index 65baaf7..0e446a5 100755
--- a/pyhoca-gui
+++ b/pyhoca-gui
@@ -89,7 +89,7 @@ if _X2GOCLIENT_OS in ('Linux', 'Mac'):
 if sys.argv[0].startswith('./') or sys.argv[0].startswith('python'):
     sys.path.insert(0, os.getcwd())
     os.environ['PYHOCAGUI_DEVELOPMENT'] = '1'
-    print '### PyHoca-GUI running in development mode ###'
+    print '### %s running in development mode ###' % PROG_NAME
 
 from pyhoca.wxgui.basepath import locale_basepath
 
@@ -257,7 +257,7 @@ def parseargs():
                                 formatter_class=argparse.RawDescriptionHelpFormatter, \
                                 add_help=True, argument_default=None)
     p_debugopts = p.add_argument_group('Debug options')
-    p_guiopts = p.add_argument_group('PyHoca-GUI options')
+    p_guiopts = p.add_argument_group('%s options' % PROG_NAME)
     p_portableopts = p.add_argument_group('Portable application support')
     p_backendopts = p.add_argument_group('Python X2Go backend options (for experts only)')
 
@@ -277,7 +277,7 @@ def parseargs():
 
     a = p.parse_args()
 
-    logger = _X2goLogger(tag='PyHoca-GUI')
+    logger = _X2goLogger(tag=PROG_NAME)
     liblogger = _X2goLogger()
 
     if a.debug:
@@ -319,7 +319,7 @@ def parseargs():
         a.start_xserver = a.preferred_xserver
 
     if _X2GOCLIENT_OS == 'Windows' and a.start_xserver and a.display:
-        runtime_error('You can tell PyHoca-GUI to handle XServer startup and then specify a DISPLAY environment variable!', parser=p)
+        runtime_error('You can tell %s to handle XServer startup and then specify a DISPLAY environment variable!' % PROG_NAME, parser=p)
 
     if a.display:
         os.environ.update({'DISPLAY': a.display})
@@ -347,7 +347,7 @@ def main():
 
     if check_running(): 
         sys.stderr.write("\n###############################\n### %s: already running for user %s\n###############################\n" % (PROG_NAME, _CURRENT_LOCAL_USER))
-        m = messages.PyHoca_MessageWindow_Ok(wx.App(), shortmsg='ALREADY_RUNNING', title=u'PyHoca-GUI (%s)...' % VERSION, icon='pyhoca-trayicon')
+        m = messages.PyHoca_MessageWindow_Ok(wx.App(), shortmsg='ALREADY_RUNNING', title=u'%s (%s)...' % (PROG_NAME, VERSION), icon='pyhoca-trayicon')
         m.ShowModal()
         version()
 
diff --git a/setup.py b/setup.py
index d740484..cf32e0c 100755
--- a/setup.py
+++ b/setup.py
@@ -23,7 +23,7 @@ import sys
 import os
 import pyhoca.wxgui
 
-PROGRAM_NAME = 'PyHoca-GUI'
+PROGRAM_NAME = 'pyhoca-gui'
 PROGRAM_DESC = '%s is a cross-platform (Windows, MacOS X, Linux) graphical X2Go client.' % PROGRAM_NAME
 PROGRAM_VERSION = pyhoca.wxgui.__VERSION__
 PROGRAM_ICON = "pixmaps/pyhoca_x2go-logo-ubuntu.ico"


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