[Goodies-commits] r6125 - xfburn/trunk/xfburn

David Mohr squisher at xfce.org
Sun Nov 16 20:40:19 CET 2008


Author: squisher
Date: 2008-11-16 19:40:19 +0000 (Sun, 16 Nov 2008)
New Revision: 6125

Modified:
   xfburn/trunk/xfburn/xfburn-data-composition.c
Log:
Allow adding of hidden files. Verified that device files do work. Both are still not shown in the file selector, but can get added through the command line

Modified: xfburn/trunk/xfburn/xfburn-data-composition.c
===================================================================
--- xfburn/trunk/xfburn/xfburn-data-composition.c	2008-11-16 19:34:11 UTC (rev 6124)
+++ xfburn/trunk/xfburn/xfburn-data-composition.c	2008-11-16 19:40:19 UTC (rev 6125)
@@ -1011,7 +1011,7 @@
   struct stat s;
 
   if ((g_lstat (path, &s) == 0)) {
-    gchar *basename = NULL;
+    //gchar *basename = NULL;
     gchar *humansize = NULL;
     GtkTreeIter *parent = NULL;
     GtkTreePath *tree_path = NULL;
@@ -1020,15 +1020,15 @@
       return FALSE;
     }
     
+    /* allow hidden files
     basename = g_path_get_basename (path);
     if ( (strlen (basename) > 1) && (basename[0] == '.') ) {
-      /* FIXME: is this really what we want? */
-      /* don't add hidden files/directories */
 
       g_free (basename);  
       return FALSE;
     }
     g_free (basename);
+    */
     
     xfburn_adding_progress_pulse (XFBURN_ADDING_PROGRESS (priv->progress));
     




More information about the Goodies-commits mailing list