From ec65555bc063746af1b1be7178f0f8017eb5e9ea Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Wed, 11 Apr 2001 22:38:18 +0000 Subject: Fix previous. * e-msg-composer-select-file.c (create_file_selection): Fix previous. svn path=/trunk/; revision=9254 --- composer/ChangeLog | 5 +++++ composer/e-msg-composer-select-file.c | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'composer') diff --git a/composer/ChangeLog b/composer/ChangeLog index bb7e328032..cafe3f7fbd 100644 --- a/composer/ChangeLog +++ b/composer/ChangeLog @@ -1,3 +1,8 @@ +2001-04-11 Dan Winship + + * e-msg-composer-select-file.c (create_file_selection): Fix + previous. + 2001-04-11 Jeffrey Stedfast * e-msg-composer-select-file.c (create_file_selection): Set the 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; -- cgit