aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-04-12 01:04:27 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-04-12 01:04:27 +0800
commit4652efde7ffec9b99d1cd04473897cf48a69a293 (patch)
tree13211cdadd863d6e9a3fc1fc2a97c1abda2630a4
parent0fa93ae9cfb883eadf891f165163f95460bb3561 (diff)
downloadgsoc2013-evolution-4652efde7ffec9b99d1cd04473897cf48a69a293.tar
gsoc2013-evolution-4652efde7ffec9b99d1cd04473897cf48a69a293.tar.gz
gsoc2013-evolution-4652efde7ffec9b99d1cd04473897cf48a69a293.tar.bz2
gsoc2013-evolution-4652efde7ffec9b99d1cd04473897cf48a69a293.tar.lz
gsoc2013-evolution-4652efde7ffec9b99d1cd04473897cf48a69a293.tar.xz
gsoc2013-evolution-4652efde7ffec9b99d1cd04473897cf48a69a293.tar.zst
gsoc2013-evolution-4652efde7ffec9b99d1cd04473897cf48a69a293.zip
Set the default filename to the user's homedir.
2001-04-11 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-select-file.c (create_file_selection): Set the default filename to the user's homedir. svn path=/trunk/; revision=9243
-rw-r--r--composer/ChangeLog4
-rw-r--r--composer/e-msg-composer-select-file.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog
index 678923a085..bb7e328032 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -1,7 +1,7 @@
2001-04-11 Jeffrey Stedfast <fejj@ximian.com>
- * e-msg-composer-select-file.c (create_file_selection): Change
- into the user's home dir before opening the filesel.
+ * e-msg-composer-select-file.c (create_file_selection): Set the
+ default filename to the user's homedir.
2001-04-04 Kjartan Maraas <kmaraas@gnome.org>
diff --git a/composer/e-msg-composer-select-file.c b/composer/e-msg-composer-select-file.c
index 94f5c87ce8..2775791cd6 100644
--- a/composer/e-msg-composer-select-file.c
+++ b/composer/e-msg-composer-select-file.c
@@ -106,8 +106,8 @@ create_file_selection (EMsgComposer *composer)
info = g_new (FileSelectionInfo, 1);
- chdir (g_get_home_dir ());
widget = gtk_file_selection_new (NULL);
+ gtk_file_selection_set_filename (GTK_FILE_SELECTION (widget), g_get_home_dir ());
gtk_window_set_wmclass (GTK_WINDOW (widget), "fileselection",
"Evolution:composer");
ok_button = GTK_FILE_SELECTION (widget)->ok_button;