[X2Go-Commits] pyhoca-gui.git - build-59a18b6e3b5d3f1dd8f07f26433d37fe5984a57d (branch) updated: 9e175015d04d7fd9beb55c02cab34fe8ffe27dad

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


The branch, build-59a18b6e3b5d3f1dd8f07f26433d37fe5984a57d has been updated
       via  9e175015d04d7fd9beb55c02cab34fe8ffe27dad (commit)
      from  3f3bb85fe91a0b8d8e76bcfe2ea14b6fd87ddad0 (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/chooser.py |   32 +++++++++++++++++---------------
 1 file changed, 17 insertions(+), 15 deletions(-)

The diff of changes is:
diff --git a/pyhoca/wxgui/chooser.py b/pyhoca/wxgui/chooser.py
index 256930b..b9f6178 100644
--- a/pyhoca/wxgui/chooser.py
+++ b/pyhoca/wxgui/chooser.py
@@ -114,8 +114,8 @@ class PyHocaGUI_SessionChooser(wx.Frame):
 
         self.Bind(wx.EVT_SIZE, self.OnSize)
 
-        self.Bind(wx.EVT_LIST_ITEM_SELECTED, self.OnItemSelected, self.list)
-        self.Bind(wx.EVT_LIST_ITEM_ACTIVATED, self.OnItemActivated, self.list)
+        #self.Bind(wx.EVT_LIST_ITEM_SELECTED, self.OnItemSelected, self.list)
+        #self.Bind(wx.EVT_LIST_ITEM_ACTIVATED, self.OnItemActivated, self.list)
 
         #self.list.Bind(wx.EVT_LEFT_DCLICK, self.OnDoubleClick)
         #self.list.Bind(wx.EVT_RIGHT_DOWN, self.OnRightDown)
@@ -145,7 +145,7 @@ class PyHocaGUI_SessionChooser(wx.Frame):
 
         """
         w,h = self.GetClientSizeTuple()
-        self.list.SetDimensions(0, 0, w, h)
+        #self.list.SetDimensions(0, 0, w, h)
 
     def PopulateList(self):
         """\
@@ -207,10 +207,10 @@ class PyHocaGUI_SessionChooser(wx.Frame):
         """
         x = event.GetX()
         y = event.GetY()
-        item, flags = self.list.HitTest((x, y))
+        #item, flags = self.list.HitTest((x, y))
 
-        if flags & wx.LIST_HITTEST_ONITEM:
-            self.list.Select(item)
+        #if flags & wx.LIST_HITTEST_ONITEM:
+            #self.list.Select(item)
         event.Skip()
 
     def OnItemSelected(self, event):
@@ -263,21 +263,23 @@ class PyHocaGUI_SessionChooser(wx.Frame):
         STILL UNDOCUMENTED
 
         """
-        if self.currentItem:
-            if error:
-                self.list.SetItemImage(self.currentItem, self.idx1)
-            else:
-                self.list.SetItemImage(self.currentItem, self.idx2)
+        pass
+        #if self.currentItem:
+        #    if error:
+        #        self.list.SetItemImage(self.currentItem, self.idx1)
+        #    else:
+        #        self.list.SetItemImage(self.currentItem, self.idx2)
 
     def callbackupdList(self, action, profile):
         """\
         STILL UNDOCUMENTED
 
         """
-        if action == 'Add':
-            self.addRow(profile.name, False, False)
-        else:
-            self.list.SetStringItem(self.currentItem, 0, profile['name'])
+        pass
+        #if action == 'Add':
+        #    self.addRow(profile.name, False, False)
+        #else:
+        #    self.list.SetStringItem(self.currentItem, 0, profile['name'])
 
 
 class PyHocaGUI_ListCtrl(wx.ListCtrl, listmix.ListCtrlAutoWidthMixin, listmix.ColumnSorterMixin):


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