[grilo-plugins] optical-media: Don't recurse when looking for DVDs



commit a3dd9a47afff1b94f3af0ae5720e8e86f9363de2
Author: Bastien Nocera <hadess hadess net>
Date:   Fri Mar 29 17:54:56 2013 +0100

    optical-media: Don't recurse when looking for DVDs
    
    It shouldn't do it, but this ensures that we don't try if we
    get the wrong URI by mistake.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=696863

 src/optical-media/grl-optical-media.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/optical-media/grl-optical-media.c b/src/optical-media/grl-optical-media.c
index 8696882..7bdc1ad 100644
--- a/src/optical-media/grl-optical-media.c
+++ b/src/optical-media/grl-optical-media.c
@@ -535,6 +535,7 @@ grl_optical_media_source_browse (GrlSource *source,
   grl_operation_set_data (bs->operation_id, data->cancellable);
 
   data->parser = totem_pl_parser_new ();
+  g_object_set (data->parser, "recurse", FALSE, NULL);
   g_signal_connect (G_OBJECT (data->parser), "entry-parsed",
                     G_CALLBACK (entry_parsed_cb), data);
 


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