From ef0157ff37404cf757f57711c62bb352a2971fa6 Mon Sep 17 00:00:00 2001 From: hut Date: Sun, 16 May 2010 16:28:42 +0200 Subject: updated pydoc --- doc/pydoc/ranger.defaults.apps.html | 51 ++++++++++++++++++++----------------- 1 file changed, 28 insertions(+), 23 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 4f38da10..fb820921 100644 --- a/doc/pydoc/ranger.defaults.apps.html +++ b/doc/pydoc/ranger.defaults.apps.html @@ -1,6 +1,6 @@ - Python: module ranger.defaults.apps + @@ -8,7 +8,7 @@
 
 
ranger.defaults.apps
index
/home/hut/ranger/ranger/defaults/apps.py
+>index
/home/hut/code/ranger/ranger/defaults/apps.py

This is the default ranger configuration file for filetype detection
and application handling.
 
@@ -30,10 +30,11 @@ This example modifies the behaviour of "feh"                          return tup('feh', '-F', *c)
 
                def app_default(self, c):
-                        if c.file.video or c.file.audio:
+                        f = c.file #shortcut
+                        if f.video or f.audio:
                                return app_kaffeine(c)
 
-                        if c.file.image and c.mode == 0:
+                        if f.image and c.mode == 0:
                                return app_feh_fullscreen_by_default(c)
 
                        return DefaultApps.app_default(self, c)
@@ -45,11 +46,10 @@ This example modifies the behaviour of "feh"  Modules         -
ranger.api.commands
-
os
+
os
re
sys
-

+

 
@@ -76,11 +76,11 @@ This example modifies the behaviour of "feh" 
ranger.api.apps.Applications
ranger.shared.FileManagerAware
ranger.shared.Awareness
-
__builtin__.object
+
builtins.object

Methods defined here:
-
app_apvlv(self, c)
+
app_apvlv lambda self, context
app_aunpack(self, c)
@@ -90,43 +90,44 @@ Methods defined here:
app_editor(self, c)
-
app_elinks(self, c)
+
app_elinks lambda self, context
-
app_evince(self, c)
+
app_eog lambda self, context
-
app_eye_of_gnome(self, c)
+
app_evince lambda self, context
-
app_fceux(self, c)
+
app_fceux lambda self, context
app_feh(self, c)
-
app_firefox(self, c)
+
app_firefox lambda self, context
-
app_gimp(self, c)
+
app_gimp lambda self, context
app_java(self, c)
-
app_javac(self, c)
+
app_javac lambda self, context
app_make(self, c)
-
app_mirage(self, c)
+
app_mirage lambda self, context
app_mplayer(self, c)
-
app_opera(self, c)
+
app_opera lambda self, context
-
app_pager(self, c)
# ----------------------------------------- application definitions
+
app_pager(self, c)
# ----------------------------------------- application definitions
+# Note: Trivial applications are defined at the bottom
app_totem(self, c)
-
app_vim(self, c)
+
app_vim lambda self, context
-
app_wine(self, c)
+
app_wine lambda self, context
-
app_zathura(self, c)
+
app_zathura lambda self, context
-
app_zsnes(self, c)
+
app_zsnes lambda self, context

Methods inherited from ranger.api.apps.Applications:
@@ -142,6 +143,10 @@ Methods inherited from ranger.api.ap
has(self, app)
Returns whether an application is defined
+
+Class methods inherited from ranger.api.apps.Applications:
+
generic(cls, *args, **keywords) from builtins.type
+
Data and other attributes inherited from ranger.shared.FileManagerAware:
fm = None
-- cgit 1.4.1-2-gfad0