[gnome-music] searchbar: restart search when we're changing source / match



commit 935290dc3cea7cc6747452dcc33b885711952fa7
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date:   Mon May 12 11:17:31 2014 +0200

    searchbar: restart search when we're changing source / match

 gnomemusic/searchbar.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gnomemusic/searchbar.py b/gnomemusic/searchbar.py
index 113173a..b10c9b6 100644
--- a/gnomemusic/searchbar.py
+++ b/gnomemusic/searchbar.py
@@ -139,6 +139,9 @@ class FilterView():
         id = self.model.get_value(self.model.get_iter(path), BaseModelColumns.ID)
         self.dropdown.do_select(self.manager, id)
 
+        if (self.manager.entry.get_text() != ''):
+            self.manager.entry.emit('changed')
+
     @log
     def _render_radio(self, col, cell, model, _iter):
         id = model.get_value(_iter, BaseModelColumns.ID)


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