Skip to content

Commit

Permalink
Google+ group complaint: IG disk activity. Add a property to the Imag…
Browse files Browse the repository at this point in the history
…eListView control to turn on/off metadata caching; set it OFF in frmMain designer.
  • Loading branch information
fire-eggs committed Jan 10, 2020
1 parent dc940df commit e04b49d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Source/Components/ImageGlass.ImageListView/ImageListView.cs
Expand Up @@ -226,6 +226,20 @@ public CacheMode CacheMode
}
}
}

// IG_CHANGE : provide the ability to control the metadata caching
[Category("Behavior"), Description("Controls metadata caching")]
public bool MetadataCacheEnabled
{
set
{
if (value)
metadataCache.Resume();
else
metadataCache.Pause();
}
}

/// <summary>
/// Gets or sets the cache limit as either the count of thumbnail images or the memory allocated for cache (e.g. 10MB).
/// </summary>
Expand Down
1 change: 1 addition & 0 deletions Source/ImageGlass/frmMain.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e04b49d

Please sign in to comment.