[gthumb: 11/15] [burn_disc] do not create empty folders
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb: 11/15] [burn_disc] do not create empty folders
- Date: Sun, 28 Feb 2010 20:34:13 +0000 (UTC)
commit 2d55dcdfde1232db6151db485a828317261f4010
Author: Paolo Bacchilega <paobac src gnome org>
Date: Sun Feb 28 18:17:10 2010 +0100
[burn_disc] do not create empty folders
extensions/burn_disc/actions.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/extensions/burn_disc/actions.c b/extensions/burn_disc/actions.c
index b474ec0..d8dba2d 100644
--- a/extensions/burn_disc/actions.c
+++ b/extensions/burn_disc/actions.c
@@ -162,6 +162,9 @@ add_content_list (gpointer key,
char *relative_path;
char *subfolder_path;
+ if (! g_file_query_exists (sidecar, NULL))
+ continue;
+
relative_path = g_file_get_relative_path (file_parent, sidecar);
subfolder_path = _g_uri_get_parent (relative_path);
if (g_strcmp0 (subfolder_path, "") == 0) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]