aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'e-util/e-menu.c')
-rw-r--r--e-util/e-menu.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/e-util/e-menu.c b/e-util/e-menu.c
index d4f32c3327..0f76f301fc 100644
--- a/e-util/e-menu.c
+++ b/e-util/e-menu.c
@@ -814,6 +814,9 @@ emph_construct(EPluginHook *eph, EPlugin *ep, xmlNodePtr root)
d(printf("loading menu hook\n"));
+ if (!ep->enabled)
+ return 0;
+
if (((EPluginHookClass *)emph_parent_class)->construct(eph, ep, root) == -1)
return -1;