summary refs log tree commit diff stats
path: root/doc/pydoc/ranger.gui.widgets.browsercolumn.html
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-03-12 21:00:01 +0100
committerhut <hut@lavabit.com>2010-03-12 21:50:54 +0100
commit1cd06f3f1ec3c2ec3cea14208467b20ea6543782 (patch)
treee67a9bc260443728f55f415a9d71b6928690f458 /doc/pydoc/ranger.gui.widgets.browsercolumn.html
parentd01a6613f2a34c6fb5b92c1d661f9ab32a7c2086 (diff)
downloadranger-1cd06f3f1ec3c2ec3cea14208467b20ea6543782.tar.gz
updated pydoc
Diffstat (limited to 'doc/pydoc/ranger.gui.widgets.browsercolumn.html')
-rw-r--r--doc/pydoc/ranger.gui.widgets.browsercolumn.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/pydoc/ranger.gui.widgets.browsercolumn.html b/doc/pydoc/ranger.gui.widgets.browsercolumn.html
index d1f75c44..a34d6fa3 100644
--- a/doc/pydoc/ranger.gui.widgets.browsercolumn.html
+++ b/doc/pydoc/ranger.gui.widgets.browsercolumn.html
@@ -187,5 +187,5 @@ Fractions&nbsp;of&nbsp;a&nbsp;second&nbsp;may&nbsp;be&nbsp;present&nbsp;if&nbsp;
 <font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr>
     
 <tr><td bgcolor="#55aa55"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
-<td width="100%"><strong>PREVIEW_BLACKLIST</strong> = &lt;_sre.SRE_Pattern object at 0x1359570&gt;</td></tr></table>
+<td width="100%"><strong>PREVIEW_BLACKLIST</strong> = &lt;_sre.SRE_Pattern object at 0x1df5760&gt;</td></tr></table>
 </body></html>
\ No newline at end of file
.bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
# Compatible with ranger 1.6.0 through 1.7.*
#
# This is a sample plugin that displays "Hello World" in ranger's console after
# it started.

from __future__ import (absolute_import, division, print_function)

# We are going to extend the hook "ranger.api.hook_ready", so first we need
# to import ranger.api:
import ranger.api

# Save the previously existing hook, because maybe another module already
# extended that hook and we don't want to lose it:
HOOK_READY_OLD = ranger.api.hook_ready

# Create a replacement for the hook that...


def hook_ready(fm):
    # ...does the desired action...
    fm.notify("Hello World")
    # ...and calls the saved hook.  If you don't care about the return value,
    # simply return the return value of the previous hook to be safe.
    return HOOK_READY_OLD(fm)


# Finally, "monkey patch" the existing hook_ready function with our replacement:
ranger.api.hook_ready = hook_ready