use the correct gobject init call and add a stub function
This commit is contained in:
parent
09780a6500
commit
f5ee9d54c5
@ -13,8 +13,12 @@ class Titlebar(gtk.EventBox):
|
||||
def __init__(self):
|
||||
"""Class initialiser"""
|
||||
gtk.EventBox.__init__(self)
|
||||
self.__gobject__init()
|
||||
self.__gobject_init__()
|
||||
|
||||
self.show()
|
||||
|
||||
def connect_icon(self, func):
|
||||
"""Connect the supplied function to clicking on the group icon"""
|
||||
pass
|
||||
|
||||
gobject.type_register(Titlebar)
|
||||
|
Loading…
Reference in New Issue
Block a user