[X2go-Commits] pyhoca-gui.git - master (branch) updated: 0.1.0.10-224-g52be973

X2Go dev team git-admin at x2go.org
Thu Apr 19 23:31:16 CEST 2012


The branch, master has been updated
       via  52be973e29bdfe65187916dbec10dd9739e8373b (commit)
      from  9da6af7cadedd6dcc7724ee0ba3ce8d05651df1f (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 52be973e29bdfe65187916dbec10dd9739e8373b
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Thu Apr 19 23:31:07 2012 +0200

    fix menu separator

-----------------------------------------------------------------------

Summary of changes:
 pyhoca/wxgui/menus_taskbar.py |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

The diff of changes is:
diff --git a/pyhoca/wxgui/menus_taskbar.py b/pyhoca/wxgui/menus_taskbar.py
index 72bdc7b..ce9c520 100644
--- a/pyhoca/wxgui/menus_taskbar.py
+++ b/pyhoca/wxgui/menus_taskbar.py
@@ -684,14 +684,10 @@ class PyHocaGUI_Menu_TaskbarSessionProfile(wx.Menu):
                         if _session_list_names:
                             self.Append(id=ID_CLEANSESSIONS, text=_(u"&Clean all sessions"))
                             self._PyHocaGUI.Bind(wx.EVT_MENU, self._PyHocaGUI.OnCleanSessions, id=ID_CLEANSESSIONS)
-                            self.AppendSeparator()
-
-                    else:
-
-                        self.AppendSeparator()
 
                 if not self._PyHocaGUI.restricted_trayicon:
 
+                    self.AppendSeparator()
                     self.Append(id=ID_EDITPROFILEWHILECONNECTED, text=_(u"Customize &profile"))
                     self._PyHocaGUI.Bind(wx.EVT_MENU, self._PyHocaGUI.OnProfileEditWhileConnected, id=ID_EDITPROFILEWHILECONNECTED)
 
@@ -701,6 +697,9 @@ class PyHocaGUI_Menu_TaskbarSessionProfile(wx.Menu):
 
                 if current_profile_config['useexports'] and self._PyHocaGUI._X2goClient__profile_is_folder_sharing_available(profile_name=profile_name):
 
+                    if self._PyHocaGUI.restricted_trayicon:
+                        self.AppendSeparator()
+
                     _shared_folders = self.AppendMenu(id=ID_SHARELOCALFOLDER, text=_(u"Shared &folders"),
                                                       submenu=PyHocaGUI_Menu_TaskbarProfileSharedFolders(self._PyHocaGUI, caller=self,
                                                       profile_name=profile_name)


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