From 297b8ce65a86bc9c699b4dd6f432dad29803a346 Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Wed, 27 Jun 2007 22:31:09 +0000 Subject: [PATCH] do search on enter --- plugins/TorrentSearch/plugin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/TorrentSearch/plugin.py b/plugins/TorrentSearch/plugin.py index db2388aa8..34d610ad7 100644 --- a/plugins/TorrentSearch/plugin.py +++ b/plugins/TorrentSearch/plugin.py @@ -35,6 +35,7 @@ class plugin_Search: self.toolbar = self.interface.wtree.get_widget("tb_right") self.engines = deluge.pref.Preferences(self.conf_file, False) self.search_entry = gtk.Entry() + self.search_entry.connect("activate", self.torrent_search) self.search_item = gtk.ToolItem() self.search_item.add(self.search_entry) self.search_icon = gtk.Image()