[gnome-music/freeze-break: 2/107] Fix position of searchbar to appear on the top



commit 15d5830afe2a3e4fefe9745ed7af42a106385ccf
Author: Seif Lotfy <seif lotfy com>
Date:   Mon Aug 5 11:33:36 2013 +0200

    Fix position of searchbar to appear on the top

 gnomemusic/searchbar.py |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/gnomemusic/searchbar.py b/gnomemusic/searchbar.py
index 8df5a5c..92dc18d 100644
--- a/gnomemusic/searchbar.py
+++ b/gnomemusic/searchbar.py
@@ -41,8 +41,9 @@ class Searchbar(Gtk.SearchBar):
     def _on_item_activated(self):
         self.emit('item-activated')
 
-    def search_entry_changed(self):
-        self.search_term = self._searchEntry.text;
-        if self.view:
-            self.view.filter.refilter()
+    def search_entry_changed(self, widget):
+        #print (widget)
+        self.search_term = self._search_entry.get_text();
+        #if self.view:
+        #    self.view.filter.refilter()
 


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