From a9f693859839e407d30ac254347e856d4bece56b Mon Sep 17 00:00:00 2001 From: hut Date: Tue, 6 Apr 2010 04:51:47 +0200 Subject: core.fm: bugfix --- ranger/core/fm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ranger/core/fm.py b/ranger/core/fm.py index 8337ba9b..25e66407 100644 --- a/ranger/core/fm.py +++ b/ranger/core/fm.py @@ -54,8 +54,6 @@ class FM(Actions, SignalDispatcher): self._executables = None self.apps = self.settings.apps.CustomApplications() - self.env.signal_bind('cd', self._update_current_tab) - def mylogfunc(text): self.notify(text, bad=True) self.run = Runner(ui=self.ui, apps=self.apps, @@ -101,6 +99,8 @@ class FM(Actions, SignalDispatcher): self.ui = DefaultUI() self.ui.initialize() + self.env.signal_bind('cd', self._update_current_tab) + def block_input(self, sec=0): self.input_blocked = sec != 0 self.input_blocked_until = time() + sec -- cgit 1.4.1-2-gfad0