comparison doodle/gtk/palette.d @ 102:d04c3fe1822c

Typo
author David Bryant <bagnose@gmail.com>
date Thu, 28 Oct 2010 18:29:50 +1030
parents 43cc2135ced0
children 8343c1dafac6
comparison
equal deleted inserted replaced
101:523269b36711 102:d04c3fe1822c
43 else { 43 else {
44 button = new RadioToolButton(group); 44 button = new RadioToolButton(group);
45 } 45 }
46 46
47 auto image = new Image(_iconBase ~ "/" ~ item.iconPath); 47 auto image = new Image(_iconBase ~ "/" ~ item.iconPath);
48 auto label = new Label(item.tooltipText); 48 auto label = new Label(item.labelText);
49 button.setIconWidget(image); 49 button.setIconWidget(image);
50 button.setLabelWidget(label); 50 button.setLabelWidget(label);
51 button.setTooltipText(item.tooltipText); 51 button.setTooltipText(item.tooltipText);
52 52
53 _buttons[item.t] = button; 53 _buttons[item.t] = button;