diff options
author | Lionel Landwerling <lionel.g.landwerlin@linux.intel.com> | 2011-02-28 17:00:13 +0200 |
---|---|---|
committer | Arnel A. Borja <arnelborja@src.gnome.org> | 2013-08-31 00:56:46 +0800 |
commit | 6b0f350a99352908a7fd8387d845d08b1a1dfb12 (patch) | |
tree | 3b7333c0ee804a9d0416ebfece71509114eb52eb | |
parent | 1bc2af04441a5d64173b1d67be01268269f088d0 (diff) | |
download | libmediaart-6b0f350a99352908a7fd8387d845d08b1a1dfb12.tar.gz |
libtracker-miner: Add mount-name to tracker:Volume as nie:title Author: Lionel Landwerling <lionel.g.landwerlin@linux.intel.com>
-rw-r--r-- | src/libtracker-miner/tracker-storage.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/libtracker-miner/tracker-storage.c b/src/libtracker-miner/tracker-storage.c index b80ccb6..0630f2a 100644 --- a/src/libtracker-miner/tracker-storage.c +++ b/src/libtracker-miner/tracker-storage.c @@ -104,11 +104,12 @@ tracker_storage_class_init (TrackerStorageClass *klass) G_SIGNAL_RUN_LAST, 0, NULL, NULL, - tracker_marshal_VOID__STRING_STRING_BOOLEAN_BOOLEAN, + tracker_marshal_VOID__STRING_STRING_STRING_BOOLEAN_BOOLEAN, G_TYPE_NONE, - 4, + 5, G_TYPE_STRING, G_TYPE_STRING, + G_TYPE_STRING, G_TYPE_BOOLEAN, G_TYPE_BOOLEAN); @@ -325,6 +326,7 @@ static void mount_add_new (TrackerStorage *storage, const gchar *uuid, const gchar *mount_point, + const gchar *mount_name, gboolean removable_device, gboolean optical_disc) { @@ -341,6 +343,7 @@ mount_add_new (TrackerStorage *storage, 0, uuid, mount_point, + mount_name, removable_device, optical_disc, NULL); @@ -663,7 +666,7 @@ mount_add (TrackerStorage *storage, is_removable ? "yes" : "no", is_optical ? "yes" : "no", mount_path); - mount_add_new (storage, uuid, mount_path, is_removable, is_optical); + mount_add_new (storage, uuid, mount_path, mount_name, is_removable, is_optical); } else { g_debug (" Skipping mount point with UUID: '%s', path: '%s', already managed: '%s'", uuid ? uuid : "none", |