Index: bindings/python/rb.defs
===================================================================
RCS file: /cvs/gnome/rhythmbox/bindings/python/rb.defs,v
retrieving revision 1.15
diff -u -r1.15 rb.defs
--- bindings/python/rb.defs	9 May 2006 23:04:28 -0000	1.15
+++ bindings/python/rb.defs	10 May 2006 07:01:29 -0000
@@ -1630,6 +1630,15 @@
   (return-type "GList*")
 )
 
+(define-method get_property_view
+  (of-object "RBLibraryBrowser")
+  (c-name "rb_library_browser_get_property_view")
+  (return-type "RBPropertyView*")
+  (parameters
+    '("RhythmDBPropType" "type")
+  )
+)
+
 (define-method has_selection
   (of-object "RBLibraryBrowser")
   (c-name "rb_library_browser_has_selection")
Index: sources/rb-browser-source.c
===================================================================
RCS file: /cvs/gnome/rhythmbox/sources/rb-browser-source.c,v
retrieving revision 1.6
diff -u -r1.6 rb-browser-source.c
--- sources/rb-browser-source.c	26 Apr 2006 13:18:16 -0000	1.6
+++ sources/rb-browser-source.c	10 May 2006 07:01:31 -0000
@@ -519,12 +519,16 @@
 {
 	GList *props;
 	RBBrowserSource *source;
+	RBPropertyView *view;
 
 	rb_debug ("choosing genre");
 
 	g_object_get (G_OBJECT (shell), "selected-source", &source, NULL);
 	props = rb_source_gather_selected_properties (RB_SOURCE (source), RHYTHMDB_PROP_GENRE);
-	rb_library_browser_set_selection (source->priv->browser, RHYTHMDB_PROP_GENRE, props);
+	view = rb_library_browser_get_property_view (source->priv->browser, RHYTHMDB_PROP_GENRE);
+	if (view)
+		rb_property_view_set_selection (view, props);
+	
 	rb_list_deep_free (props);
 	g_object_unref (source);
 }
@@ -535,12 +539,16 @@
 {
 	GList *props;	
 	RBBrowserSource *source;
+	RBPropertyView *view;
 
 	rb_debug ("choosing artist");
 
 	g_object_get (G_OBJECT (shell), "selected-source", &source, NULL);
 	props = rb_source_gather_selected_properties (RB_SOURCE (source), RHYTHMDB_PROP_ARTIST);
-	rb_library_browser_set_selection (source->priv->browser, RHYTHMDB_PROP_ARTIST, props);
+	view = rb_library_browser_get_property_view (source->priv->browser, RHYTHMDB_PROP_ARTIST);
+	if (view)
+		rb_property_view_set_selection (view, props);
+
 	rb_list_deep_free (props);
 	g_object_unref (source);
 }
@@ -551,12 +559,16 @@
 {
 	GList *props;	
 	RBBrowserSource *source;
+	RBPropertyView *view;
 
 	rb_debug ("choosing album");
 
 	g_object_get (G_OBJECT (shell), "selected-source", &source, NULL);
 	props = rb_source_gather_selected_properties (RB_SOURCE (source), RHYTHMDB_PROP_ALBUM);
-	rb_library_browser_set_selection (source->priv->browser, RHYTHMDB_PROP_ALBUM, props);
+	view = rb_library_browser_get_property_view (source->priv->browser, RHYTHMDB_PROP_ALBUM);
+	if (view)
+		rb_property_view_set_selection (view, props);
+
 	rb_list_deep_free (props);
 	g_object_unref (source);
 }
Index: widgets/rb-library-browser.h
===================================================================
RCS file: /cvs/gnome/rhythmbox/widgets/rb-library-browser.h,v
retrieving revision 1.4
diff -u -r1.4 rb-library-browser.h
--- widgets/rb-library-browser.h	22 Apr 2006 06:38:06 -0000	1.4
+++ widgets/rb-library-browser.h	10 May 2006 07:01:31 -0000
@@ -26,6 +26,7 @@
 
 #include "rhythmdb.h"
 #include "rhythmdb-query-model.h"
+#include "rb-property-view.h"
 
 G_BEGIN_DECLS
 
@@ -53,12 +54,16 @@
 						      RhythmDBQueryModel *model,
 						      gboolean query_pending);
 
-gboolean rb_library_browser_reset (RBLibraryBrowser *widget);
-RhythmDBQuery* rb_library_browser_construct_query (RBLibraryBrowser *widget);
-GList* rb_library_browser_get_property_views (RBLibraryBrowser *widget);
-
-gboolean rb_library_browser_has_selection (RBLibraryBrowser *widget);
-void rb_library_browser_set_selection (RBLibraryBrowser *widget, RhythmDBPropType type, GList *list);
+gboolean 		rb_library_browser_reset (RBLibraryBrowser *widget);
+RhythmDBQuery* 		rb_library_browser_construct_query (RBLibraryBrowser *widget);
+GList* 			rb_library_browser_get_property_views (RBLibraryBrowser *widget);
+RBPropertyView*		rb_library_browser_get_property_view (RBLibraryBrowser *widget,
+							      RhythmDBPropType type);
+
+gboolean 		rb_library_browser_has_selection (RBLibraryBrowser *widget);
+void 			rb_library_browser_set_selection (RBLibraryBrowser *widget, 
+							  RhythmDBPropType type, 
+							  GList *list);
 
 
 G_END_DECLS
Index: widgets/rb-library-browser.c
===================================================================
RCS file: /cvs/gnome/rhythmbox/widgets/rb-library-browser.c,v
retrieving revision 1.10
diff -u -r1.10 rb-library-browser.c
--- widgets/rb-library-browser.c	22 Apr 2006 06:49:46 -0000	1.10
+++ widgets/rb-library-browser.c	10 May 2006 07:01:31 -0000
@@ -619,6 +619,17 @@
 	return rb_collate_hash_table_values (priv->property_views);
 }
 
+RBPropertyView*
+rb_library_browser_get_property_view (RBLibraryBrowser *widget,
+				      RhythmDBPropType type)
+{
+	RBLibraryBrowserPrivate *priv = RB_LIBRARY_BROWSER_GET_PRIVATE (widget);
+	RBPropertyView *view;
+
+	view = g_hash_table_lookup (priv->property_views, GINT_TO_POINTER (type));
+	return view;
+}
+
 void
 rb_library_browser_set_model (RBLibraryBrowser *widget, 
 			      RhythmDBQueryModel *model,
