Hint home window as desktop
This commit is contained in:
parent
79007cfb0a
commit
08a52809a6
@ -115,7 +115,7 @@ class HomeWindow(gtk.Window):
|
|||||||
|
|
||||||
self._shell = shell
|
self._shell = shell
|
||||||
|
|
||||||
self.set_skip_taskbar_hint(True)
|
self.connect('realize', self.__realize_cb)
|
||||||
|
|
||||||
vbox = gtk.VBox(False, 6)
|
vbox = gtk.VBox(False, 6)
|
||||||
vbox.set_border_width(24)
|
vbox.set_border_width(24)
|
||||||
@ -146,6 +146,9 @@ class HomeWindow(gtk.Window):
|
|||||||
self.add(vbox)
|
self.add(vbox)
|
||||||
vbox.show()
|
vbox.show()
|
||||||
|
|
||||||
|
def __realize_cb(self, window):
|
||||||
|
self.window.set_type_hint(gtk.gdk.WINDOW_TYPE_HINT_DESKTOP)
|
||||||
|
|
||||||
def list_activities(self):
|
def list_activities(self):
|
||||||
return self._shell.get_registry().list_activities()
|
return self._shell.get_registry().list_activities()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user