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

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

The branch, twofactorauth has been updated
       via  3910129f273fdbd18c5c9bcbf99a610d7e5770f1 (commit)
      from  65b916ff728d44e1ab3bc6b9b4d3724d2e67750b (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/messages.py |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

The diff of changes is:
diff --git a/pyhoca/wxgui/messages.py b/pyhoca/wxgui/messages.py
index 8da30f2..a1dd208 100644
--- a/pyhoca/wxgui/messages.py
+++ b/pyhoca/wxgui/messages.py
@@ -54,8 +54,8 @@ class PyHoca_MessageWindow(wx.Dialog):
         mainSizer = wx.BoxSizer(wx.VERTICAL)
         if buttontype in ('yesno', 'noyes'):
-            self.yesBtn = wx.Button(self, wx.ID_YES, _(u'Yes'),)
-            self.noBtn = wx.Button(self, wx.ID_NO, _(u'No'))
+            self.yesBtn = wx.Button(self, wx.ID_ANY, _(u'Yes'),)
+            self.noBtn = wx.Button(self, wx.ID_ANY, _(u'No'))
             self.Bind(wx.EVT_BUTTON, self.OnTrue, self.yesBtn)
             self.Bind(wx.EVT_BUTTON, self.OnFalse, self.noBtn)
@@ -70,13 +70,13 @@ class PyHoca_MessageWindow(wx.Dialog):
         if buttontype in ('ok', 'okcancel', 'cancelok'):
-            self.okBtn = wx.Button(self, wx.ID_OK, _(u'Ok'),)
+            self.okBtn = wx.Button(self, wx.ID_ANY, _(u'Ok'),)
             self.Bind(wx.EVT_BUTTON, self.OnTrue, self.okBtn)
             btnSizer.Add(self.okBtn, 0, wx.ALL, 5) 
         if buttontype in ('okcancel', 'cancelok'):
-            self.cancelBtn = wx.Button(self, wx.ID_CANCEL, _(u'Cancel'))
+            self.cancelBtn = wx.Button(self, wx.ID_ANY, _(u'Cancel'))
             self.Bind(wx.EVT_BUTTON, self.OnFalse, self.cancelBtn)
             btnSizer.Add(self.cancelBtn, 0, wx.ALL, 5) 

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