_icon_freedesktop_set sets freedesktop.use
authorSebastian Dransfeld <sd@tango.flipp.net>
Fri, 26 Nov 2010 10:16:00 +0000 (10:16 +0000)
committerSebastian Dransfeld <sd@tango.flipp.net>
Fri, 26 Nov 2010 10:16:00 +0000 (10:16 +0000)
and add some TODO's

SVN revision: 55007

src/lib/elm_icon.c

index 0a44b6f522a4de5d0066680d3a57ae77cc00bd99..fd0094fb3ed2258e9960ba1a06b46142e72bd756 100644 (file)
@@ -130,8 +130,7 @@ _sizing_eval(Evas_Object *obj)
            request another, higher resolution, icon.
            FIXME: Find a better heuristic to determine if there should be
            an icon with a different resolution. */
-        if (!_icon_freedesktop_set(wd, obj, wd->stdicon, w))
-          wd->freedesktop.use = EINA_TRUE;
+        _icon_freedesktop_set(wd, obj, wd->stdicon, w);
      }
 #endif
    _els_smart_icon_scale_up_set(wd->img, wd->scale_up);
@@ -265,6 +264,7 @@ _icon_standard_set(Widget_Data *wd, Evas_Object *obj, const char *name)
    if (_elm_theme_object_icon_set(obj, wd->img, name, "default"))
      {
 #ifdef ELM_EFREET
+        /* TODO: elm_unneed_efreet() */
         wd->freedesktop.use = EINA_FALSE;
 #endif
         return EINA_TRUE;
@@ -278,6 +278,7 @@ _icon_file_set(Widget_Data *wd, Evas_Object *obj, const char *path)
    if (elm_icon_file_set(obj, path, NULL))
      {
 #ifdef ELM_EFREET
+        /* TODO: elm_unneed_efreet() */
         wd->freedesktop.use = EINA_FALSE;
 #endif
         return EINA_TRUE;