about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-01-01 22:18:31 +0100
committerhut <hut@lavabit.com>2010-01-01 22:18:31 +0100
commitc193ba6923286a2bcad747521469526fc286fde3 (patch)
tree3fcea154aaeaa10f7e463c751ad122ea0eb67708
parentc0602b62bb3e097172e19f78a7429b8205acd799 (diff)
downloadranger-c193ba6923286a2bcad747521469526fc286fde3.tar.gz
actions: adapted delete function to new notify system
-rw-r--r--ranger/actions.py3
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: