diff --git a/Window.py b/Window.py index 31bfa2b..1411b93 100755 --- a/Window.py +++ b/Window.py @@ -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)