From 62cd83bace8e77cd1ff7028da6cf65d0d1defa27 Mon Sep 17 00:00:00 2001 From: hut Date: Fri, 12 Mar 2010 02:00:53 +0100 Subject: updated pydoc --- doc/pydoc/ranger.defaults.apps.html | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) (limited to 'doc/pydoc/ranger.defaults.apps.html') 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  This example modifies the behaviour of "feh" and adds a custom media player:
 
#### start of the ~/.ranger/apps.py example
-from ranger.defaults.apps import 
CustomApplications as DefaultApps
-from ranger.api.apps import *
-        
-class CustomApplications(DefaultApps):
-    def app_kaffeine(self, c):
-        return tup('kaffeine', *c)
+        from ranger.defaults.apps import CustomApplications as DefaultApps
+        from ranger.api.apps import *
+                        
+        class CustomApplications(DefaultApps):
+                def app_kaffeine(self, c):
+                        return tup('kaffeine', *c)
 
-    def app_feh_fullscreen_by_default(self, c):
-        return tup('feh', '-F', *c)
+                def app_feh_fullscreen_by_default(self, c):
+                        return tup('feh', '-F', *c)
 
-    def app_default(self, c):
-        if c.file.video or c.file.audio:
-            return app_kaffeine(c)
+                def app_default(self, c):
+                        if c.file.video or c.file.audio:
+                                return app_kaffeine(c)
 
-        if c.file.image and c.mode == 0:
-            return app_feh_fullscreen_by_default(c)
+                        if c.file.image and c.mode == 0:
+                                return app_feh_fullscreen_by_default(c)
 
-        return DefaultApps.app_default(self, c)
+                        return DefaultApps.app_default(self, c)
#### end of the example

@@ -103,6 +103,8 @@ Methods defined here:
app_make(self, c)
+
app_mirage(self, c)
+
app_mplayer(self, c)
app_opera(self, c)
@@ -150,6 +152,6 @@ Data descriptors inherited from ranger.sh Data -
       INTERPRETED_LANGUAGES = <_sre.SRE_Pattern object at 0xf6f2d0>
+
INTERPRETED_LANGUAGES = <_sre.SRE_Pattern object at 0x1274ff0>
PIPE = -1
\ No newline at end of file -- cgit 1.4.1-2-gfad0