diff options
author | Jeffrey Stedfast <fejj@novell.com> | 2005-01-27 04:21:04 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2005-01-27 04:21:04 +0800 |
commit | a3f10ec2eabbebe79e4015acaff50fcb6e42c4f6 (patch) | |
tree | 676983af951ad96d31da05ccc7e6878de634e67a /e-util/e-config.c | |
parent | 154c994b5deb6620ee941def7146fcc103cc2413 (diff) | |
download | gsoc2013-evolution-a3f10ec2eabbebe79e4015acaff50fcb6e42c4f6.tar.gz gsoc2013-evolution-a3f10ec2eabbebe79e4015acaff50fcb6e42c4f6.tar.zst gsoc2013-evolution-a3f10ec2eabbebe79e4015acaff50fcb6e42c4f6.zip |
If the plugin isn't enabled, return TRUE so that the suer doesn't get
2005-01-26 Jeffrey Stedfast <fejj@novell.com>
* e-config.c (ech_check): If the plugin isn't enabled, return TRUE
so that the suer doesn't get locked in one of the account druid
pages.
svn path=/trunk/; revision=28565
Diffstat (limited to 'e-util/e-config.c')
-rw-r--r-- | e-util/e-config.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/e-util/e-config.c b/e-util/e-config.c index 4f78218503..c628ae33dc 100644 --- a/e-util/e-config.c +++ b/e-util/e-config.c @@ -1245,7 +1245,10 @@ ech_check(EConfig *ec, const char *pageid, void *data) { struct _EConfigHookGroup *group = data; EConfigHookPageCheckData hdata; - + + if (!group->hook->hook.plugin->enabled) + return TRUE; + hdata.config = ec; hdata.target = ec->target; hdata.pageid = pageid?pageid:""; |