aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer-select-file.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-04-12 06:38:18 +0800
committerDan Winship <danw@src.gnome.org>2001-04-12 06:38:18 +0800
commitec65555bc063746af1b1be7178f0f8017eb5e9ea (patch)
tree2681b89073caa6f3d0558410059f8b66181d181e /composer/e-msg-composer-select-file.c
parent9ada799450d62dd4a3992c1f77795194b54018e9 (diff)
downloadgsoc2013-evolution-ec65555bc063746af1b1be7178f0f8017eb5e9ea.tar.gz
gsoc2013-evolution-ec65555bc063746af1b1be7178f0f8017eb5e9ea.tar.zst
gsoc2013-evolution-ec65555bc063746af1b1be7178f0f8017eb5e9ea.zip
Fix previous.
* e-msg-composer-select-file.c (create_file_selection): Fix previous. svn path=/trunk/; revision=9254
Diffstat (limited to 'composer/e-msg-composer-select-file.c')
-rw-r--r--composer/e-msg-composer-select-file.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/composer/e-msg-composer-select-file.c b/composer/e-msg-composer-select-file.c
index 2775791cd6..c575a6d4ad 100644
--- a/composer/e-msg-composer-select-file.c
+++ b/composer/e-msg-composer-select-file.c
@@ -103,11 +103,14 @@ create_file_selection (EMsgComposer *composer)
GtkWidget *widget;
GtkWidget *ok_button;
GtkWidget *cancel_button;
+ char *path;
info = g_new (FileSelectionInfo, 1);
widget = gtk_file_selection_new (NULL);
- gtk_file_selection_set_filename (GTK_FILE_SELECTION (widget), g_get_home_dir ());
+ path = g_strdup_printf ("%s/", g_get_home_dir ());
+ gtk_file_selection_set_filename (GTK_FILE_SELECTION (widget), path);
+ g_free (path);
gtk_window_set_wmclass (GTK_WINDOW (widget), "fileselection",
"Evolution:composer");
ok_button = GTK_FILE_SELECTION (widget)->ok_button;