summaryrefslogtreecommitdiffstats
path: root/lib/skin_parser
diff options
context:
space:
mode:
authorFrank Gevaerts <frank@gevaerts.be>2012-02-21 14:59:52 +0100
committerFrank Gevaerts <frank@gevaerts.be>2012-02-29 14:11:33 +0100
commitb9bf6cdb2c400ccfa0c00999468dbd2b1f0ac8d3 (patch)
treeaeef8297fcb9b0b2155c0550b9fc5a8ce2d859a1 /lib/skin_parser
parent8efb8f97c4882e3142f62bf35c822cae6fb120c3 (diff)
downloadrockbox-b9bf6cdb2c400ccfa0c00999468dbd2b1f0ac8d3.tar.gz
rockbox-b9bf6cdb2c400ccfa0c00999468dbd2b1f0ac8d3.tar.bz2
rockbox-b9bf6cdb2c400ccfa0c00999468dbd2b1f0ac8d3.zip
Call skinlist_set_cfg() unconditionally, i.e. also if do_refresh==false
This call is cheap (except if the list config changes, but then it should be called anyway), and do_refresh isn't always set appropriately, e.g. when the screen has just changed, which could cause the list config to be null at bad times, which caused the standard list to be shown instead of the desired skinned list. Change-Id: I47dd2552d6d1062456ede4529c4891e80a8159ea Reviewed-on: http://gerrit.rockbox.org/113 Reviewed-by: Frank Gevaerts <frank@gevaerts.be>
Diffstat (limited to 'lib/skin_parser')
-rw-r--r--lib/skin_parser/tag_table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/skin_parser/tag_table.c b/lib/skin_parser/tag_table.c
index 47a0abb046..fb61da501b 100644
--- a/lib/skin_parser/tag_table.c
+++ b/lib/skin_parser/tag_table.c
@@ -196,7 +196,7 @@ static const struct tag_info legal_tags[] =
{ SKIN_TOKEN_LIST_ITEM_NUMBER, "LN", "", SKIN_REFRESH_DYNAMIC },
{ SKIN_TOKEN_LIST_TITLE_ICON, "Li" , "", SKIN_REFRESH_DYNAMIC },
{ SKIN_TOKEN_LIST_ITEM_ICON, "LI", "|IS", SKIN_REFRESH_DYNAMIC },
- { SKIN_TOKEN_LIST_ITEM_CFG, "Lb" , "Sii|S", SKIN_REFRESH_STATIC },
+ { SKIN_TOKEN_LIST_ITEM_CFG, "Lb" , "Sii|S", SKIN_REFRESH_DYNAMIC},
{ SKIN_TOKEN_LIST_ITEM_IS_SELECTED, "Lc" , "", SKIN_REFRESH_DYNAMIC },
{ SKIN_TOKEN_LIST_NEEDS_SCROLLBAR, "LB", BAR_PARAMS, SKIN_REFRESH_DYNAMIC },