[X2Go-Commits] pyhoca-gui.git - build-59a18b6e3b5d3f1dd8f07f26433d37fe5984a57d (branch) updated: 0.1.0.10-224-g52be973

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


The branch, build-59a18b6e3b5d3f1dd8f07f26433d37fe5984a57d 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 -----------------------------------------------------------------
-----------------------------------------------------------------------

Summary of changes:
 pyhoca/wxgui/menus_taskbar.py |    9 ++++-----
 1 file 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