[gnome-music] searchbar: hide dropdown when entry has changed



commit 19026cf1ea5c66db63eb0a597a28a4665efa15e6
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date:   Mon May 12 11:16:59 2014 +0200

    searchbar: hide dropdown when entry has changed

 gnomemusic/searchbar.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gnomemusic/searchbar.py b/gnomemusic/searchbar.py
index b4af552..113173a 100644
--- a/gnomemusic/searchbar.py
+++ b/gnomemusic/searchbar.py
@@ -266,6 +266,9 @@ class Searchbar(Gd.Revealer):
             stack.set_visible_child(view)
         view.set_search_text(search_term, fields_filter)
 
+        self._dropDownButton.set_active(False)
+        self.dropdown.set_reveal_child(False)
+
         return False
 
     @log


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