From ac920f6db3de1b14663c99a62efe74bd62d9ed16 Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Mon, 13 Jun 2011 08:05:26 +0000 Subject: [PATCH] delete action when unloading module! SVN revision: 60262 --- src/modules/clock/e_mod_main.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/modules/clock/e_mod_main.c b/src/modules/clock/e_mod_main.c index 7387cc956..305329307 100644 --- a/src/modules/clock/e_mod_main.c +++ b/src/modules/clock/e_mod_main.c @@ -639,6 +639,12 @@ e_modapi_init(E_Module *m) EAPI int e_modapi_shutdown(E_Module *m __UNUSED__) { + if (act) + { + e_action_predef_name_del(_("Clock"), _("Show calendar")); + e_action_del("clock"); + act = NULL; + } if (clock_config) { e_object_del(E_OBJECT(clock_config));