elementary: make elm_icon_file_set work on file on disk change.
authorcedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 14 Dec 2011 16:02:57 +0000 (16:02 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 14 Dec 2011 16:02:57 +0000 (16:02 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@66202 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/elm_icon.c

index 8324b93..068e730 100644 (file)
@@ -653,17 +653,10 @@ elm_icon_file_set(Evas_Object *obj, const char *file, const char *group)
    ELM_CHECK_WIDTYPE(obj, widtype) EINA_FALSE;
    Widget_Data *wd = elm_widget_data_get(obj);
    Eina_Bool ret;
-   const char *tmp_file;
-   const char *tmp_group;
 
    if (!wd) return EINA_FALSE;
    EINA_SAFETY_ON_NULL_RETURN_VAL(file, EINA_FALSE);
 
-   _els_smart_icon_file_get(wd->img, &tmp_file, &tmp_group);
-   if ((tmp_file == file || (file && tmp_file && !strcmp(tmp_file, file)))
-       && (group == tmp_group || (group && tmp_group && !strcmp(group, tmp_group))))
-     return EINA_TRUE;
-
 #ifdef ELM_EFREET
    if (!wd->freedesktop.use)
      {