summaryrefslogtreecommitdiffstats
path: root/src/widgets/icon.cpp
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2010-12-21 08:33:29 +0000
committerJon A. Cruz <jon@joncruz.org>2010-12-21 08:33:29 +0000
commit20e4fc4bff32e775567487e16bb19e559475b628 (patch)
tree8796f3ef7c181b4238e562a65f99baab862d263f /src/widgets/icon.cpp
parentStore cached icons to disk between runs, and invalidate/purge as needed. (diff)
downloadinkscape-20e4fc4bff32e775567487e16bb19e559475b628.tar.gz
inkscape-20e4fc4bff32e775567487e16bb19e559475b628.zip
Enable icon disk cache by default.
(bzr r9970)
Diffstat (limited to 'src/widgets/icon.cpp')
-rw-r--r--src/widgets/icon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/icon.cpp b/src/widgets/icon.cpp
index 3e0746edf..bfdf2d3b9 100644
--- a/src/widgets/icon.cpp
+++ b/src/widgets/icon.cpp
@@ -1330,7 +1330,7 @@ bool IconImpl::prerenderIcon(gchar const *name, GtkIconSize lsize, unsigned psiz
{
bool loadNeeded = false;
static bool dump = Inkscape::Preferences::get()->getBool("/debug/icons/dumpGtk");
- static bool useCache = Inkscape::Preferences::get()->getBool("/debug/icons/useCache");
+ static bool useCache = Inkscape::Preferences::get()->getBool("/debug/icons/useCache", true);
static bool cacheValidated = false;
if (!cacheValidated) {
cacheValidated = true;