var vbox = new Gtk.VBox (false, 0);
foreach (LedPattern pattern in list) {
+ // Skip PatternInhibit, which the LED Pattern Editor uses
+ // internally to make MCE keep its hands off the LEDs.
+ if (pattern.name == "PatternInhibit")
+ continue;
+
var button = new LedPatternButton (pattern);
Hildon.gtk_widget_set_theme_size (button, Hildon.SizeType.FINGER_HEIGHT);
button.set_data ("pattern", pattern);