[tracker/tracker-0.8] TST: rename Music category to Audio, which is more accurate
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.8] TST: rename Music category to Audio, which is more accurate
- Date: Thu, 6 May 2010 17:56:54 +0000 (UTC)
commit b5a38561f8f1064cd7c8045df4a730bbcc7ec8e3
Author: Tshepang Lekhonkhobe <tshepang gmail com>
Date: Sun May 2 10:34:41 2010 +0200
TST: rename Music category to Audio, which is more accurate
src/tracker-search-tool/tracker-metadata-tile.gs | 6 +++---
src/tracker-search-tool/tracker-utils.gs | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/tracker-search-tool/tracker-metadata-tile.gs b/src/tracker-search-tool/tracker-metadata-tile.gs
index dc47804..b079f6e 100644
--- a/src/tracker-search-tool/tracker-metadata-tile.gs
+++ b/src/tracker-search-tool/tracker-metadata-tile.gs
@@ -276,7 +276,7 @@ class TrackerMetadataTile : EventBox
if res.contains ("nfo#Video") do return Categories.Video
if res.contains ("nfo#Image") do return Categories.Image
- if res.contains ("nfo#Audio") do return Categories.Music
+ if res.contains ("nfo#Audio") do return Categories.Audio
if res.contains ("nfo#Document") do return Categories.Document
if res.contains ("nfo#Software") do return Categories.Application
if res.contains ("nfo#Folder") do return Categories.Folder
@@ -333,7 +333,7 @@ class TrackerMetadataTile : EventBox
- def private DisplayMusicDetails (uri : string)
+ def private DisplayAudioDetails (uri : string)
var query = "select nie:title(?s) nmm:performer(?s) nmm:musicAlbum(?s) Where { ?s nie:url \"%s\" }".printf(uri)
var result = Query.Query (query)
@@ -402,7 +402,7 @@ class TrackerMetadataTile : EventBox
case cat
when Categories.Application do DisplayApplicationDetails (uri)
- when Categories.Music do DisplayMusicDetails (uri)
+ when Categories.Audio do DisplayAudioDetails (uri)
when Categories.Video do DisplayVideoDetails (uri)
when Categories.Image do DisplayImageDetails (uri)
when Categories.Document do DisplayDocumentDetails (uri)
diff --git a/src/tracker-search-tool/tracker-utils.gs b/src/tracker-search-tool/tracker-utils.gs
index 14ca74a..4df2c28 100644
--- a/src/tracker-search-tool/tracker-utils.gs
+++ b/src/tracker-search-tool/tracker-utils.gs
@@ -32,7 +32,7 @@ enum Categories
EmailAttachment
File
Folder
- Music
+ Audio
Video
Image
Document
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]