'evrything' cleanups
authorHannes Janetzek <hannes.janetzek@gmail.com>
Sat, 6 Mar 2010 14:09:05 +0000 (14:09 +0000)
committerHannes Janetzek <hannes.janetzek@gmail.com>
Sat, 6 Mar 2010 14:09:05 +0000 (14:09 +0000)
SVN revision: 46907

src/modules/everything/evry_history.c
src/modules/everything/sources/evry_plug_apps.c

index 8761b81909652e6f17ec11205d5281ca952deb2d..a673c076c3e2672a06b783cdc3c3053f38e4f5e8 100644 (file)
@@ -214,7 +214,7 @@ evry_history_add(Eina_Hash *hist, Evry_State *s, const char *ctxt)
    if (!it) return;
 
    id = (it->id ? it->id : it->label);
-   
+
    he = eina_hash_find(hist, id);
    if (!he)
      {
@@ -264,7 +264,7 @@ evry_history_item_usage_set(Eina_Hash *hist, Evry_Item *it, const char *input, c
    Eina_List *l;
 
    it->usage = 0.0;
-   
+
    if (!(he = eina_hash_find(hist, (it->id ? it->id : it->label))))
      return 0;
    
index a7793240faff703ca283297e17e39d868f4b62b6..1bf8fb301bc56c82ec96c7c9855974ddec82e8c0 100644 (file)
@@ -780,6 +780,7 @@ _init(void)
    evry_action_register(act4, 4);
    evry_action_register(act5, 5);
 
+   /*
    Eina_List *l, *ll;
    const char *file, *name;
    History_Entry *he;
@@ -787,7 +788,7 @@ _init(void)
    name = EVRY_PLUGIN(p1)->name;
    double t;
    int found = 0;
-   /*
+
    evry_history_load();
    
    EINA_LIST_FOREACH(e_exehist_list_get(), l, file)