[X2Go-Commits] pyhoca-gui.git - master (branch) updated: 0.4.0.8-23-g14b4e4a
X2Go dev team
git-admin at x2go.org
Fri Nov 15 22:19:32 CET 2013
The branch, master has been updated
via 14b4e4ab4882ba30bceeed2701909b4de837451b (commit)
from d1e96680cf2e9a6d5766729a919b8e418377c889 (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 -----------------------------------------------------------------
commit 14b4e4ab4882ba30bceeed2701909b4de837451b
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Fri Nov 15 22:18:40 2013 +0100
more fixes for about image path
-----------------------------------------------------------------------
Summary of changes:
pyhoca/wxgui/about.py | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
The diff of changes is:
diff --git a/pyhoca/wxgui/about.py b/pyhoca/wxgui/about.py
index eae5413..8b55c2e 100644
--- a/pyhoca/wxgui/about.py
+++ b/pyhoca/wxgui/about.py
@@ -65,17 +65,20 @@ class PyHocaGUI_AboutFrame(wx.Frame):
self._PyHocaGUI = _PyHocaGUI
self._pyhoca_logger = self._PyHocaGUI._pyhoca_logger
- fallback_about_image = 'pyhoca-about-logo.png'
+ fallback_about_image = 'pyhoca-about-logo'
if about_image is None:
about_image = fallback_about_image
+ if not about_image.lower().endswith('.png'):
+ about_image = '%s.png' % about_image
+
about_image = os.path.expanduser(about_image)
if os.path.basename(about_image) == about_image:
about_image = os.path.join(basepath.images_basepath, about_image)
- if not (os.path.isfile(about_image) or os.path.islink(about_image)):
+ if not os.path.isfile(about_image):
about_image = os.path.join(basepath.images_basepath, fallback_about_image)
if about_what is None:
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