diff options
author | hut <hut@lavabit.com> | 2010-03-24 14:05:08 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-03-24 14:05:08 +0100 |
commit | 55435343b142c424619e3072475ca8b3366d109c (patch) | |
tree | 55c5ba8d815bd2d4cfca2086dba998eaebb83067 /doc/pydoc/ranger.defaults.apps.html | |
parent | efbde17048b14d43895e4cf91e798fb97702b68f (diff) | |
parent | 0a16f0da970ae344f0094767c08995dd63f616cb (diff) | |
download | ranger-55435343b142c424619e3072475ca8b3366d109c.tar.gz |
Merge branch 'master' into newkey
Conflicts: ranger/api/keys.py ranger/container/commandlist.py ranger/core/actions.py ranger/defaults/keys.py ranger/gui/ui.py ranger/gui/widgets/browserview.py
Diffstat (limited to 'doc/pydoc/ranger.defaults.apps.html')
-rw-r--r-- | doc/pydoc/ranger.defaults.apps.html | 38 |
1 files changed, 23 insertions, 15 deletions
diff --git a/doc/pydoc/ranger.defaults.apps.html b/doc/pydoc/ranger.defaults.apps.html index b4383a69..a759a187 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"> @@ -93,16 +93,22 @@ Methods defined here:<br> <dl><dt><a name="CustomApplications-app_evince"><strong>app_evince</strong></a>(self, c)</dt></dl> +<dl><dt><a name="CustomApplications-app_eye_of_gnome"><strong>app_eye_of_gnome</strong></a>(self, c)</dt></dl> + <dl><dt><a name="CustomApplications-app_feh"><strong>app_feh</strong></a>(self, c)</dt></dl> <dl><dt><a name="CustomApplications-app_firefox"><strong>app_firefox</strong></a>(self, c)</dt></dl> +<dl><dt><a name="CustomApplications-app_gimp"><strong>app_gimp</strong></a>(self, c)</dt></dl> + <dl><dt><a name="CustomApplications-app_java"><strong>app_java</strong></a>(self, c)</dt></dl> <dl><dt><a name="CustomApplications-app_javac"><strong>app_javac</strong></a>(self, c)</dt></dl> <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> @@ -115,6 +121,8 @@ Methods defined here:<br> <dl><dt><a name="CustomApplications-app_wine"><strong>app_wine</strong></a>(self, c)</dt></dl> +<dl><dt><a name="CustomApplications-app_zathura"><strong>app_zathura</strong></a>(self, c)</dt></dl> + <dl><dt><a name="CustomApplications-app_zsnes"><strong>app_zsnes</strong></a>(self, c)</dt></dl> <hr> @@ -150,6 +158,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><br> <strong>PIPE</strong> = -1</td></tr></table> </body></html> \ No newline at end of file |