view src/utilops.h @ 67:f63ecca6c087

Fri Oct 13 05:22:43 2006 John Ellis <johne@verizon.net> * bar_sort.c, pan-view.c, preferences.c: Mark strings for translation, plus punctuation fix. * utilops.c: Change auto rename start number to default to 1. * configure.in (ALL_LINGUAS): Add be, ca, ko translations. * gqview.spec.in: Add Italian translation to RPM spec file, submitted by HappyCactus <happycactus@people.it>. * be.po: Add Belarusion translation, submitted by Pavel Piatruk <berserker@neolocation.com>. * ca.po: Add Catalan translation [merge from 2.0.2], submitted by catux.org <mecatxis@ya.com>. * de.po: Update German translation [merge from 2.0.2], submitted by Ronny Steiner <Post@SIRSteiner.de>. * fr.po: Update French translation, submitted by ?ric Lassauge <lassauge@users.sourceforge.net>. * it.po: Update Italian translation, submitted by Kostantino <ciclope10ATalice.it>. * ko.po: Add Korean translation (mostly menus), submitted by Hyun-Jin Moon <moonhyunjin@gmail.com>. * pt_BR.po: Update Brazilian Portuguese translation, submitted by Herval Ribeiro de Azev??do <heraze@gmail.com>. * sk.po: Update Slovak translation, submitted by Mgr. Peter Tuharsky <tuharsky@misbb.sk>. * zh_TW.po: Update Traditional Chinese translation, submitted by S.J. Luo <crystal@mickey.ee.nctu.edu.tw>
author gqview
date Fri, 13 Oct 2006 10:14:59 +0000
parents 458e396d3f35
children b15d4c18168f
line wrap: on
line source

/*
 * GQview
 * (C) 2004 John Ellis
 *
 * Author: John Ellis
 *
 * This software is released under the GNU General Public License (GNU GPL).
 * Please read the included file COPYING for more information.
 * This software comes with no warranty of any kind, use at your own risk!
 */


#ifndef UTILOPS_H
#define UTILOPS_H


#include "ui_utildlg.h"


void file_maint_renamed(const gchar *source, const gchar *dest);
void file_maint_removed(const gchar *path, GList *ignore_list);
void file_maint_moved(const gchar *source, const gchar *dest, GList *ignore_list);
void file_maint_copied(const gchar *source, const gchar *dest);

GenericDialog *file_util_gen_dlg(const gchar *title,
				 const gchar *wmclass, const gchar *wmsubclass,
				 GtkWidget *parent, gint auto_close,
				 void (*cancel_cb)(GenericDialog *, gpointer), gpointer data);
FileDialog *file_util_file_dlg(const gchar *title,
			       const gchar *wmclass, const gchar *wmsubclass,
			       GtkWidget *parent,
			       void (*cancel_cb)(FileDialog *, gpointer), gpointer data);
GenericDialog *file_util_warning_dialog(const gchar *heading, const gchar *message,
					const gchar *icon_stock_id, GtkWidget *parent);

void file_util_trash_clear(void);

void file_util_delete(const gchar *source_path, GList *source_list, GtkWidget *parent);
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
*/
void file_util_move_simple(GList *list, const gchar *dest_path);
void file_util_copy_simple(GList *list, const gchar *dest_path);


#endif