#! /bin/sh /usr/share/dpatch/dpatch-run ## 12_not_absolute_path_fix.dpatch by ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: https://launchpad.net/bugs/34077 @DPATCH@ diff -rup gthumb-2.7.4/src/dlg-photo-importer.c gthumb-2.7.4+/src/dlg-photo-importer.c --- gthumb-2.7.4/src/dlg-photo-importer.c 2006-01-05 05:01:59.000000000 -0500 +++ gthumb-2.7.4+/src/dlg-photo-importer.c 2006-03-20 11:45:19.000000000 -0500 @@ -1496,7 +1505,7 @@ ok_clicked_cb (GtkButton *button, if (sel_list != NULL) { for (scan = sel_list; scan; scan = scan->next) { FileData *fdata = scan->data; - const char *filename = fdata->path; + const char *filename = get_file_path_from_uri (fdata->path); file_list = g_list_prepend (file_list, g_strdup (filename)); } if (file_list != NULL) @@ -1641,7 +1650,7 @@ import_delete_cb (GtkButton *button, if (sel_list != NULL) { for (scan = sel_list; scan; scan = scan->next) { FileData *fdata = scan->data; - const char *filename = fdata->path; + const char *filename = get_file_path_from_uri (fdata->path); delete_list = g_list_prepend (delete_list, g_strdup (filename)); } if (delete_list != NULL)