Hi,

In my PyGTK grogram, I try to use gnome session. I'm able to make gnome start my program on startup, but it launches it with some command line optins like --sm-config-prefix, --sm-client-id, ...

The problem is that my application doesn't accept unknown command line options. So I'm searching a solution to tell gnome to parse them, and give me only the remaining option. Is it the correct way to do that?

But it seems I have to use GOptionContext, but that doesn't seem to exist in PyGTK.

Any idea how I can separate gnome session options from others? And maybe how I can save my program preferences in gnome session and get them when my program is restarted?

--
Yann

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to