diff options
Diffstat (limited to 'doc/pydoc/ranger.defaults.apps.html')
-rw-r--r-- | doc/pydoc/ranger.defaults.apps.html | 32 |
1 files changed, 17 insertions, 15 deletions
diff --git a/doc/pydoc/ranger.defaults.apps.html b/doc/pydoc/ranger.defaults.apps.html index b4383a69..e76dc871 100644 --- a/doc/pydoc/ranger.defaults.apps.html +++ b/doc/pydoc/ranger.defaults.apps.html @@ -19,24 +19,24 @@ you may want to subclass <a href="#CustomApplications"> This example modifies the behaviour of "feh" and adds a custom media player:<br> <br> #### start of the ~/.ranger/apps.py example<br> -from ranger.defaults.apps import <a href="#CustomApplications">CustomApplications</a> as DefaultApps<br> -from ranger.api.apps import *<br> - <br> -class <a href="#CustomApplications">CustomApplications</a>(DefaultApps):<br> - def app_kaffeine(self, c):<br> - return tup('kaffeine', *c)<br> + from ranger.defaults.apps import <a href="#CustomApplications">CustomApplications</a> as DefaultApps<br> + from ranger.api.apps import *<br> + <br> + class <a href="#CustomApplications">CustomApplications</a>(DefaultApps):<br> + def app_kaffeine(self, c):<br> + return tup('kaffeine', *c)<br> <br> - def app_feh_fullscreen_by_default(self, c):<br> - return tup('feh', '-F', *c)<br> + def app_feh_fullscreen_by_default(self, c):<br> + return tup('feh', '-F', *c)<br> <br> - def app_default(self, c):<br> - if c.file.video or c.file.audio:<br> - return app_kaffeine(c)<br> + def app_default(self, c):<br> + if c.file.video or c.file.audio:<br> + return app_kaffeine(c)<br> <br> - if c.file.image and c.mode == 0:<br> - return app_feh_fullscreen_by_default(c)<br> + if c.file.image and c.mode == 0:<br> + return app_feh_fullscreen_by_default(c)<br> <br> - return DefaultApps.app_default(self, c)<br> + return DefaultApps.app_default(self, c)<br> #### end of the example</tt></p> <p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> @@ -103,6 +103,8 @@ Methods defined here:<br> <dl><dt><a name="CustomApplications-app_make"><strong>app_make</strong></a>(self, c)</dt></dl> +<dl><dt><a name="CustomApplications-app_mirage"><strong>app_mirage</strong></a>(self, c)</dt></dl> + <dl><dt><a name="CustomApplications-app_mplayer"><strong>app_mplayer</strong></a>(self, c)</dt></dl> <dl><dt><a name="CustomApplications-app_opera"><strong>app_opera</strong></a>(self, c)</dt></dl> @@ -150,6 +152,6 @@ Data descriptors inherited from <a href="ranger.shared.html#Awareness">ranger.sh <font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr> <tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td> -<td width="100%"><strong>INTERPRETED_LANGUAGES</strong> = <_sre.SRE_Pattern object at 0xf6f2d0><br> +<td width="100%"><strong>INTERPRETED_LANGUAGES</strong> = <_sre.SRE_Pattern object at 0x1274ff0><br> <strong>PIPE</strong> = -1</td></tr></table> </body></html> \ No newline at end of file |