Hi all,
I am still trying to understand the logout mechanism of Etoile and
found the following method:
pico
/usr/src/Etoile-0.2/Services/Private/System/WorkspaceCommKit/
NSWorkspace+Communication.m
- connectToWorkspaceApplicationLaunch: (BOOL) launchFlag
{
NSString * appName = nil;
#if 0
/* It does not make sense to check for default workspace
because even if there is one, we still use etoile_system to log
out.
And in order to avoid GWorkspace from launching automatically,
we may set GSWorkspaceApplication to a non-existing application.
If that is the case, it will break logout. */
appName = [[NSUserDefaults standardUserDefaults] objectForKey:
@"GSWorkspaceApplication"];
#endif
if (appName == nil)
{
// NOTE: appName is defined as SCSystemNamespace in EtoileSystem.h
appName = @"/etoilesystem"; // @"EtoileWorkspaceServer";
}
return [self connectToApplication: appName launch: launchFlag];
}
I don't understand why this is commented out? I did
defaults write NSGlobalDomain GSWorkspaceApplication Finder.app
and implemented
- (void)logOut
{
NSLog(@"logOut");
}
in the application delegate of Finder.app. I am not yet sure what
exactly this method will have to do to kill the session (A pkill on
Azalea??). What I know is that I have no file /etoilesystem on my box!?
Where should that come from? How is logout supposed to work?
Thanks a lot,
Andreas
_______________________________________________
Etoile-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-discuss