rhythmbox r5600 - in trunk: . sources



Author: jmatthew
Date: Wed Feb 27 12:55:41 2008
New Revision: 5600
URL: http://svn.gnome.org/viewvc/rhythmbox?rev=5600&view=rev

Log:
2008-02-27  Jonathan Matthew  <jonathan d14n org>

	* sources/rb-streaming-source.c: (rb_streaming_source_class_init):
	This class shouldn't return TRUE from impl_can_search, as it knows
	nothing about whether its subclasses can search.  This removes the
	search bar from the last.fm source, which is OK because it didn't work
	anyway.  See bug #430995.


Modified:
   trunk/ChangeLog
   trunk/sources/rb-streaming-source.c

Modified: trunk/sources/rb-streaming-source.c
==============================================================================
--- trunk/sources/rb-streaming-source.c	(original)
+++ trunk/sources/rb-streaming-source.c	Wed Feb 27 12:55:41 2008
@@ -109,7 +109,6 @@
 	source_class->impl_can_copy = (RBSourceFeatureFunc) rb_false_function;
 	source_class->impl_can_delete = (RBSourceFeatureFunc) rb_true_function;
 	source_class->impl_can_pause = (RBSourceFeatureFunc) rb_false_function;
-	source_class->impl_can_search = (RBSourceFeatureFunc) rb_true_function;
 	source_class->impl_handle_eos = impl_handle_eos;
 	source_class->impl_try_playlist = (RBSourceFeatureFunc) rb_true_function;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]