From e8bab380f4fd5678975659f0535b6485413abed4 Mon Sep 17 00:00:00 2001 From: hut Date: Wed, 9 Jun 2010 12:30:34 +0200 Subject: minor changes --- ranger/__main__.py | 2 +- ranger/gui/widgets/taskview.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ranger/__main__.py b/ranger/__main__.py index 2164c045..ff5cdc4d 100644 --- a/ranger/__main__.py +++ b/ranger/__main__.py @@ -215,7 +215,7 @@ def main(): if crash_traceback: print(crash_traceback) print("Ranger crashed. " \ - "Please report it (including the traceback) at:") + "Please report this (including the traceback) at:") print("http://savannah.nongnu.org/bugs/?group=ranger&func=additem") diff --git a/ranger/gui/widgets/taskview.py b/ranger/gui/widgets/taskview.py index 475b903c..e988b08c 100644 --- a/ranger/gui/widgets/taskview.py +++ b/ranger/gui/widgets/taskview.py @@ -86,7 +86,8 @@ class TaskView(Widget, Accumulator): if i is None: i = self.pointer - self.fm.loader.remove(index=i) + if self.fm.loader.queue: + self.fm.loader.remove(index=i) def task_move(self, to, i=None): if i is None: -- cgit 1.4.1-2-gfad0