diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-04-12 00:47:11 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-04-12 00:47:11 +0800 |
commit | 0fa93ae9cfb883eadf891f165163f95460bb3561 (patch) | |
tree | ea169067dcb56da35178b914ba253dd5457fb7dc /composer | |
parent | 8a38f582313a8acbb9badc28192fdd65a3167597 (diff) | |
download | gsoc2013-evolution-0fa93ae9cfb883eadf891f165163f95460bb3561.tar.gz gsoc2013-evolution-0fa93ae9cfb883eadf891f165163f95460bb3561.tar.zst gsoc2013-evolution-0fa93ae9cfb883eadf891f165163f95460bb3561.zip |
Change into the user's home dir before opening the filesel.
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.
svn path=/trunk/; revision=9242
Diffstat (limited to 'composer')
-rw-r--r-- | composer/ChangeLog | 5 | ||||
-rw-r--r-- | composer/e-msg-composer-select-file.c | 1 | ||||
-rw-r--r-- | composer/e-msg-composer.c | 4 |
3 files changed, 8 insertions, 2 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog index 638ec475e9..678923a085 100644 --- a/composer/ChangeLog +++ b/composer/ChangeLog @@ -1,3 +1,8 @@ +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. + 2001-04-04 Kjartan Maraas <kmaraas@gnome.org> * e-msg-composer-attachment.c: Fix headers. diff --git a/composer/e-msg-composer-select-file.c b/composer/e-msg-composer-select-file.c index b6cdf8e97b..94f5c87ce8 100644 --- a/composer/e-msg-composer-select-file.c +++ b/composer/e-msg-composer-select-file.c @@ -106,6 +106,7 @@ create_file_selection (EMsgComposer *composer) info = g_new (FileSelectionInfo, 1); + chdir (g_get_home_dir ()); widget = gtk_file_selection_new (NULL); gtk_window_set_wmclass (GTK_WINDOW (widget), "fileselection", "Evolution:composer"); diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c index 83a12e231c..c3fc792cf0 100644 --- a/composer/e-msg-composer.c +++ b/composer/e-msg-composer.c @@ -1152,8 +1152,8 @@ fs_selection_get (GtkWidget *widget, GtkSelectionData *sdata, static void menu_file_insert_file_cb (BonoboUIComponent *uic, - void *data, - const char *path) + void *data, + const char *path) { #if 0 EMsgComposer *composer; |