fileselector: apply style for files view

By some reason style does not applyed to genlist/gengrid in
fileselector. Also fixed issue with applyed style for files view on
change mode.  Now this problem is fixed.

@fix
This commit is contained in:
Vyacheslav Reutskiy 2017-04-14 11:23:47 +03:00
parent acb9ae70fe
commit 0ecf3c6906
1 changed files with 3 additions and 0 deletions

View File

@ -227,6 +227,8 @@ _elm_fileselector_elm_widget_theme_apply(Eo *obj, Elm_Fileselector_Data *sd)
elm_widget_style_set(sd->home_button, buf);
elm_widget_style_set(sd->spinner, "wheel");
elm_widget_style_set(sd->files_view, buf);
elm_widget_style_set(sd->path_entry, buf);
elm_widget_style_set(sd->name_entry, buf);
elm_widget_style_set(sd->search_entry, buf);
@ -2388,6 +2390,7 @@ _elm_fileselector_elm_interface_fileselector_mode_set(Eo *obj, Elm_Fileselector_
sd->mode = mode;
elm_obj_widget_theme_apply(obj);
if (sd->model)
{
_schedule_populate(obj, sd, sd->model, NULL);