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
This commit is contained in:
committed by
Jeffrey Stedfast
parent
0fa93ae9cf
commit
4652efde7f
@ -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>
|
||||
|
||||
|
||||
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user