From: Enlightenment S. <no-...@en...> - 2011-12-14 16:03:07
|
Log: elementary: make elm_icon_file_set work on file on disk change. Author: cedric Date: 2011-12-14 08:02:57 -0800 (Wed, 14 Dec 2011) New Revision: 66202 Trac: http://trac.enlightenment.org/e/changeset/66202 Modified: trunk/elementary/src/lib/elm_icon.c Modified: trunk/elementary/src/lib/elm_icon.c =================================================================== --- trunk/elementary/src/lib/elm_icon.c 2011-12-14 15:12:08 UTC (rev 66201) +++ trunk/elementary/src/lib/elm_icon.c 2011-12-14 16:02:57 UTC (rev 66202) @@ -653,17 +653,10 @@ 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) { |