[X2Go-Commits] [pyhoca-gui] 01/01: more icon location detection fixes

git-admin at x2go.org git-admin at x2go.org
Wed Mar 5 11:51:26 CET 2014


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository pyhoca-gui.

commit 9b3250069b073cef5f41a644705426f7f8f5911b
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Wed Mar 5 11:51:05 2014 +0100

    more icon location detection fixes
---
 pyhoca/wxgui/menus_taskbar.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyhoca/wxgui/menus_taskbar.py b/pyhoca/wxgui/menus_taskbar.py
index 22fa58f..2a6d3c5 100644
--- a/pyhoca/wxgui/menus_taskbar.py
+++ b/pyhoca/wxgui/menus_taskbar.py
@@ -38,7 +38,6 @@ import x2go.defaults
 import x2go.x2go_exceptions
 
 import basepath
-_icons_location = basepath.icons_basepath
 
 class PyHocaGUI_Menu_TaskbarManageProfile(wx.Menu):
     """\
@@ -452,6 +451,7 @@ def _generate_Menu_PublishedApplications(_PyHocaGUI, caller=None, profile_name=N
     else:
         _icon_size = "22x22"
 
+    _icons_location = basepath.icons_basepath
     _category_name_translator = {
         'Multimedia': (_(u'Multimedia'), os.path.normpath('%s/PyHoca/%s/applications-multimedia.png' % (_icons_location, _icon_size), ), ),
         'Development': (_(u'Development'), os.path.normpath('%s/PyHoca/%s/applications-development.png' % (_icons_location, _icon_size), ), ),

--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/pyhoca-gui.git



More information about the x2go-commits mailing list