diff options
author | hut <hut@lavabit.com> | 2010-01-01 22:18:31 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-01-01 22:18:31 +0100 |
commit | c193ba6923286a2bcad747521469526fc286fde3 (patch) | |
tree | 3fcea154aaeaa10f7e463c751ad122ea0eb67708 /ranger | |
parent | c0602b62bb3e097172e19f78a7429b8205acd799 (diff) | |
download | ranger-c193ba6923286a2bcad747521469526fc286fde3.tar.gz |
actions: adapted delete function to new notify system
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/actions.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ranger/actions.py b/ranger/actions.py index 597e2699..904ed626 100644 --- a/ranger/actions.py +++ b/ranger/actions.py @@ -386,7 +386,7 @@ class Actions(EnvironmentAware, SettingsAware): self.loader.add(LoadableObject(generate(), descr)) def delete(self): - msg = self.notify("Deleting ...", duration=0) + self.notify("Deleting ...", duration=0) selected = self.env.get_selection() self.env.copy -= selected if selected: @@ -401,7 +401,6 @@ class Actions(EnvironmentAware, SettingsAware): os.remove(f.path) except OSError as err: self.notify(str(err), bad=True) - msg.delete() def mkdir(self, name): try: |