diff options
Diffstat (limited to 'apps/gui/skin_engine/skin_tokens.c')
-rw-r--r-- | apps/gui/skin_engine/skin_tokens.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/gui/skin_engine/skin_tokens.c b/apps/gui/skin_engine/skin_tokens.c index c3f803e4a3..b5c32584b1 100644 --- a/apps/gui/skin_engine/skin_tokens.c +++ b/apps/gui/skin_engine/skin_tokens.c | |||
@@ -57,6 +57,7 @@ | |||
57 | 57 | ||
58 | #include "wps_internals.h" | 58 | #include "wps_internals.h" |
59 | #include "skin_engine.h" | 59 | #include "skin_engine.h" |
60 | #include "statusbar-skinned.h" | ||
60 | #include "root_menu.h" | 61 | #include "root_menu.h" |
61 | #ifdef HAVE_RECORDING | 62 | #ifdef HAVE_RECORDING |
62 | #include "recording.h" | 63 | #include "recording.h" |
@@ -706,11 +707,11 @@ const char *get_token_value(struct gui_wps *gwps, | |||
706 | return buf; | 707 | return buf; |
707 | 708 | ||
708 | case SKIN_TOKEN_LIST_TITLE_TEXT: | 709 | case SKIN_TOKEN_LIST_TITLE_TEXT: |
709 | return (char*)token->value.data; | 710 | return sb_get_title(gwps->display->screen_type); |
710 | case SKIN_TOKEN_LIST_TITLE_ICON: | 711 | case SKIN_TOKEN_LIST_TITLE_ICON: |
711 | if (intval) | 712 | if (intval) |
712 | *intval = token->value.i; | 713 | *intval = sb_get_icon(gwps->display->screen_type); |
713 | snprintf(buf, buf_size, "%d", token->value.i); | 714 | snprintf(buf, buf_size, "%d",sb_get_icon(gwps->display->screen_type)); |
714 | return buf; | 715 | return buf; |
715 | 716 | ||
716 | case SKIN_TOKEN_PLAYLIST_NAME: | 717 | case SKIN_TOKEN_PLAYLIST_NAME: |