From 4b43552580ca2aaee7d1ca581b5aa5d84eea58c5 Mon Sep 17 00:00:00 2001 From: Hannes Janetzek Date: Thu, 22 Apr 2010 20:53:16 +0000 Subject: [PATCH] rename to 'websearch' SVN revision: 48233 --- configure.ac | 2 +- e_module.spec.in | 2 +- module.desktop.in | 4 ++-- src/e_mod_main.c | 4 +--- 4 files changed, 5 insertions(+), 7 deletions(-) diff --git a/configure.ac b/configure.ac index 67835e2..f0174d3 100644 --- a/configure.ac +++ b/configure.ac @@ -3,7 +3,7 @@ dnl Process this file with autoconf to produce a configure script. # get rid of that stupid cache mechanism rm -f config.cache -AC_INIT(evry-gsuggest, 0.0.1, hannes.janetzek@gmail.com) +AC_INIT(evry-websearch, 0.0.1, hannes.janetzek@gmail.com) AC_PREREQ(2.52) AC_CONFIG_SRCDIR(configure.ac) AC_CANONICAL_BUILD diff --git a/e_module.spec.in b/e_module.spec.in index 6568777..98a130d 100644 --- a/e_module.spec.in +++ b/e_module.spec.in @@ -1,4 +1,4 @@ -%define module_name evry-gsuggest +%define module_name evry-websearch Summary: %{module_name} module for the Enlightenment window manager Name: e_modules-%{module_name} diff --git a/module.desktop.in b/module.desktop.in index 084f972..a2bc701 100644 --- a/module.desktop.in +++ b/module.desktop.in @@ -1,7 +1,7 @@ [Desktop Entry] Type=Link -Name=Everything GSuggest +Name=Everything WebSearch Icon=e-module -Comment=Google suggestions and 'Google for it'(tm) action. Trigger with 'go '. +Comment=Wikipedia, Google suggestions and 'Google for it'(tm) action.
Trigger can be configured, default is 'go '. #Several different types available here. NEED TO DOC THESE. X-Enlightenment-ModuleType=everything diff --git a/src/e_mod_main.c b/src/e_mod_main.c index 1b31bcd..f21e881 100644 --- a/src/e_mod_main.c +++ b/src/e_mod_main.c @@ -51,7 +51,7 @@ _server_data(void *data, int ev_type, Ecore_Con_Event_Server_Data *ev) if (ev->server != p->svr) return 1; - /* printf("%s\n", result); */ + EVRY_PLUGIN_ITEMS_FREE(p); if ((list = strstr(result, "[[\""))) { @@ -195,8 +195,6 @@ static int _fetch(Evry_Plugin *plugin, const char *input) { PLUGIN(p, plugin); - - EVRY_PLUGIN_ITEMS_FREE(p); if (p->input) eina_stringshare_del(p->input);