On Sun, 2003-02-02 at 13:32, Tobias Rundstr�m wrote: > I have a simple question. I use evolution on my laptop that I tend to > move around and suspend a lot. I Would like to set evolution in > "offline" mode by a command from apmd, and then go to "online" mode when > resuming by ifup or somthing like that. > > Is this possible right now? If not, where sould I start?
No, unfortunately it is currently not possible. In 1.3 we could have a GConf toggle for offline/online mode which you could change with gconf-tool... But unfortunately offline/online is not just a setting; when you turn it it into offline mode, it has to display a dialog and perform the sync, which is kind of inappropriate for a GConf key. So probably the best way would be to add a method to the Evolution-Shell.idl to switch to online/offline mode and then add some command-line option to the shell so you can control the online/offline status of the already running shell from a script (the option would just use CORBA to invoke the new method on the running shell). Probably this should be integrated with the existing --offline/--online command-line options somehow... -- Ettore _______________________________________________ evolution-hackers maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/evolution-hackers
