available_themes(xdata) is useless since 721ca125
This commit is contained in:
parent
f48adc2ea0
commit
90d9ef3a5d
|
@ -757,23 +757,7 @@ available_themes(list) ->
|
||||||
[T || T <- L2, hd(T) =/= 46];
|
[T || T <- L2, hd(T) =/= 46];
|
||||||
{error, _} ->
|
{error, _} ->
|
||||||
[]
|
[]
|
||||||
end;
|
end.
|
||||||
|
|
||||||
available_themes(xdata) ->
|
|
||||||
lists:map(
|
|
||||||
fun(Theme) ->
|
|
||||||
#xmlel{
|
|
||||||
name = <<"option">>,
|
|
||||||
attrs = [{<<"label">>, iolist_to_binary(Theme)}],
|
|
||||||
children = [
|
|
||||||
#xmlel{
|
|
||||||
name = <<"value">>,
|
|
||||||
attrs = [],
|
|
||||||
children = [{xmlcdata, iolist_to_binary(Theme)}]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
end, available_themes(list)).
|
|
||||||
|
|
||||||
show_presence({image_no_check, Theme, Pr}) ->
|
show_presence({image_no_check, Theme, Pr}) ->
|
||||||
Dir = get_pixmaps_directory(),
|
Dir = get_pixmaps_directory(),
|
||||||
|
|
Loading…
Reference in New Issue