mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-16 06:17:50 +00:00
do search on enter
This commit is contained in:
parent
b375ede4d0
commit
297b8ce65a
@ -35,6 +35,7 @@ class plugin_Search:
|
|||||||
self.toolbar = self.interface.wtree.get_widget("tb_right")
|
self.toolbar = self.interface.wtree.get_widget("tb_right")
|
||||||
self.engines = deluge.pref.Preferences(self.conf_file, False)
|
self.engines = deluge.pref.Preferences(self.conf_file, False)
|
||||||
self.search_entry = gtk.Entry()
|
self.search_entry = gtk.Entry()
|
||||||
|
self.search_entry.connect("activate", self.torrent_search)
|
||||||
self.search_item = gtk.ToolItem()
|
self.search_item = gtk.ToolItem()
|
||||||
self.search_item.add(self.search_entry)
|
self.search_item.add(self.search_entry)
|
||||||
self.search_icon = gtk.Image()
|
self.search_icon = gtk.Image()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user