shut up e_exehist

SVN revision: 80812
devs/princeamd/enlightenment-0.17-elive
Mike Blumenkrantz 10 years ago
parent 4078be3fab
commit e3c0e6bbcc
  1. 12
      src/bin/e_exehist.c

@ -293,10 +293,10 @@ e_exehist_mime_desktop_add(const char *mime, Efreet_Desktop *desktop)
snprintf(buf, sizeof(buf), "%s/applications/defaults.list",
efreet_data_home_get());
ini = efreet_ini_new(buf);
fprintf(stderr, "try open %s = %p\n", buf, ini);
//fprintf(stderr, "try open %s = %p\n", buf, ini);
if (ini)
{
fprintf(stderr, "SAVE mime %s with %s\n", mime, desktop->orig_path);
//fprintf(stderr, "SAVE mime %s with %s\n", mime, desktop->orig_path);
if (!efreet_ini_section_set(ini, "Default Applications"))
{
efreet_ini_section_add(ini, "Default Applications");
@ -347,19 +347,19 @@ e_exehist_mime_desktop_get(const char *mime)
E_Exehist_Item *ei;
Eina_List *l;
fprintf(stderr, "e_exehist_mime_desktop_get(%s)\n", mime);
//fprintf(stderr, "e_exehist_mime_desktop_get(%s)\n", mime);
if (!mime) return NULL;
_e_exehist_load();
fprintf(stderr, "x\n");
//fprintf(stderr, "x\n");
if (!_e_exehist) return NULL;
EINA_LIST_FOREACH(_e_exehist->mimes, l, ei)
{
fprintf(stderr, "look for %s == %s\n", mime, ei->launch_method);
//fprintf(stderr, "look for %s == %s\n", mime, ei->launch_method);
if ((ei->launch_method) && (!strcmp(mime, ei->launch_method)))
{
desktop = NULL;
if (ei->exe) desktop = efreet_util_desktop_file_id_find(ei->exe);
fprintf(stderr, " desk = %p\n", desktop);
//fprintf(stderr, " desk = %p\n", desktop);
if (desktop)
{
_e_exehist_unload_queue();

Loading…
Cancel
Save