[rhythmbox] ipod and generic-player: implement impl_want_uri and impl_uri_is_source
- From: Jonathan Matthew <jmatthew src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox] ipod and generic-player: implement impl_want_uri and impl_uri_is_source
- Date: Fri, 14 Sep 2012 12:00:41 +0000 (UTC)
commit 3837e6d1df9b3f16f54075853954f6dc6346a233
Author: Jonathan Matthew <jonathan d14n org>
Date: Fri Sep 14 21:59:19 2012 +1000
ipod and generic-player: implement impl_want_uri and impl_uri_is_source
https://bugzilla.gnome.org/show_bug.cgi?id=682677
plugins/generic-player/rb-generic-player-source.c | 2 ++
plugins/ipod/rb-ipod-source.c | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/plugins/generic-player/rb-generic-player-source.c b/plugins/generic-player/rb-generic-player-source.c
index 6a1aaef..4c92bcb 100644
--- a/plugins/generic-player/rb-generic-player-source.c
+++ b/plugins/generic-player/rb-generic-player-source.c
@@ -172,6 +172,8 @@ rb_generic_player_source_class_init (RBGenericPlayerSourceClass *klass)
source_class->impl_can_move_to_trash = (RBSourceFeatureFunc) rb_false_function;
source_class->impl_can_paste = impl_can_paste;
source_class->impl_paste = impl_paste;
+ source_class->impl_want_uri = rb_device_source_want_uri;
+ source_class->impl_uri_is_source = rb_device_source_uri_is_source;
mps_class->impl_get_entries = impl_get_entries;
mps_class->impl_get_capacity = impl_get_capacity;
diff --git a/plugins/ipod/rb-ipod-source.c b/plugins/ipod/rb-ipod-source.c
index 652ed83..4d32ed8 100644
--- a/plugins/ipod/rb-ipod-source.c
+++ b/plugins/ipod/rb-ipod-source.c
@@ -188,6 +188,8 @@ rb_ipod_source_class_init (RBiPodSourceClass *klass)
source_class->impl_can_paste = (RBSourceFeatureFunc) rb_true_function;
source_class->impl_paste = impl_paste;
+ source_class->impl_want_uri = rb_device_source_want_uri;
+ source_class->impl_uri_is_source = rb_device_source_uri_is_source;
mps_class->impl_get_entries = impl_get_entries;
mps_class->impl_get_capacity = impl_get_capacity;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]