summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2013-03-29 17:54:56 +0100
committerJuan A. Suarez Romero <jasuarez@igalia.com>2013-04-04 09:25:08 +0000
commita3dd9a47afff1b94f3af0ae5720e8e86f9363de2 (patch)
tree9c2418ad4eebe146862f11194586f7cfd067003e
parentf34be55260b580099e8d45ac7be4d7d257387ace (diff)
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
-rw-r--r--src/optical-media/grl-optical-media.c1
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);