From 3e9563b38e4ed56f080a1ed186a7a330995ce2d6 Mon Sep 17 00:00:00 2001 From: Manuel QuiƱones Date: Tue, 19 Nov 2013 11:53:40 +0000 Subject: Clear URL entry when Escape is pressed Fixes #3954. Patch provided by Sai Vineet --- diff --git a/webtoolbar.py b/webtoolbar.py index b6ad558..2fb98f5 100644 --- a/webtoolbar.py +++ b/webtoolbar.py @@ -231,6 +231,7 @@ class WebEntry(iconentry.IconEntry): return True elif keyname == 'Escape': self._search_window.hide() + self.props.text = '' return True return False -- cgit v0.9.1