All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH][ACM EZPOLICY TOOL] Make xensec_ezpolicy ready for wx/Python 2.5
@ 2007-02-10  5:08 Reiner Sailer
  0 siblings, 0 replies; only message in thread
From: Reiner Sailer @ 2007-02-10  5:08 UTC (permalink / raw)
  To: xen-devel

[-- Attachment #1: Type: text/plain, Size: 175 bytes --]

Updates xensec_ezpolicy ACM policy generation tool so that it works with 
wxPython under Python 2.5 as well.

Thanks
Reiner

Signed-off by: Reiner Sailer <sailer@us.ibm.com>


[-- Attachment #2: ezpolicy_patch.diff --]
[-- Type: text/plain, Size: 1008 bytes --]

---
 tools/security/xensec_ezpolicy |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

Index: xen-unstable.hg/tools/security/xensec_ezpolicy
===================================================================
--- xen-unstable.hg.orig/tools/security/xensec_ezpolicy
+++ xen-unstable.hg/tools/security/xensec_ezpolicy
@@ -45,9 +45,6 @@ class orgTreeCtrl(wx.TreeCtrl):
                              validator, name)
         self.parent = parent
         orgs_root = self.AddRoot(text="Organization / Department")
-        rootfont = wx.Font(pointSize=12, family=wx.FONTFAMILY_DEFAULT,
-                          style=wx.FONTSTYLE_NORMAL, weight=wx.FONTWEIGHT_LIGHT)
-        self.SetItemFont(orgs_root, rootfont)
         self.SetItemBackgroundColour(orgs_root, wx.LIGHT_GREY)
 
 
@@ -276,6 +273,7 @@ class ConsPanel(wx.Panel):
     def RefreshMe(self):
         size=self.parent.GetSize()
         self.parent.Fit()
+        self.parent.SetSize(size + (1,1))
         self.parent.SetSize(size)
 
 

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-02-10  5:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-10  5:08 [PATCH][ACM EZPOLICY TOOL] Make xensec_ezpolicy ready for wx/Python 2.5 Reiner Sailer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.