forked from enlightenment/enlightenment
Remove printfs and clean up after debugging with raster.
SVN revision: 25421
This commit is contained in:
parent
efb4f3e327
commit
46c1cf8e57
|
@ -1572,16 +1572,13 @@ e_app_icon_add(Evas *evas, E_App *a)
|
|||
{
|
||||
Evas_Object *o = NULL;
|
||||
|
||||
printf("a->icon_path = %s\n", a->icon_path);
|
||||
if ((a->icon_path) && (a->icon_path[0] != 0))
|
||||
o = _e_app_icon_path_add(evas, a);
|
||||
else
|
||||
{
|
||||
o = edje_object_add(evas);
|
||||
printf("a->icon_class = %s\n", a->icon_class);
|
||||
if (!e_util_edje_icon_list_set(o, a->icon_class))
|
||||
{
|
||||
printf("a->path = %s\n", a->path);
|
||||
if (edje_object_file_set(o, a->path, "icon"))
|
||||
{
|
||||
; /* It's a bit more obvious this way. */
|
||||
|
|
|
@ -1655,15 +1655,10 @@ _e_fm2_icon_icon_set(E_Fm2_Icon *ic)
|
|||
E_App *app;
|
||||
|
||||
if (ic->info.pseudo_link)
|
||||
{
|
||||
/* FIXME: first one should be correct I think, but it isn't. */
|
||||
snprintf(buf, sizeof(buf), "%s/%s", ic->info.pseudo_dir, ic->info.file);
|
||||
}
|
||||
else
|
||||
snprintf(buf, sizeof(buf), "%s/%s", ic->sd->realpath, ic->info.file);
|
||||
//printf("ICON FOR APP (%s) %s - %s - %s - %s\n", ((ic->info.pseudo_link) ? "pseudo" : "real" ), buf, ic->info.pseudo_dir, ic->info.file, ic->sd->realpath);
|
||||
app = e_app_new(buf, 0);
|
||||
printf("ic: %s = %p\n", buf, app);
|
||||
if (app)
|
||||
{
|
||||
ic->obj_icon = e_app_icon_add(evas_object_evas_get(ic->sd->obj), app);
|
||||
|
@ -1756,7 +1751,6 @@ _e_fm2_icon_desktop_load(E_Fm2_Icon *ic)
|
|||
if (desktop->generic) ic->info.generic = evas_stringshare_add(desktop->generic);
|
||||
if (desktop->comment) ic->info.comment = evas_stringshare_add(desktop->comment);
|
||||
|
||||
printf("di: %s %s %s\n", desktop->icon, desktop->icon_path, desktop->icon_class);
|
||||
if (desktop->icon)
|
||||
{
|
||||
char *v;
|
||||
|
@ -1765,7 +1759,6 @@ _e_fm2_icon_desktop_load(E_Fm2_Icon *ic)
|
|||
v = (char *)ecore_desktop_icon_find(desktop->icon, NULL, e_config->icon_theme);
|
||||
if (v)
|
||||
ic->info.icon = evas_stringshare_add(v);
|
||||
printf("%s ->v\n", desktop->icon, v);
|
||||
}
|
||||
|
||||
if (desktop->type)
|
||||
|
|
Loading…
Reference in New Issue