diff options
author | Christopher James Lahey <clahey@ximian.com> | 2004-01-23 03:23:06 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2004-01-23 03:23:06 +0800 |
commit | 8205e18cb651de99de58b7ea5779bc3fbaea69b5 (patch) | |
tree | 175904ff2446561fcbf509e06f977c1510802569 /lib/ephy-file-helpers.h | |
parent | 416aef90dd0cc909929d6a7357107158cdf138f5 (diff) | |
download | gsoc2013-epiphany-8205e18cb651de99de58b7ea5779bc3fbaea69b5.tar gsoc2013-epiphany-8205e18cb651de99de58b7ea5779bc3fbaea69b5.tar.gz gsoc2013-epiphany-8205e18cb651de99de58b7ea5779bc3fbaea69b5.tar.bz2 gsoc2013-epiphany-8205e18cb651de99de58b7ea5779bc3fbaea69b5.tar.lz gsoc2013-epiphany-8205e18cb651de99de58b7ea5779bc3fbaea69b5.tar.xz gsoc2013-epiphany-8205e18cb651de99de58b7ea5779bc3fbaea69b5.tar.zst gsoc2013-epiphany-8205e18cb651de99de58b7ea5779bc3fbaea69b5.zip |
New function to get temp directory and moved ephy_shell_delete_on_exit to
2004-01-22 Christopher James Lahey <clahey@ximian.com>
* lib/ephy-file-helpers.c, lib/ephy-file-helpers.h
(ephy_file_tmp_directory, ephy_file_delete_on_exit): New function
to get temp directory and moved ephy_shell_delete_on_exit to here.
* lib/widgets/ephy-location-entry.c: Changed how this goes about
showing itself when hidden and activated.
* src/ephy-shell.c, src/ephy-shell.h (ephy_shell_delete_on_exit):
Moved to ephy_file_delete_on_exit.
* src/window-commands.c: Changed ephy_shell_delete_on_exit to
ephy_file_delete_on_exit. Used ephy_file_tmp_directory to save
source files for viewing in a directory that isn't world readable.
Diffstat (limited to 'lib/ephy-file-helpers.h')
-rw-r--r-- | lib/ephy-file-helpers.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/ephy-file-helpers.h b/lib/ephy-file-helpers.h index 15fa16656..3366af330 100644 --- a/lib/ephy-file-helpers.h +++ b/lib/ephy-file-helpers.h @@ -34,18 +34,21 @@ void ephy_file_helpers_init (void); void ephy_file_helpers_shutdown (void); +char *ephy_file_tmp_directory (void); char *ephy_file_tmp_filename (const char *base, const char *extension); void ephy_ensure_dir_exists (const char *dir); GSList *ephy_file_find (const char *path, - const char *fname, - gint maxdepth); + const char *fname, + gint maxdepth); gboolean ephy_file_switch_temp_file (const char *filename, const char *filename_temp); +void ephy_file_delete_on_exit (const char *path); + G_END_DECLS #endif /* EPHY_FILE_HELPERS_H */ |