From f5ee9d54c5b729971b6ff964047a1fe7be144392 Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Wed, 19 Aug 2009 01:05:44 +0100 Subject: [PATCH] use the correct gobject init call and add a stub function --- terminatorlib/titlebar.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/terminatorlib/titlebar.py b/terminatorlib/titlebar.py index 427a5c1d..33c84351 100755 --- a/terminatorlib/titlebar.py +++ b/terminatorlib/titlebar.py @@ -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)