Mercurial > geeqie
annotate src/utilops.h @ 1206:d79305a42a9b
Switch to fullscreen when double clicking on file in icon or list view. Feature request 1966042. The code was there since a long time but disabled, please report any issue.
author | zas_ |
---|---|
date | Sat, 20 Dec 2008 21:30:27 +0000 |
parents | 3ff2aa99108b |
children | ca8ccf0c3e81 |
rev | line source |
---|---|
9 | 1 /* |
196 | 2 * Geeqie |
112
b15d4c18168f
Fri Nov 17 19:06:19 2006 John Ellis <johne@verizon.net>
gqview
parents:
44
diff
changeset
|
3 * (C) 2006 John Ellis |
475 | 4 * Copyright (C) 2008 The Geeqie Team |
9 | 5 * |
6 * Author: John Ellis | |
7 * | |
8 * This software is released under the GNU General Public License (GNU GPL). | |
9 * Please read the included file COPYING for more information. | |
10 * This software comes with no warranty of any kind, use at your own risk! | |
11 */ | |
12 | |
13 | |
14 #ifndef UTILOPS_H | |
15 #define UTILOPS_H | |
16 | |
17 | |
18 #include "ui_utildlg.h" | |
19 | |
20 | |
138 | 21 void file_maint_renamed(FileData *fd); |
22 void file_maint_removed(FileData *fd, GList *ignore_list); | |
23 void file_maint_moved(FileData *fd, GList *ignore_list); | |
24 void file_maint_copied(FileData *fd); | |
9 | 25 |
26 GenericDialog *file_util_gen_dlg(const gchar *title, | |
1175
2518a4a73d89
Rename wmsubclass and name to role, which corresponds better to the purpose of the parameter as it ends to be passed to gtk_window_set_role().
zas_
parents:
1174
diff
changeset
|
27 const gchar *role, |
9 | 28 GtkWidget *parent, gint auto_close, |
29 void (*cancel_cb)(GenericDialog *, gpointer), gpointer data); | |
30 FileDialog *file_util_file_dlg(const gchar *title, | |
1175
2518a4a73d89
Rename wmsubclass and name to role, which corresponds better to the purpose of the parameter as it ends to be passed to gtk_window_set_role().
zas_
parents:
1174
diff
changeset
|
31 const gchar *role, |
9 | 32 GtkWidget *parent, |
33 void (*cancel_cb)(FileDialog *, gpointer), gpointer data); | |
34 GenericDialog *file_util_warning_dialog(const gchar *heading, const gchar *message, | |
35 const gchar *icon_stock_id, GtkWidget *parent); | |
36 | |
138 | 37 void file_util_delete(FileData *source_fd, GList *source_list, GtkWidget *parent); |
38 void file_util_move(FileData *source_fd, GList *source_list, const gchar *dest_path, GtkWidget *parent); | |
39 void file_util_copy(FileData *source_fd, GList *source_list, const gchar *dest_path, GtkWidget *parent); | |
40 void file_util_rename(FileData *source_fd, GList *source_list, GtkWidget *parent); | |
1205
3ff2aa99108b
use the workflow in utilops.c for metadata approving and writting
nadvornik
parents:
1175
diff
changeset
|
41 void file_util_write_metadata(FileData *source_fd, 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 |
783 | 43 void file_util_create_dir(FileData *dir_fd, GtkWidget *parent); |
908 | 44 void file_util_rename_dir(FileData *source_fd, 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 */ | |
753 | 49 void file_util_move_simple(GList *list, const gchar *dest_path, GtkWidget *parent); |
50 void file_util_copy_simple(GList *list, const gchar *dest_path, GtkWidget *parent); | |
51 void file_util_rename_simple(FileData *fd, const gchar *dest_path, GtkWidget *parent); | |
52 | |
53 void file_util_start_editor_from_file(gint n, FileData *fd, GtkWidget *parent); | |
54 void file_util_start_editor_from_filelist(gint n, GList *list, GtkWidget *parent); | |
55 void file_util_start_filter_from_file(gint n, FileData *fd, const gchar *dest_path, GtkWidget *parent); | |
56 void file_util_start_filter_from_filelist(gint n, GList *list, const gchar *dest_path, GtkWidget *parent); | |
57 | |
138 | 58 void file_util_delete_dir(FileData *source_fd, GtkWidget *parent); |
112
b15d4c18168f
Fri Nov 17 19:06:19 2006 John Ellis <johne@verizon.net>
gqview
parents:
44
diff
changeset
|
59 |
497 | 60 void file_util_copy_path_to_clipboard(FileData *fd); |
61 void file_util_copy_path_list_to_clipboard(GList *list); | |
62 | |
9 | 63 #endif |
1055
1646720364cf
Adding a vim modeline to all files - patch by Klaus Ethgen
nadvornik
parents:
908
diff
changeset
|
64 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */ |