After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 324068 - Add ability to enable/disable account programmatically
Add ability to enable/disable account programmatically
Status: RESOLVED DUPLICATE of bug 510909
Product: evolution
Classification: Applications
Component: Mailer
2.4.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
evolution[accounts]
Depends on: 348915
Blocks:
 
 
Reported: 2005-12-14 14:37 UTC by Bastien Nocera
Modified: 2012-05-18 13:00 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bastien Nocera 2005-12-14 14:37:40 UTC
It should be possible to programmatically disable and enable accounts.

A use for this would be, in conjunction with NetworkManager, to only enable
remote accounts if there is a network, or only enable a certain account if the
VPN is enabled.
Comment 1 parthasarathi susarla 2005-12-14 15:46:16 UTC
Hey Bastien,
Thanks for the bug report. A patch for such a thing is already on the
evolution-patches list, although it does not do exactly what you mentioned above.

What it does is when the Network Manager signals that it the network is
online/offline, Evolution switches to online or offline. Shreyas is working on
it, and am adding him to the CC list
Comment 2 Bastien Nocera 2005-12-14 16:01:32 UTC
Adding the patch for reference:
http://mail.gnome.org/archives/evolution-patches/2005-December/msg00082.html

It doesn't fix the VPN part of the problem though.
Comment 3 Shreyas Srinivasan 2005-12-14 16:07:05 UTC
Hmmm, I guess i could add the vpn part if NM has a way to export this data.
Ofcourse this also means marking an account as being vpn only. Hmmm.. do able,
Partha what do you think ?
Comment 4 parthasarathi susarla 2005-12-14 17:37:08 UTC
are there apis available available??
Comment 5 Bastien Nocera 2006-07-27 10:31:41 UTC
There doesn't seem to be any API in NetworkManager for that right now. I created bug 348915 to track it though.
Comment 6 Akhil Laddha 2008-08-08 10:44:57 UTC
See http://bugzilla.gnome.org/show_bug.cgi?id=348915#c1
Comment 7 André Klapper 2012-05-18 13:00:02 UTC
Boils down to bug 510909.

*** This bug has been marked as a duplicate of bug 510909 ***