widgets must emit "changed" even if they don't have parents.

this unbreaks all dialogs that were not enabling "ok" and "apply"
buttons.

bad raster, bad... =)



SVN revision: 41797
This commit is contained in:
Gustavo Sverzut Barbieri 2009-08-16 00:23:38 +00:00
parent 398e020750
commit 30c9bc06ad
1 changed files with 1 additions and 2 deletions

View File

@ -416,8 +416,7 @@ EAPI void
e_widget_change(Evas_Object *obj)
{
API_ENTRY return;
if (!e_widget_parent_get(obj)) return;
e_widget_change(e_widget_parent_get(obj));
if (sd->parent_obj) e_widget_change(sd->parent_obj);
if (sd->on_change_func) sd->on_change_func(sd->on_change_data, obj);
}