WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] [ACM] Update the xensec_ezpolicy ACM poli

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [ACM] Update the xensec_ezpolicy ACM policy generation tool so
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 16 Feb 2007 12:15:23 -0800
Delivery-date: Fri, 16 Feb 2007 12:15:53 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1171549205 0
# Node ID 296d7aa451a3f23d80101844e27d1f36aff556d4
# Parent  236687fb42d79b0dd408364eae4c8624c33010d8
[ACM] Update the xensec_ezpolicy ACM policy generation tool so
that it works with wxPython under Python 2.5.
Signed-off by: Reiner Sailer <sailer@xxxxxxxxxx>
---
 tools/security/xensec_ezpolicy |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff -r 236687fb42d7 -r 296d7aa451a3 tools/security/xensec_ezpolicy
--- a/tools/security/xensec_ezpolicy    Thu Feb 15 14:18:21 2007 +0000
+++ b/tools/security/xensec_ezpolicy    Thu Feb 15 14:20:05 2007 +0000
@@ -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)
 
 
@@ -880,7 +878,7 @@ class ezFrame(wx.Frame):
 
     def _OpenSpec(self, event):
         filediag = wx.FileDialog(self, defaultFile="myspec.wld",
-                                wildcard="*.wld", style=wx.OPEN | 
wx.OVERWRITE_PROMPT,
+                                wildcard="*.wld", style=wx.OPEN,
                                 message="Select Workload Definition file name")
         ret = filediag.ShowModal()
         name = filediag.GetPath()

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [ACM] Update the xensec_ezpolicy ACM policy generation tool so, Xen patchbot-unstable <=