[X2Go-Commits] pyhoca-gui.git - build-59a18b6e3b5d3f1dd8f07f26433d37fe5984a57d (branch) updated: 0.0.28.0-29-gadad87f

X2Go dev team git-admin at x2go.org
Tue Aug 27 13:21:14 CEST 2013


The branch, build-59a18b6e3b5d3f1dd8f07f26433d37fe5984a57d has been updated
       via  adad87f3508719eba76a1913238b26305c77622d (commit)
      from  9f95cb62d7eb8f42d9249272d267feca3647e4cb (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 6fda54e..748d20d 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
 
 # PyHoca-GUI modules
 import basepath
@@ -54,8 +54,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