aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIain Holmes <iain@src.gnome.org>2001-09-22 04:30:09 +0800
committerIain Holmes <iain@src.gnome.org>2001-09-22 04:30:09 +0800
commitb138a2e0abfdc37f00dc494acb21c65d41d75758 (patch)
tree8bc803fa568473d057d7ab4ab1f9e5e985886d38
parent57b09679d304590ffe2f642f33f333be0bb6bf21 (diff)
downloadgsoc2013-evolution-b138a2e0abfdc37f00dc494acb21c65d41d75758.tar
gsoc2013-evolution-b138a2e0abfdc37f00dc494acb21c65d41d75758.tar.gz
gsoc2013-evolution-b138a2e0abfdc37f00dc494acb21c65d41d75758.tar.bz2
gsoc2013-evolution-b138a2e0abfdc37f00dc494acb21c65d41d75758.tar.lz
gsoc2013-evolution-b138a2e0abfdc37f00dc494acb21c65d41d75758.tar.xz
gsoc2013-evolution-b138a2e0abfdc37f00dc494acb21c65d41d75758.tar.zst
gsoc2013-evolution-b138a2e0abfdc37f00dc494acb21c65d41d75758.zip
Expand a ~ in the path
svn path=/trunk/; revision=13062
-rw-r--r--shell/ChangeLog5
-rw-r--r--shell/e-shell-importer.c2
2 files changed, 6 insertions, 1 deletions
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 <iain@ximian.com>
+
+ * e-shell-importer.c (folder_selected): Use GNOME functions to get
+ full expanded path from file entry.
+
2001-09-20 Ettore Perazzoli <ettore@ximian.com>
* 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);