# HG changeset patch # User Colin Clark # Date 1529847815 -3600 # Node ID ac13b5e034757fc91f2384e610dcb9fea767982d # Parent 8f5619f8919793629fffd100fdfbdae475d6a924 Bug fix: Create thumbnails maintenance option In the Cache Maintenance dialog, Create Thumbnails is always enable. If thumbnail creation is disabled in Preferences/General, thumbnails are still created, but sometimes in the wrong folder. This commit disables Create Thumbnails in the maintenance dialog when when thumbnail creation is disabled in Preferences. diff -r 8f5619f89197 -r ac13b5e03475 src/cache_maint.c --- a/src/cache_maint.c Sun Jun 24 11:50:22 2018 +0100 +++ b/src/cache_maint.c Sun Jun 24 14:43:35 2018 +0100 @@ -1261,6 +1261,7 @@ G_CALLBACK(cache_manager_render_cb), cache_manager); gtk_size_group_add_widget(sizegroup, button); pref_table_label(table, 1, 1, _("Render thumbnails for a specific folder."), 0.0); + gtk_widget_set_sensitive(group, options->thumbnails.enable_caching); group = pref_group_new(gd->vbox, FALSE, _("Metadata"), GTK_ORIENTATION_VERTICAL);