diff options
author | hut <hut@lavabit.com> | 2010-01-14 02:59:14 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-01-14 02:59:14 +0100 |
commit | 4e9450f955e763a4d301645ab11201834d8a0ccc (patch) | |
tree | 650b185783f9758f0737bb056d1f675cdff2ca43 /ranger | |
parent | 306c76d8fbe649a0bf6c34a1fc446af6d2ec201b (diff) | |
download | ranger-4e9450f955e763a4d301645ab11201834d8a0ccc.tar.gz |
1.0.2! v1.0.2
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/__init__.py | 2 | ||||
-rw-r--r-- | ranger/applications.py | 10 | ||||
-rw-r--r-- | ranger/gui/defaultui.py | 4 |
3 files changed, 12 insertions, 4 deletions
diff --git a/ranger/__init__.py b/ranger/__init__.py index 59c08938..6d750ffb 100644 --- a/ranger/__init__.py +++ b/ranger/__init__.py @@ -22,7 +22,7 @@ from ranger.ext.debug import log, trace __copyright__ = 'none' __license__ = 'ISC' -__version__ = '1.0.1' +__version__ = '1.0.2' __credits__ = 'hut' __author__ = 'hut' __maintainer__ = 'hut' diff --git a/ranger/applications.py b/ranger/applications.py index 15801e18..5f267a42 100644 --- a/ranger/applications.py +++ b/ranger/applications.py @@ -12,6 +12,10 @@ # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +""" +This module faciliates starting of new processes. +""" + import os, sys from ranger.ext.waitpid_no_intr import waitpid_no_intr from subprocess import Popen, PIPE @@ -33,10 +37,10 @@ class Applications(object): All app functions have a name starting with app_ and return a string containing the whole command or a tuple containing a list of the - arguments. - It has one argument, which is the AppContext instance. + arguments. They are supplied with one argument, which is the + AppContext instance. - You should define app_default, app_pager and app_editor since + You should define at least app_default, app_pager and app_editor since internal functions depend on those. Here are sample implementations: def app_default(self, context): diff --git a/ranger/gui/defaultui.py b/ranger/gui/defaultui.py index 407b2d9a..0f089159 100644 --- a/ranger/gui/defaultui.py +++ b/ranger/gui/defaultui.py @@ -106,6 +106,10 @@ class DefaultUI(UI): self.close_pager() def open_taskview(self): + self.pager.close() + self.pager.visible = False + self.pager.focused = False + self.console.visible = False self.browser.visible = False self.taskview.visible = True self.taskview.focused = True |