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):
    ...
    self.client.connect("save_yourself", self.session_save)
TypeError: connect() takes no arguments (2 given)

I see gtk-- calls it connect_to_session_manager()

While I'm at it is there any way to test the session management
without repeatedly logging in and out? Maybe run gnome-session
from a bare xterm?

Thanks,
Stephen.
-- 
Stephen Kennedy <[EMAIL PROTECTED]>
http://meld.sf.net visual diff and merge

_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to