[rygel] media-export: Don't share anything by default
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] media-export: Don't share anything by default
- Date: Sat, 24 Jul 2010 00:55:30 +0000 (UTC)
commit 2307a570d3b9dfdba2d1518a8c6f5015032dda8a
Author: Jens Georg <mail jensge org>
Date: Fri Jul 23 09:54:53 2010 +0300
media-export: Don't share anything by default
.../rygel-media-export-root-container.vala | 14 --------------
1 files changed, 0 insertions(+), 14 deletions(-)
---
diff --git a/src/plugins/media-export/rygel-media-export-root-container.vala b/src/plugins/media-export/rygel-media-export-root-container.vala
index 09924f9..e3c9a9f 100644
--- a/src/plugins/media-export/rygel-media-export-root-container.vala
+++ b/src/plugins/media-export/rygel-media-export-root-container.vala
@@ -45,20 +45,6 @@ public class Rygel.MediaExport.RootContainer : Rygel.MediaExport.DBContainer {
uris = new ArrayList<string> ();
}
- // either an error occured or the gconf key is not set
- if (uris.size == 0) {
- debug (_("Nothing configured, using XDG special folders"));
- UserDirectory[] xdg_directories = { UserDirectory.MUSIC,
- UserDirectory.PICTURES,
- UserDirectory.VIDEOS };
- foreach (var directory in xdg_directories) {
- var uri = Environment.get_user_special_dir (directory);
- if (uri != null) {
- uris.add (uri);
- }
- }
- }
-
var dbus_uris = this.dynamic_elements.get_uris ();
if (dbus_uris != null) {
uris.add_all (dbus_uris);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]