Index: apps/gui/skin_engine/skin_display.c
===================================================================
--- apps/gui/skin_engine/skin_display.c (revision 24861)
+++ apps/gui/skin_engine/skin_display.c (working copy)
@@ -37,6 +37,7 @@
#include "screen_access.h"
#include "playlist.h"
#include "audio.h"
+#include "pebble.h"

#ifdef HAVE_LCD_BITMAP
#include "peakmeter.h"
@@ -80,6 +81,11 @@
return retval;
}

+static void draw_pebble(unsigned short pebble)
+{
+ pebble_run(pebble);
+}
+
#ifdef HAVE_LCD_BITMAP

void skin_statusbar_changed(struct gui_wps *skin)
@@ -309,7 +315,6 @@
}
}

-
/* clears the area where the image was shown */
static void clear_image_pos(struct gui_wps *gwps, struct gui_img *img)
{
@@ -746,6 +751,9 @@
draw_playlist_viewer_list(gwps, data->tokens[i].value.data);
break;
#endif
+ case WPS_TOKEN_PEBBLE:
+ draw_pebble(data->tokens[i].value.i);
+ break;
default:
{
/* get the value of the tag and copy it to the buffer */