[gnome-music] Don't search immideately - wait for 0.5 second



commit 6cc6038e24bc5d4ed2b619d0e92e25e0a23881aa
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date:   Tue Apr 8 12:38:46 2014 +0200

    Don't search immideately - wait for 0.5 second

 gnomemusic/searchbar.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnomemusic/searchbar.py b/gnomemusic/searchbar.py
index 6e580ca..cd44af3 100644
--- a/gnomemusic/searchbar.py
+++ b/gnomemusic/searchbar.py
@@ -170,7 +170,7 @@ class Searchbar(Gd.Revealer):
         self._searchContainer.get_style_context().add_class('linked')
 
         self._search_entry = Gd.TaggedEntry(width_request=500, halign=Gtk.Align.CENTER)
-        self._search_entry.connect("changed", self.search_entry_changed)
+        self._search_entry.connect("changed", self.search_entry_timeout)
         self._search_entry.show()
         self.connect("notify::child-revealed", self.prepare_search_filter)
         self._searchContainer.add(self._search_entry)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]