[rygel/rygel-0-16] media-export: Ignore files starting with .
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel/rygel-0-16] media-export: Ignore files starting with .
- Date: Mon, 14 Jan 2013 12:25:03 +0000 (UTC)
commit ed637730a33629be221a5957bb193b5b834ef21c
Author: Jens Georg <jensg openismus com>
Date: Mon Dec 3 19:58:33 2012 +0100
media-export: Ignore files starting with .
.../media-export/rygel-media-export-harvester.vala | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/media-export/rygel-media-export-harvester.vala b/src/plugins/media-export/rygel-media-export-harvester.vala
index 7c9a06c..fc9b7df 100644
--- a/src/plugins/media-export/rygel-media-export-harvester.vala
+++ b/src/plugins/media-export/rygel-media-export-harvester.vala
@@ -234,6 +234,10 @@ internal class Rygel.MediaExport.Harvester : GLib.Object {
}
private void on_changes_done (File file) throws Error {
+ if (file.get_basename ().has_prefix (".")) {
+ return;
+ }
+
if (this.extraction_grace_timers.has_key (file)) {
Source.remove (this.extraction_grace_timers[file]);
} else {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]