The branch, twofactorauth has been updated via 6459cf82b3b2a13c7e3860f00ba5ac7c545e6731 (commit) from b021eac567e9e74f660f12c54072f9515485a690 (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/about.py | 10 ++++++++++ 1 file changed, 10 insertions(+) The diff of changes is: diff --git a/pyhoca/wxgui/about.py b/pyhoca/wxgui/about.py index 94b4d7b..855d1a4 100644 --- a/pyhoca/wxgui/about.py +++ b/pyhoca/wxgui/about.py @@ -57,6 +57,11 @@ class PyHocaGUI_AboutFrame(wx.Frame): wx.Frame.__init__(self, None, -1, _('About %s ...') % 'PyHoca-GUI', size=(400,298)) self.Bind(wx.EVT_CLOSE, self.OnHide) + panel = wx.Panel(self, -1, pos=(0,3)) + panel.SetBackgroundColour("White") + panel.Bind(wx.EVT_KEY_DOWN, self.OnKeyDown) + panel.SetFocus() + _logo_bitmap = wx.StaticBitmap(self, wx.ID_ANY, wx.Bitmap(os.path.join(basepath.images_basepath, 'pyhoca-about-logo.png')), (0, 0)) self.bitmap = _logo_bitmap @@ -73,4 +78,9 @@ class PyHocaGUI_AboutFrame(wx.Frame): def OnHide(self, evt): self.Show(False) + def OnKeyDown(self, evt): + keycode = evt.GetKeyCode() + if keycode == wx.WXK_ESCAPE: + self.Show(False) + evt.Skip() 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)).