- RrPaint(p->a_icon, target->win, innerw, innerh);
+ RrPaint(p->a_icon, target->iconwin, innerw, innerh);
+
+ /* draw the text */
+ p->a_text->texture[0].data.text.string = target->text;
+ p->a_text->surface.parentx = innerx + ICON_SIZE;
+ p->a_text->surface.parenty = innery;
+ RrPaint(p->a_text, target->textwin, w - innerx - ICON_SIZE - OUTSIDE_BORDER, innerh);