Re: [pygtk] gnome.ui.Client connect shadows signal_connect

2003-08-14 Thread Stephen Kennedy
self.client = gnome.ui.Client() self.client.connect() # connect to session Note that this call shouldn't work if Client() inherits from GObject. Client does inherit from gtk.Object. Why wouldn't the derived method override and shadow the base class method? Could you please

Re: [pygtk] gnome.ui.Client connect shadows signal_connect

2003-08-14 Thread Christian Reis
On Fri, Aug 08, 2003 at 11:04:01AM +0100, Stephen Kennedy wrote: I couldn't find any examples of python GnomeClient usage and straight away ran into this: self.client = gnome.ui.Client() self.client.connect() # connect to session Note that this call shouldn't work if

[pygtk] gnome.ui.Client connect shadows signal_connect

2003-08-09 Thread Stephen Kennedy
I couldn't find any examples of python GnomeClient usage and straight away ran into this: self.client = gnome.ui.Client() self.client.connect() # connect to session self.client.connect(save_yourself, self.session_save) Traceback (most recent call last): ...

Re: [pygtk] gnome.ui.Client connect shadows signal_connect

2003-08-08 Thread Christian Reis
On Fri, Aug 08, 2003 at 03:43:53PM +0100, Stephen Kennedy wrote: self.client = gnome.ui.Client() self.client.connect() # connect to session Note that this call shouldn't work if Client() inherits from GObject. Client does inherit from gtk.Object. Why wouldn't the