add "sticky" conf item; doesn't work in Windows :(
This commit is contained in:
parent
d030b30af2
commit
9e325a9437
@ -9,10 +9,15 @@ class Window(object):
|
||||
self.conf['width'] = 32
|
||||
if not 'height' in self.conf:
|
||||
self.conf['height'] = 32
|
||||
sticky = True
|
||||
if 'sticky' in self.conf:
|
||||
sticky = self.conf['sticky']
|
||||
|
||||
self.window = gtk.Window()
|
||||
self.window.set_title(title)
|
||||
self.window.set_decorated(False)
|
||||
if sticky:
|
||||
self.window.stick()
|
||||
self.window.connect('destroy', self.destroy_event)
|
||||
self.window.connect('button-release-event', self.button_release)
|
||||
self.window.set_events(gtk.gdk.BUTTON_RELEASE_MASK)
|
||||
|
Loading…
x
Reference in New Issue
Block a user