Move common code from CategoryContainer children to CategoryContainer.
this.item_factory = item_factory;
this.add_child (new CategoryAllContainer (this));
+ this.add_child (new Tags (this, item_factory));
+ this.add_child (new Titles (this, this.item_factory));
+ this.add_child (new New (this, this.item_factory));
}
}
this.add_child (new Artists (this));
this.add_child (new Albums (this));
this.add_child (new Genre (this));
- this.add_child (new Tags (this, item_factory));
- this.add_child (new Titles (this, this.item_factory));
- this.add_child (new New (this, this.item_factory));
}
}
public Pictures (string id, MediaContainer parent, string title) {
base (id, parent, title, new PictureItemFactory ());
- this.add_child (new Tags (this, this.item_factory));
this.add_child (new Years (this, this.item_factory));
- this.add_child (new Titles (this, this.item_factory));
- this.add_child (new New (this, this.item_factory));
}
}
public Videos (string id, MediaContainer parent, string title) {
base (id, parent, title, new VideoItemFactory ());
- this.add_child (new Tags (this, this.item_factory));
this.add_child (new Years (this, this.item_factory));
- this.add_child (new Titles (this, this.item_factory));
- this.add_child (new New (this, this.item_factory));
}
}