From b138a2e0abfdc37f00dc494acb21c65d41d75758 Mon Sep 17 00:00:00 2001 From: Iain Holmes Date: Fri, 21 Sep 2001 20:30:09 +0000 Subject: Expand a ~ in the path svn path=/trunk/; revision=13062 --- shell/ChangeLog | 5 +++++ shell/e-shell-importer.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/shell/ChangeLog b/shell/ChangeLog index 0e35b6f4c3..8d1c31e301 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,8 @@ +2001-09-21 Iain Holmes + + * e-shell-importer.c (folder_selected): Use GNOME functions to get + full expanded path from file entry. + 2001-09-20 Ettore Perazzoli * e-storage-set-view.c (tree_drag_motion): Check for a component diff --git a/shell/e-shell-importer.c b/shell/e-shell-importer.c index 55145ff962..b6981747d4 100644 --- a/shell/e-shell-importer.c +++ b/shell/e-shell-importer.c @@ -618,7 +618,7 @@ folder_selected (EShellFolderSelectionDialog *dialog, char *filename, *iid; iid = g_strdup (data->choosen_iid); - filename = g_strdup (gtk_entry_get_text (GTK_ENTRY (gnome_file_entry_gtk_entry (GNOME_FILE_ENTRY (data->filepage->filename))))); + filename = gnome_file_entry_get_full_path (GNOME_FILE_ENTRY (data->filepage->filename), FALSE); gtk_widget_destroy (data->dialog); start_import (path, filename, iid); -- cgit v1.2.3