e_configure_registry_item_del("extensions/run_everything");
e_configure_registry_category_del("extensions");
+ if (evry_conf->plugins_conf) eina_list_free(evry_conf->plugins_conf);
+
+ E_FREE(evry_conf);
+
/* Clean EET */
E_CONFIG_DD_FREE(conf_item_edd);
E_CONFIG_DD_FREE(conf_edd);
if (p->trigger) eina_stringshare_del(p->trigger);
if (p->icon) eina_stringshare_del(p->icon);
+ if (p->config)
+ {
+ if (p->config->name)
+ eina_stringshare_del(p->config->name);
+ if (p->config->trigger)
+ eina_stringshare_del(p->config->trigger);
+
+ E_FREE(p->config);
+ }
+
E_FREE(p);
}
}
if (desktop)
- it = evry_item_new(p, desktop->name, &_item_free);
+ it = evry_item_new(p, desktop->name, _item_free);
else
- it = evry_item_new(p, file, &_item_free);
+ it = evry_item_new(p, file, _item_free);
app = E_NEW(Evry_App, 1);
app->desktop = desktop;
if (found || p == p2)
{
- it = evry_item_new(p, _("Run Command"), &_item_free);
+ it = evry_item_new(p, _("Run Command"), _item_free);
app = E_NEW(Evry_App, 1);
if (input)
app->file = eina_stringshare_add(input);
p->items = eina_list_append(p->items, it);
snprintf(cmd, sizeof(cmd), "xterm -hold -e %s", input);
- it = evry_item_new(p, _("Run in Terminal"), &_item_free);
+ it = evry_item_new(p, _("Run in Terminal"), _item_free);
app = E_NEW(Evry_App, 1);
if (input)
app->file = eina_stringshare_add(cmd);
p1 = evry_plugin_new("Applications", type_subject, "", "APPLICATION", 0, NULL, NULL,
_begin, _cleanup, _fetch, NULL, NULL,
_icon_get, NULL, NULL);
-
+
p2 = evry_plugin_new("Open With...", type_action, "FILE", "", 0, NULL, NULL,
_begin, _cleanup, _fetch, _open_with_action, NULL,
_icon_get, NULL, NULL);
act = evry_action_new("Launch", "APPLICATION", NULL, "everything-launch",
_exec_app_action, _exec_app_check_item, NULL);
-
+
act1 = evry_action_new("Open File...", "APPLICATION", "FILE", "document-open",
_exec_app_action, _exec_app_check_item, NULL);
-
+
act2 = evry_action_new("Edit Application Entry", "APPLICATION", NULL, "everything-launch",
_edit_app_action, _edit_app_check_item, NULL);