[rygel] tracker: Remove now redundant classes
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [rygel] tracker: Remove now redundant classes
- Date: Sun, 20 Sep 2009 23:28:07 +0000 (UTC)
commit 437edcca572660311fc50e0f5dd33b9fa7058f69
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Sat Sep 19 02:09:29 2009 +0300
tracker: Remove now redundant classes
src/plugins/tracker/Makefile.am | 3 --
.../tracker/rygel-tracker-image-category.vala | 34 --------------------
.../tracker/rygel-tracker-music-category.vala | 34 --------------------
.../tracker/rygel-tracker-root-container.vala | 24 +++++++++-----
.../tracker/rygel-tracker-video-category.vala | 34 --------------------
5 files changed, 15 insertions(+), 114 deletions(-)
---
diff --git a/src/plugins/tracker/Makefile.am b/src/plugins/tracker/Makefile.am
index 514c838..85ffbc7 100644
--- a/src/plugins/tracker/Makefile.am
+++ b/src/plugins/tracker/Makefile.am
@@ -14,9 +14,6 @@ librygel_media_tracker_la_SOURCES = \
rygel-tracker-root-container.vala \
rygel-tracker-metadata-values.vala \
rygel-tracker-search-container.vala \
- rygel-tracker-video-category.vala \
- rygel-tracker-music-category.vala \
- rygel-tracker-image-category.vala \
rygel-tracker-search-result.vala \
rygel-tracker-get-metadata-result.vala \
rygel-tracker-item.vala \
diff --git a/src/plugins/tracker/rygel-tracker-root-container.vala b/src/plugins/tracker/rygel-tracker-root-container.vala
index 8f1e2ba..48edc97 100644
--- a/src/plugins/tracker/rygel-tracker-root-container.vala
+++ b/src/plugins/tracker/rygel-tracker-root-container.vala
@@ -33,15 +33,21 @@ public class Rygel.TrackerRootContainer : Rygel.SimpleContainer {
public TrackerRootContainer (string title) {
base.root (title);
- this.children.add (new TrackerImageCategory ("16",
- this,
- "Pictures"));
- this.children.add (new TrackerMusicCategory ("14",
- this,
- "Music"));
- this.children.add (new TrackerVideoCategory ("15",
- this,
- "Videos"));
+ this.children.add (new TrackerSearchContainer (
+ "16",
+ this,
+ "Pictures",
+ TrackerImageItem.SERVICE));
+ this.children.add (new TrackerSearchContainer (
+ "14",
+ this,
+ "Music",
+ TrackerMusicItem.SERVICE));
+ this.children.add (new TrackerSearchContainer (
+ "15",
+ this,
+ "Videos",
+ TrackerVideoItem.SERVICE));
this.children.add (new TrackerMetadataValues ("Audio:Artist",
"17",
this,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]