Mercurial > geeqie
diff src/utilops.h @ 44:458e396d3f35
Wed May 18 19:36:49 2005 John Ellis <johne@verizon.net>
* utilops.[ch] (file_util_rename_dir): New utility to rename a folder,
does proper checking for existing folder to avoid clobbering an
existing folder.
* view_dir_list.c, view_dir_tree.c: Use new utility above when renaming
a folder to fix possible clobbering of an existing folder with the
same name as the requested name.
##### Note: GQview CVS on sourceforge is not always up to date, please use #####
##### an offical release when making enhancements and translation updates. #####
| author | gqview |
|---|---|
| date | Wed, 18 May 2005 23:52:16 +0000 |
| parents | d907d608745f |
| children | b15d4c18168f |
line wrap: on
line diff
--- a/src/utilops.h Mon May 16 01:49:51 2005 +0000 +++ b/src/utilops.h Wed May 18 23:52:16 2005 +0000 @@ -39,7 +39,9 @@ void file_util_move(const gchar *source_path, GList *source_list, const gchar *dest_path, GtkWidget *parent); void file_util_copy(const gchar *source_path, GList *source_list, const gchar *dest_path, GtkWidget *parent); void file_util_rename(const gchar *source_path, GList *source_list, GtkWidget *parent); + void file_util_create_dir(const gchar *path, GtkWidget *parent); +gint file_util_rename_dir(const gchar *old_path, const gchar *new_path, GtkWidget *parent); /* these avoid the location entry dialog, list must be files only and * dest_path must be a valid directory path
