From 6ab8f53397b7b62a64180d51ce60f4fd95c38a0c Mon Sep 17 00:00:00 2001 From: yla Date: Thu, 5 Jun 2014 14:02:02 +0000 Subject: [PATCH] Fix compile. git-svn-id: https://svn.cyberduck.io/branches/4.4.5@14721 9e2dff1d-8f06-0410-b5b1-4d70b6340adc --- source/ch/cyberduck/ui/controller/HostKeyController.cs | 2 +- source/ch/cyberduck/ui/controller/TransferPromptModel.cs | 9 ++------- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/source/ch/cyberduck/ui/controller/HostKeyController.cs b/source/ch/cyberduck/ui/controller/HostKeyController.cs index 1b88a39654..7c4e348da5 100644 --- a/source/ch/cyberduck/ui/controller/HostKeyController.cs +++ b/source/ch/cyberduck/ui/controller/HostKeyController.cs @@ -127,7 +127,7 @@ namespace Ch.Cyberduck.Ui.Controller { return new HostKeyController(c as WindowController); } - return new DefaultHostKeyController(); + return new DisabledHostKeyCallback(); } } } diff --git a/source/ch/cyberduck/ui/controller/TransferPromptModel.cs b/source/ch/cyberduck/ui/controller/TransferPromptModel.cs index 24ce33f32d..28d07bc3a7 100644 --- a/source/ch/cyberduck/ui/controller/TransferPromptModel.cs +++ b/source/ch/cyberduck/ui/controller/TransferPromptModel.cs @@ -145,12 +145,6 @@ namespace Ch.Cyberduck.Ui.Controller return IconCache.Instance.IconForPath(item.remote, IconCache.IconSize.Small); } - protected virtual bool IsFiltered(TransferItem item) - private bool IsFiltered(TransferItem item) - { - return !_status.ContainsKey(item); - } - public bool IsSelected(TransferItem item) { if (_selected.ContainsKey(item)) @@ -163,7 +157,8 @@ namespace Ch.Cyberduck.Ui.Controller public CheckState GetCheckState(Object i) { TransferItem item = (TransferItem) i; - if (item.isSkipped()) + TransferStatus status = GetStatus(item); + if (status.isSkipped()) { return CheckState.Unchecked; } -- 2.11.4.GIT