gnome-panel displaying over my SELinux banner on FC10

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
gnome-list mailing list
gnome-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gnome-list

[Index of Archives]     [Fedora Desktop]     [Trinity Users]     [KDE]     [Gimp]     [Yosemite News]

  Powered by Linux