aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorAdrian C. (anrxc) <anrxc@sysphere.org>2010-03-07 00:56:42 +0100
committerAdrian C. (anrxc) <anrxc@sysphere.org>2010-03-07 00:56:42 +0100
commit5226d10c271017174af8f703ddefcd10d2da9fe7 (patch)
tree50cca48a20b0059e0a29098fc7baed1b57544e5b /README
parent9371839401f89afacf6919671fff4a414b4bb841 (diff)
downloadvicious-legacy-5226d10c271017174af8f703ddefcd10d2da9fe7.tar.xz
API: function enable_caching() is now cache()
Diffstat (limited to 'README')
-rw-r--r--README4
1 files changed, 2 insertions, 2 deletions
diff --git a/README b/README
index a85f568..d8499fb 100644
--- a/README
+++ b/README
@@ -78,7 +78,7 @@ Restart suspended widgets:
- if widget is provided only that widget will be activated
Enable caching for a widget:
- vicious.enable_caching(widget_type)
+ vicious.cache(widget_type)
- enable caching of values returned by a widget type
@@ -335,7 +335,7 @@ Date widget
Memory widget
memwidget = widget({ type = 'textbox' })
- vicious.enable_caching(vicious.widgets.mem)
+ vicious.cache(vicious.widgets.mem)
vicious.register(memwidget, vicious.widgets.mem, '$1 ($2MB/$3MB)', 13)
- updated every 13 seconds, appends "MB" to 2nd and 3rd returned