[X2Go-Commits] pyhoca-gui.git - twofactorauth (branch) updated: 0.0.28.0-32-g3b467c8

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


The branch, twofactorauth has been updated
       via  3b467c88ae413725579e6fd1e8cf0da2c1c65826 (commit)
       via  adad87f3508719eba76a1913238b26305c77622d (commit)
      from  6e7744860695826cdce050bbb8f886c1934a8b7f (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/wxgui/messages.py |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

The diff of changes is:
diff --git a/pyhoca/wxgui/messages.py b/pyhoca/wxgui/messages.py
index 7a66b7b..606e3f3 100644
--- a/pyhoca/wxgui/messages.py
+++ b/pyhoca/wxgui/messages.py
@@ -1,7 +1,6 @@
 #!/usr/bin/env python
 # -*- coding: utf-8 -*-
 
-
 # Copyright (C) 2010 by Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
 #
 # This program is free software; you can redistribute it and/or modify
@@ -24,6 +23,7 @@
 
 
 import wx
+import os
 import gevent
 
 # PyHoca-GUI modules
@@ -60,8 +60,8 @@ class PyHoca_MessageWindow(wx.Dialog):
         self.SetTitle('%s' % title)
 
         if icon:
-            path_to_icon = '%s/PyHoca/64x64/%s.png' % (_icons_location, icon)
-            self.icon = wx.StaticBitmap(self, wx.ID_ANY, wx.Bitmap(path_to_icon, wx.BITMAP_TYPE_ANY))
+            path_to_icon = os.path.normpath('%s/PyHoca/64x64/%s.png' % (_icons_location, icon))
+	    self.icon = wx.StaticBitmap(self, wx.ID_ANY, wx.Bitmap(path_to_icon, wx.BITMAP_TYPE_ANY))
         self.message = wx.StaticText(self, wx.ID_ANY, self.show_message, size=(-1, -1), style=wx.ALIGN_LEFT) 
 
         btnSizer = wx.BoxSizer(wx.HORIZONTAL)


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