gnome-panel displaying over my SELinux banner on FC10
- From: "Xavier Toth" <txtoth gmail com>
- To: gnome-list gnome org
- Subject: gnome-panel displaying over my SELinux banner on FC10
- Date: Fri, 5 Dec 2008 11:28:06 -0600
I've written a banner app to display the SELinux context. The banner
is written in Python and includes the following code to try and stop
other windows from overwriting it :
class BannerWindow(gtk.Window):
def __init__(self, wtype = gtk.WINDOW_TOPLEVEL):
gtk.Window.__init__(self, wtype)
class Banner(BannerWindow):
def __init__(self, vpos, mgr):
BannerWindow.__init__( self )
self.stick()
self.set_type_hint(gtk.gdk.WINDOW_TYPE_HINT_DOCK)
self.window.property_change("_NET_WM_STRUT", "CARDINAL", 32,
gtk.gdk.PROP_MODE_REPLACE, [0,0,h,0])
self.window.property_change("_NET_WM_STRUT_PARTIAL", "CARDINAL", \
32,
gtk.gdk.PROP_MODE_REPLACE, [0,0,h,0, 0,0,0,0, 0,w,0,0])
However gnome-panel writes right over the banner. What do I need to do
to get gnome-panel to respect the banner window? Is this possibly a
gnome-panel bug?
Ted
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]