rhythmbox r6064 - in trunk: . plugins/generic-player plugins/mtpdevice
- From: teuf svn gnome org
- To: svn-commits-list gnome org
- Subject: rhythmbox r6064 - in trunk: . plugins/generic-player plugins/mtpdevice
- Date: Mon, 17 Nov 2008 10:14:49 +0000 (UTC)
Author: teuf
Date: Mon Nov 17 10:14:49 2008
New Revision: 6064
URL: http://svn.gnome.org/viewvc/rhythmbox?rev=6064&view=rev
Log:
Use rb_removable_media_source_should_paste_no_duplicate in MTP and generic player sources
Modified:
trunk/ChangeLog
trunk/plugins/generic-player/rb-generic-player-source.c
trunk/plugins/mtpdevice/rb-mtp-source.c
Modified: trunk/plugins/generic-player/rb-generic-player-source.c
==============================================================================
--- trunk/plugins/generic-player/rb-generic-player-source.c (original)
+++ trunk/plugins/generic-player/rb-generic-player-source.c Mon Nov 17 10:14:49 2008
@@ -166,6 +166,7 @@
rms_class->impl_build_dest_uri = impl_build_dest_uri;
rms_class->impl_get_mime_types = impl_get_mime_types;
+ rms_class->impl_should_paste = rb_removable_media_source_should_paste_no_duplicate;
klass->impl_get_mount_path = default_get_mount_path;
klass->impl_load_playlists = default_load_playlists;
Modified: trunk/plugins/mtpdevice/rb-mtp-source.c
==============================================================================
--- trunk/plugins/mtpdevice/rb-mtp-source.c (original)
+++ trunk/plugins/mtpdevice/rb-mtp-source.c Mon Nov 17 10:14:49 2008
@@ -117,6 +117,7 @@
source_class->impl_can_delete = (RBSourceFeatureFunc) rb_true_function;
#ifdef ENABLE_TRACK_TRANSFER
source_class->impl_can_paste = (RBSourceFeatureFunc) rb_true_function;
+ rms_class->impl_should_paste = rb_removable_media_source_should_paste_no_duplicate;
#endif
source_class->impl_can_move_to_trash = (RBSourceFeatureFunc) rb_false_function;
source_class->impl_can_copy = (RBSourceFeatureFunc) rb_true_function;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]