Re: [Evolution-hackers] Sending remote commands to Evolution.
- From: Ettore Perazzoli <ettore ximian com>
- To: Tobias Rundström <evolution tobi nu>
- Cc: Evolution Hackers Mailing List <evolution-hackers ximian com>
- Subject: Re: [Evolution-hackers] Sending remote commands to Evolution.
- Date: 05 Feb 2003 14:39:41 -0500
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]