[gthumb] Use gfile_move instead of file_move where FileData->gfile is available
- From: Michael J. Chudobiak <mjc src gnome org>
- To: svn-commits-list gnome org
- Subject: [gthumb] Use gfile_move instead of file_move where FileData->gfile is available
- Date: Sun, 7 Jun 2009 15:21:08 -0400 (EDT)
commit 8da36493b78336d1a420d2726bbcff34f201d3f6
Author: Michael J. Chudobiak <mjc avtechpulse com>
Date: Sun Jun 7 15:20:29 2009 -0400
Use gfile_move instead of file_move where FileData->gfile is available
---
src/gth-browser-actions-callbacks.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/gth-browser-actions-callbacks.c b/src/gth-browser-actions-callbacks.c
index 5819c32..7afd534 100644
--- a/src/gth-browser-actions-callbacks.c
+++ b/src/gth-browser-actions-callbacks.c
@@ -494,7 +494,7 @@ catalog_rename (GthBrowser *browser,
_gtk_error_dialog_run (GTK_WINDOW (browser),
_("The name \"%s\" is already used. " "Please use a different name."), new_fd->utf8_name);
}
- else if (file_move (old_fd->utf8_path,new_fd->utf8_path, FALSE, NULL)) {
+ else if (gfile_move (old_fd->gfile,new_fd->gfile, FALSE, NULL)) {
gth_monitor_notify_catalog_renamed (old_fd->utf8_path,new_fd->utf8_path);
}
else {
@@ -958,7 +958,7 @@ folder_rename (GtkWindow *window,
else {
gboolean result;
- result = file_move (old_fd->utf8_path, new_fd->utf8_path, FALSE, NULL);
+ result = gfile_move (old_fd->gfile, new_fd->gfile, FALSE, NULL);
if (result) {
comment_move (old_path, new_path);
gth_monitor_notify_directory_renamed (old_fd->utf8_path, new_fd->utf8_path);
@@ -1241,7 +1241,7 @@ folder_copy__response_cb (GObject *object,
old_folder_comment = comments_get_comment_filename (old_path, TRUE);
- file_move (old_fd->utf8_path, new_fd->utf8_path, FALSE, &error);
+ gfile_move (old_fd->gfile, new_fd->gfile, FALSE, &error);
if (!error) {
char *new_folder_comment;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]