annotate src/utilops.h @ 1768:a22c42d36e2e

German translation update
author mow
date Tue, 13 Oct 2009 21:49:42 +0000
parents 21647c5b2420
children 956aab097ea7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
1 /*
196
f6e307c7bad6 rename GQview -> Geeqie over the code
nadvornik
parents: 138
diff changeset
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
1284
8b89e3ff286b Add year 2009 to copyright info everywhere.
zas_
parents: 1272
diff changeset
4 * Copyright (C) 2008 - 2009 The Geeqie Team
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
5 *
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
6 * Author: John Ellis
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
7 *
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
8 * This software is released under the GNU General Public License (GNU GPL).
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
9 * Please read the included file COPYING for more information.
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
10 * This software comes with no warranty of any kind, use at your own risk!
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
11 */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
12
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
13
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
14 #ifndef UTILOPS_H
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
15 #define UTILOPS_H
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
16
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
17
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
18 #include "ui_utildlg.h"
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
19
138
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 112
diff changeset
20 void file_maint_renamed(FileData *fd);
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 112
diff changeset
21 void file_maint_moved(FileData *fd, GList *ignore_list);
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 112
diff changeset
22 void file_maint_copied(FileData *fd);
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
23
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
24 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
25 const gchar *role,
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
26 GtkWidget *parent, gint auto_close,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
27 void (*cancel_cb)(GenericDialog *, gpointer), gpointer data);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
28 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
29 const gchar *role,
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
30 GtkWidget *parent,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
31 void (*cancel_cb)(FileDialog *, gpointer), gpointer data);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
32 GenericDialog *file_util_warning_dialog(const gchar *heading, const gchar *message,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
33 const gchar *icon_stock_id, GtkWidget *parent);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
34
1656
349ebc02b8e2 fixed leak in file_util_* functions
nadvornik
parents: 1652
diff changeset
35 /* all functions takes over the filelist and frees it when done */
349ebc02b8e2 fixed leak in file_util_* functions
nadvornik
parents: 1652
diff changeset
36
138
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 112
diff changeset
37 void file_util_delete(FileData *source_fd, GList *source_list, GtkWidget *parent);
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 112
diff changeset
38 void file_util_move(FileData *source_fd, GList *source_list, const gchar *dest_path, GtkWidget *parent);
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 112
diff changeset
39 void file_util_copy(FileData *source_fd, GList *source_list, const gchar *dest_path, GtkWidget *parent);
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 112
diff changeset
40 void file_util_rename(FileData *source_fd, GList *source_list, GtkWidget *parent);
1586
249b539cc952 force the metadata dialog if it was triggered by the menu or the button
nadvornik
parents: 1284
diff changeset
41 void file_util_write_metadata(FileData *source_fd, GList *source_list, GtkWidget *parent, gboolean force_dialog, FileUtilDoneFunc done_func, gpointer done_data);
44
458e396d3f35 Wed May 18 19:36:49 2005 John Ellis <johne@verizon.net>
gqview
parents: 9
diff changeset
42
1231
ca8ccf0c3e81 added done callback to utilops
nadvornik
parents: 1205
diff changeset
43 void file_util_create_dir(FileData *dir_fd, GtkWidget *parent, FileUtilDoneFunc done_func, gpointer done_data);
ca8ccf0c3e81 added done callback to utilops
nadvornik
parents: 1205
diff changeset
44
1637
cc3ccf3c7c27 unify code paths for New directory
nadvornik
parents: 1586
diff changeset
45 void file_util_rename_dir(FileData *source_fd, const gchar *new_path, GtkWidget *parent, FileUtilDoneFunc done_func, gpointer done_data);
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
46
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
47 /* these avoid the location entry dialog, list must be files only and
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
48 * dest_path must be a valid directory path
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
49 */
753
477f48ba28d8 rewritten utilops.h:
nadvornik
parents: 597
diff changeset
50 void file_util_move_simple(GList *list, const gchar *dest_path, GtkWidget *parent);
477f48ba28d8 rewritten utilops.h:
nadvornik
parents: 597
diff changeset
51 void file_util_copy_simple(GList *list, const gchar *dest_path, GtkWidget *parent);
477f48ba28d8 rewritten utilops.h:
nadvornik
parents: 597
diff changeset
52 void file_util_rename_simple(FileData *fd, const gchar *dest_path, GtkWidget *parent);
477f48ba28d8 rewritten utilops.h:
nadvornik
parents: 597
diff changeset
53
1272
e0e12512cde2 read external editors from .desktop files
nadvornik
parents: 1231
diff changeset
54 void file_util_start_editor_from_file(const gchar *key, FileData *fd, GtkWidget *parent);
1652
58a5d1e01e33 run external commands from current directory even with no files
nadvornik
parents: 1637
diff changeset
55
58a5d1e01e33 run external commands from current directory even with no files
nadvornik
parents: 1637
diff changeset
56 /* working directory is used only as a fallback when the filelist is empty */
58a5d1e01e33 run external commands from current directory even with no files
nadvornik
parents: 1637
diff changeset
57 void file_util_start_editor_from_filelist(const gchar *key, GList *list, const gchar *working_directory, GtkWidget *parent);
1272
e0e12512cde2 read external editors from .desktop files
nadvornik
parents: 1231
diff changeset
58 void file_util_start_filter_from_file(const gchar *key, FileData *fd, const gchar *dest_path, GtkWidget *parent);
e0e12512cde2 read external editors from .desktop files
nadvornik
parents: 1231
diff changeset
59 void file_util_start_filter_from_filelist(const gchar *key, GList *list, const gchar *dest_path, GtkWidget *parent);
753
477f48ba28d8 rewritten utilops.h:
nadvornik
parents: 597
diff changeset
60
138
71e1ebee420e replaced gchar* path with FileData *fd
nadvornik
parents: 112
diff changeset
61 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
62
497
a33badd85f16 Allow the copy of file paths to clipboard.
zas_
parents: 475
diff changeset
63 void file_util_copy_path_to_clipboard(FileData *fd);
a33badd85f16 Allow the copy of file paths to clipboard.
zas_
parents: 475
diff changeset
64 void file_util_copy_path_list_to_clipboard(GList *list);
a33badd85f16 Allow the copy of file paths to clipboard.
zas_
parents: 475
diff changeset
65
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
66 #endif
1055
1646720364cf Adding a vim modeline to all files - patch by Klaus Ethgen
nadvornik
parents: 908
diff changeset
67 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */