shut up e_exehist

SVN revision: 80812
This commit is contained in:
Mike Blumenkrantz 2012-12-13 10:37:14 +00:00
parent 4078be3fab
commit e3c0e6bbcc
1 changed files with 6 additions and 6 deletions

View File

@ -293,10 +293,10 @@ e_exehist_mime_desktop_add(const char *mime, Efreet_Desktop *desktop)
snprintf(buf, sizeof(buf), "%s/applications/defaults.list",
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;
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)