From 9b2de75f3289c7a0281cc48bf55248b0ac174a55 Mon Sep 17 00:00:00 2001 From: hut Date: Mon, 17 Oct 2011 17:22:38 +0200 Subject: emit a signal when a directory finishes loading content --- ranger/fsobject/directory.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ranger/fsobject/directory.py b/ranger/fsobject/directory.py index 9cfbb6c0..b3a35a0a 100644 --- a/ranger/fsobject/directory.py +++ b/ranger/fsobject/directory.py @@ -255,6 +255,7 @@ class Directory(FileSystemObject, Accumulator, Loadable, SettingsAware): finally: self.loading = False + self.fm.signal_emit("finished_loading_dir", directory=self) def unload(self): self.loading = False -- cgit 1.4.1-2-gfad0