[nautilus] files-view: Allow decompressing remote archives
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] files-view: Allow decompressing remote archives
- Date: Tue, 18 Jul 2017 01:25:51 +0000 (UTC)
commit 4927d63f4f52b1d001c2a37468c0d7e632bbe49b
Author: Bastien Nocera <hadess hadess net>
Date: Fri Jul 14 11:25:45 2017 +0200
files-view: Allow decompressing remote archives
There's no reason for archives on, say, SMB remote shares couldn't be
decompressed through the "Extract Here" functionality, so remove the
remote files check.
https://bugzilla.gnome.org/show_bug.cgi?id=784941
src/nautilus-files-view.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/src/nautilus-files-view.c b/src/nautilus-files-view.c
index 0a358d1..de11c05 100644
--- a/src/nautilus-files-view.c
+++ b/src/nautilus-files-view.c
@@ -733,14 +733,9 @@ nautilus_files_view_supports_creating_files (NautilusFilesView *view)
static gboolean
nautilus_files_view_supports_extract_here (NautilusFilesView *view)
{
- NautilusFilesViewPrivate *priv;
-
- priv = nautilus_files_view_get_instance_private (view);
-
g_return_val_if_fail (NAUTILUS_IS_FILES_VIEW (view), FALSE);
return nautilus_files_view_supports_creating_files (view)
- && !nautilus_directory_is_remote (priv->model)
&& !nautilus_view_is_searching (NAUTILUS_VIEW (view));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]