Mercurial > geeqie
annotate src/utilops.h @ 135:15c1925b3bfb
improved external delete command
| author | nadvornik |
|---|---|
| date | Thu, 16 Aug 2007 20:57:09 +0000 |
| parents | b15d4c18168f |
| children | 71e1ebee420e |
| rev | line source |
|---|---|
| 9 | 1 /* |
| 2 * GQview | |
|
112
b15d4c18168f
Fri Nov 17 19:06:19 2006 John Ellis <johne@verizon.net>
gqview
parents:
44
diff
changeset
|
3 * (C) 2006 John Ellis |
| 9 | 4 * |
| 5 * Author: John Ellis | |
| 6 * | |
| 7 * This software is released under the GNU General Public License (GNU GPL). | |
| 8 * Please read the included file COPYING for more information. | |
| 9 * This software comes with no warranty of any kind, use at your own risk! | |
| 10 */ | |
| 11 | |
| 12 | |
| 13 #ifndef UTILOPS_H | |
| 14 #define UTILOPS_H | |
| 15 | |
| 16 | |
| 17 #include "ui_utildlg.h" | |
| 18 | |
| 19 | |
| 20 void file_maint_renamed(const gchar *source, const gchar *dest); | |
| 21 void file_maint_removed(const gchar *path, GList *ignore_list); | |
| 22 void file_maint_moved(const gchar *source, const gchar *dest, GList *ignore_list); | |
| 23 void file_maint_copied(const gchar *source, const gchar *dest); | |
| 24 | |
| 25 GenericDialog *file_util_gen_dlg(const gchar *title, | |
| 26 const gchar *wmclass, const gchar *wmsubclass, | |
| 27 GtkWidget *parent, gint auto_close, | |
| 28 void (*cancel_cb)(GenericDialog *, gpointer), gpointer data); | |
| 29 FileDialog *file_util_file_dlg(const gchar *title, | |
| 30 const gchar *wmclass, const gchar *wmsubclass, | |
| 31 GtkWidget *parent, | |
| 32 void (*cancel_cb)(FileDialog *, gpointer), gpointer data); | |
| 33 GenericDialog *file_util_warning_dialog(const gchar *heading, const gchar *message, | |
| 34 const gchar *icon_stock_id, GtkWidget *parent); | |
| 35 | |
| 36 void file_util_trash_clear(void); | |
| 37 | |
| 38 void file_util_delete(const gchar *source_path, GList *source_list, GtkWidget *parent); | |
| 39 void file_util_move(const gchar *source_path, GList *source_list, const gchar *dest_path, GtkWidget *parent); | |
| 40 void file_util_copy(const gchar *source_path, GList *source_list, const gchar *dest_path, GtkWidget *parent); | |
| 41 void file_util_rename(const gchar *source_path, GList *source_list, GtkWidget *parent); | |
|
44
458e396d3f35
Wed May 18 19:36:49 2005 John Ellis <johne@verizon.net>
gqview
parents:
9
diff
changeset
|
42 |
| 9 | 43 void file_util_create_dir(const gchar *path, GtkWidget *parent); |
|
44
458e396d3f35
Wed May 18 19:36:49 2005 John Ellis <johne@verizon.net>
gqview
parents:
9
diff
changeset
|
44 gint file_util_rename_dir(const gchar *old_path, const gchar *new_path, GtkWidget *parent); |
| 9 | 45 |
| 46 /* these avoid the location entry dialog, list must be files only and | |
| 47 * dest_path must be a valid directory path | |
| 48 */ | |
| 49 void file_util_move_simple(GList *list, const gchar *dest_path); | |
| 50 void file_util_copy_simple(GList *list, const gchar *dest_path); | |
| 51 | |
| 52 | |
|
112
b15d4c18168f
Fri Nov 17 19:06:19 2006 John Ellis <johne@verizon.net>
gqview
parents:
44
diff
changeset
|
53 void file_util_delete_dir(const gchar *path, GtkWidget *parent); |
|
b15d4c18168f
Fri Nov 17 19:06:19 2006 John Ellis <johne@verizon.net>
gqview
parents:
44
diff
changeset
|
54 |
|
b15d4c18168f
Fri Nov 17 19:06:19 2006 John Ellis <johne@verizon.net>
gqview
parents:
44
diff
changeset
|
55 |
| 9 | 56 #endif |
| 57 |
