diff options
author | Alexander Schwinn <alexxcons@xfce.org> | 2021-06-14 23:14:50 +0200 |
---|---|---|
committer | Alexander Schwinn <alexxcons@xfce.org> | 2021-06-14 23:16:19 +0200 |
commit | 2baa161bba69d04b2a339a90aa3ead81ab1e73f8 (patch) | |
tree | c4ba224580a6707e0eddb413925b2dab0c167220 | |
parent | bf174cf514aab483b6b23026ebd05449e87ae363 (diff) | |
download | thunar-2baa161bba69d04b2a339a90aa3ead81ab1e73f8.tar.gz |
Disable automatic queueing of file transferes (Issue #569)
In order to prevent possible crashes. The feature will be re-enabled in
thunar 4.17.4 and above. (See ed8a1a17)
#569
#600
-rw-r--r-- | thunar/thunar-preferences-dialog.c | 9 | ||||
-rw-r--r-- | thunar/thunar-transfer-job.c | 2 |
2 files changed, 3 insertions, 8 deletions
diff --git a/thunar/thunar-preferences-dialog.c b/thunar/thunar-preferences-dialog.c index c3bff029..0516d578 100644 --- a/thunar/thunar-preferences-dialog.c +++ b/thunar/thunar-preferences-dialog.c @@ -767,13 +767,7 @@ thunar_preferences_dialog_init (ThunarPreferencesDialog *dialog) gtk_widget_show (grid); label = gtk_label_new_with_mnemonic (_("Transfer files in parallel:")); - gtk_widget_set_tooltip_text (label, _( - "Indicates the behavior during multiple copies:\n" - "- Always: all copies are done simultaneously\n" - "- Local Files Only: simultaneous copies for local (not remote, not attached) files\n" - "- Local Files On Same Devices Only: if all files are locals but on different devices (disks, mount points), copies will be sequential\n" - "- Never: all copies are done sequentially" - )); + gtk_widget_set_tooltip_text (label, ("Feature disabled for this thunar version due to possible crashes. Will be re-enabled in thunar 4.17.4 and above.")); gtk_label_set_xalign (GTK_LABEL (label), 0.0f); gtk_grid_attach (GTK_GRID (grid), label, 0, 0, 1, 1); gtk_widget_show (label); @@ -790,6 +784,7 @@ thunar_preferences_dialog_init (ThunarPreferencesDialog *dialog) thunar_gtk_label_set_a11y_relation (GTK_LABEL (label), combo); gtk_label_set_mnemonic_widget (GTK_LABEL (label), combo); gtk_widget_show (combo); + gtk_widget_set_sensitive (combo, FALSE); if (thunar_g_vfs_is_uri_scheme_supported ("trash")) { diff --git a/thunar/thunar-transfer-job.c b/thunar/thunar-transfer-job.c index 9aea3436..e5e3bca2 100644 --- a/thunar/thunar-transfer-job.c +++ b/thunar/thunar-transfer-job.c @@ -250,7 +250,7 @@ thunar_transfer_job_set_property (GObject *object, job->file_size_binary = g_value_get_boolean (value); break; case PROP_PARALLEL_COPY_MODE: - job->parallel_copy_mode = g_value_get_enum (value); + job->parallel_copy_mode = THUNAR_PARALLEL_COPY_MODE_ALWAYS; break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); |