This is an automated email from the git hooks/post-receive script. x2go pushed a change to branch master in repository pyhoca-gui. from b5dada2 (Now really) Support Python wxWidgets 3.0. new 12afd5f Don't flood PyHocaGUI._eventid_(uns)hared_folders_map dict with non-valid-anymore event IDs. The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: debian/changelog | 2 ++ pyhoca/wxgui/menus_taskbar.py | 2 ++ 2 files changed, 4 insertions(+) -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/pyhoca-gui.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository pyhoca-gui. commit 12afd5ff81717cd43c60af959b1d8a54bdb39904 Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Tue Oct 7 22:27:00 2014 +0200 Don't flood PyHocaGUI._eventid_(uns)hared_folders_map dict with non-valid-anymore event IDs. --- debian/changelog | 2 ++ pyhoca/wxgui/menus_taskbar.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/debian/changelog b/debian/changelog index 58bc84d..a556637 100644 --- a/debian/changelog +++ b/debian/changelog @@ -71,6 +71,8 @@ pyhoca-gui (0.5.0.0-0x2go1) UNRELEASED; urgency=low #534). - Rename LICENSE.txt to COPYING. - Add Keywords= field to pyhoca-gui.desktop file. + - Don't flood PyHocaGUI._eventid_(uns)hared_folders_map dict with + non-valid-anymore event IDs. * debian/control: + Add D (bin:package pyhoca-gui): python-cups. (Fixes: #460). diff --git a/pyhoca/wxgui/menus_taskbar.py b/pyhoca/wxgui/menus_taskbar.py index 2a1a674..45a68f0 100644 --- a/pyhoca/wxgui/menus_taskbar.py +++ b/pyhoca/wxgui/menus_taskbar.py @@ -352,6 +352,7 @@ class PyHocaGUI_Menu_TaskbarProfileSharedFolders(wx.Menu): _sharable_folders = _exported_folders.keys() _unshared_folders = [ f for f in _sharable_folders if f and f not in _shared_folders ] + self._PyHocaGUI._eventid_unshared_folders_map = {} if _unshared_folders: self.Append(id=wx.NewId(), text=_(u'Share:')) for _unshared_folder in _unshared_folders: @@ -361,6 +362,7 @@ class PyHocaGUI_Menu_TaskbarProfileSharedFolders(wx.Menu): self._PyHocaGUI._eventid_unshared_folders_map[ID_THISFOLDER] = _unshared_folder self._PyHocaGUI.Bind(wx.EVT_MENU, self._PyHocaGUI.OnShareLocalFolder, id=ID_THISFOLDER) + self._PyHocaGUI._eventid_shared_folders_map = {} if _shared_folders: self.Append(id=wx.NewId(), text=_(u'Unshare:')) for _shared_folder in _shared_folders: -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/pyhoca-gui.git