elm_fileselector: made fileselector styling more flexible

Previously the progressbar in fileselector use hardcoded style name
"wheel", that made unpossible to create different style for
fileselector. This commit made it possible.

@fix
This commit is contained in:
Vyacheslav Reutskiy 2017-04-26 11:16:01 +03:00
parent a17a91b22f
commit f9702fe1f9
2 changed files with 2 additions and 1 deletions

View File

@ -1129,6 +1129,7 @@ group { name: "elm/progressbar/vertical/default";
group { name: "elm/progressbar/horizontal/wheel";
alias: "elm/progressbar/vertical/wheel";
alias: "elm/progressbar/horizontal/fileselector/default";
images.image: "knob_round_busy.png" COMP;
images.image: "glow_round_corners.png" COMP;
parts {

View File

@ -225,7 +225,7 @@ _elm_fileselector_elm_widget_theme_apply(Eo *obj, Elm_Fileselector_Data *sd)
elm_widget_style_set(sd->up_button, buf);
elm_widget_style_set(sd->home_button, buf);
elm_widget_style_set(sd->spinner, "wheel");
elm_widget_style_set(sd->spinner, buf);
elm_widget_style_set(sd->files_view, buf);