aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-attachment-bar.c
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@src.gnome.org>2006-08-10 15:58:44 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2006-08-10 15:58:44 +0800
commit3e805c974231079ce66c535993c92c4be48696e2 (patch)
tree3ee53b6157135790029c038c3b161731eadea8c6 /widgets/misc/e-attachment-bar.c
parent38280bb1daa5fe3712f28781ac61591bcdd521d1 (diff)
downloadgsoc2013-evolution-3e805c974231079ce66c535993c92c4be48696e2.tar
gsoc2013-evolution-3e805c974231079ce66c535993c92c4be48696e2.tar.gz
gsoc2013-evolution-3e805c974231079ce66c535993c92c4be48696e2.tar.bz2
gsoc2013-evolution-3e805c974231079ce66c535993c92c4be48696e2.tar.lz
gsoc2013-evolution-3e805c974231079ce66c535993c92c4be48696e2.tar.xz
gsoc2013-evolution-3e805c974231079ce66c535993c92c4be48696e2.tar.zst
gsoc2013-evolution-3e805c974231079ce66c535993c92c4be48696e2.zip
Fix for bug #341482
svn path=/trunk/; revision=32522
Diffstat (limited to 'widgets/misc/e-attachment-bar.c')
-rw-r--r--widgets/misc/e-attachment-bar.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/widgets/misc/e-attachment-bar.c b/widgets/misc/e-attachment-bar.c
index 3efe865681..4b67ba21ec 100644
--- a/widgets/misc/e-attachment-bar.c
+++ b/widgets/misc/e-attachment-bar.c
@@ -790,7 +790,7 @@ eab_drag_data_get(EAttachmentBar *bar, GdkDragContext *drag, GtkSelectionData *d
if (!(path = temp_save_part (attachment->body)))
continue;
- url = camel_url_new ("file:", NULL);
+ url = camel_url_new ("file://", NULL);
camel_url_set_path (url, path);
attachment->store_uri = camel_url_to_string (url, 0);
camel_url_free (url);
@@ -903,13 +903,13 @@ eab_icon_clicked_cb (EAttachmentBar *bar, GdkEvent *event, gpointer *dummy)
/* Check if the file is stored already */
if (!attachment->store_uri) {
path = temp_save_part (attachment->body);
- url = camel_url_new ("file:", NULL);
+ url = camel_url_new ("file://", NULL);
camel_url_set_path (url, path);
attachment->store_uri = camel_url_to_string (url, 0);
camel_url_free (url);
g_free (path);
}
-
+
/* launch the url now */
gnome_url_show (attachment->store_uri, &error);
if (error) {