[X2Go-Commits] pyhoca-gui.git - twofactorauth (branch) updated: 0.1.0.10-26-gdc9491b

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


The branch, twofactorauth has been updated
       via  dc9491b2b16a1e87c3e25fabe91fea4043043f34 (commit)
      from  c473ec48be2e79a79a0bc2c1e29e630f0d49820c (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:
 debian/changelog              |    2 ++
 pyhoca/wxgui/menus_taskbar.py |    5 ++++-
 2 files changed, 6 insertions(+), 1 deletion(-)

The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index 99ebe5e..a1e5925 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -17,6 +17,8 @@ pyhoca-gui (0.1.0.11-0~x2go1) UNRELEASED; urgency=low
     - Add extra menu: launch single application, once a session profile is
       connected.
     - Add extra session menu titem: Rename Session Window.
+    - Show desktop session name in menu for ,,start session'' item.
+    - Show session window title in session menu.
   * Depend on Python X2Go 0.1.1.9.
 
  -- Mike Gabriel <mike.gabriel at das-netzwerkteam.de>  Wed, 09 Nov 2011 03:13:09 +0100
diff --git a/pyhoca/wxgui/menus_taskbar.py b/pyhoca/wxgui/menus_taskbar.py
index 8229590..119ecfe 100644
--- a/pyhoca/wxgui/menus_taskbar.py
+++ b/pyhoca/wxgui/menus_taskbar.py
@@ -163,6 +163,9 @@ class PyHocaGUI_Menu_TaskbarSessionActions(wx.Menu):
 
         if _s.get_session_cmd() in x2go.defaults.X2GO_DESKTOPSESSIONS and status == 'R':
 
+            _title = self.Append(text=_s.get_session_title(), id=wx.NewId())
+            _title.Enable(False)
+            self.AppendSeparator()
             _rens = self.Append(text=_("Rename Session Window"), id=ID_RENAMESESSION)
             self.AppendSeparator()
 
@@ -336,7 +339,7 @@ class PyHocaGUI_Menu_TaskbarSessionProfile(wx.Menu):
             self._PyHocaGUI._eventid_profilenames_map[ID_DISCONNECT] = profile_name
 
         if current_profile_config['command'] in x2go.defaults.X2GO_DESKTOPSESSIONS:
-            self.Append(id=ID_SESSIONSTART, text=_(u"Start &new Desktop Session"))
+            self.Append(id=ID_SESSIONSTART, text='%s (%s)' % (_(u"Start &new Desktop Session"), current_profile_config['command']))
         else:
             self.Append(id=ID_SESSIONSTART, text=_(u"Start &new Session"))
 


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