use the correct gobject init call and add a stub function

This commit is contained in:
Chris Jones 2009-08-19 01:05:44 +01:00
parent 09780a6500
commit f5ee9d54c5
1 changed files with 5 additions and 1 deletions

View File

@ -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)