[gnome-commander] This reverts bug introduced in commit 4c43d96b98f8dd5c8cc33fc92f4ae3ffc9840cfb (Migration to C++ #2)
- From: Piotr Eljasiak <epiotr src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-commander] This reverts bug introduced in commit 4c43d96b98f8dd5c8cc33fc92f4ae3ffc9840cfb (Migration to C++ #2)
- Date: Thu, 20 Aug 2009 16:03:17 +0000 (UTC)
commit dadb61adde99f1155a31494e80efa48bb2fc4b68
Author: Piotr Eljasiak <epiotr src gnome org>
Date: Thu Aug 20 18:01:19 2009 +0200
This reverts bug introduced in commit 4c43d96b98f8dd5c8cc33fc92f4ae3ffc9840cfb (Migration to C++ #2)
src/gnome-cmd-prepare-copy-dialog.cc | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/gnome-cmd-prepare-copy-dialog.cc b/src/gnome-cmd-prepare-copy-dialog.cc
index c2817d9..00a74dd 100644
--- a/src/gnome-cmd-prepare-copy-dialog.cc
+++ b/src/gnome-cmd-prepare-copy-dialog.cc
@@ -59,10 +59,12 @@ static void on_ok (GtkButton *button, gpointer user_data)
else
dlg->xferOverwriteMode = GNOME_VFS_XFER_OVERWRITE_MODE_SKIP;
- dlg->xferOptions = GNOME_VFS_XFER_RECURSIVE;
+ guint xferOptions = GNOME_VFS_XFER_RECURSIVE;
if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (data->follow_links)))
- (int &) (dlg->xferOptions) |= GNOME_VFS_XFER_FOLLOW_LINKS;
+ xferOptions |= GNOME_VFS_XFER_FOLLOW_LINKS;
+
+ dlg->xferOptions = (GnomeVFSXferOptions) xferOptions;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]