Commit 09b6a0c7 authored by Debarshi Ray's avatar Debarshi Ray

Don't use an intermediate Imports sub-directory for imported content

By default, Shotwell places the date-encoded sub-directories
containing the imported content directly under ~/Pictures instead of
using an intermediate sub-directory. It's probably better to stay
close to the status quo for the time being.

parent 20868a30
......@@ -1393,7 +1393,7 @@ photos_application_import_add_to_collection (PhotosApplication *self, gpointer u
date_created_latest_str = g_date_time_format (date_created_latest, _("%-d %B %Y"));
pictures_path = g_get_user_special_dir (G_USER_DIRECTORY_PICTURES);
import_sub_path = g_build_filename (pictures_path, PHOTOS_IMPORT_SUBPATH, date_created_latest_str, NULL);
import_sub_path = g_build_filename (pictures_path, date_created_latest_str, NULL);
g_mkdir_with_parents (import_sub_path, 0777);
g_clear_object (&data->import_sub_dir);
......@@ -48,7 +48,6 @@ G_BEGIN_DECLS
typedef enum
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment