- From: "Iain" <nodatadj webtribe net>
- To: "gnome mailing list" <gnome-list gnome org>
- Subject: Session Management
- Date: Mon, 6 Sep 1999 23:20:23 +0100
This should probably go to the devel list, but I can never remember what
should go where, so this list is always a safe bet :)
I'm trying to program session management into my app
this is the code I'm using
gnome_client_set_restart_command (client, i, argv);
gnome_client_set_clone_command (client, 0, NULL);
where argv == ambiance, argv == --session-restart and client comes
from the save_state parameter.
The problem is that whenever I close down GNOME with ambiance running,
2 copies restart.
One copy starts as "ambiance --session-restart" (because it reloads all the
attributes from the last session) and one copy just starts as "ambiance".
What am I doing wrong with my code?
] [Thread Prev