[gnome-music] searchbar: Fix typo id instead of the intended id_



commit 8417d847d5756979d3bc03178b113a562e60d20e
Author: Juan José González <juanjosegzl gmail com>
Date:   Thu Apr 5 11:36:20 2018 -0400

    searchbar: Fix typo id instead of the intended id_

 gnomemusic/searchbar.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnomemusic/searchbar.py b/gnomemusic/searchbar.py
index eb95da7f..c80cea8c 100644
--- a/gnomemusic/searchbar.py
+++ b/gnomemusic/searchbar.py
@@ -277,7 +277,7 @@ class DropDown(Gtk.Revealer):
     def do_select(self, manager, id_):
         manager.active = id_
         if manager == self._source_manager:
-            self._search_filter.view.set_sensitive(id == 'grl-tracker-source')
+            self._search_filter.view.set_sensitive(id_ == 'grl-tracker-source')
             self.search_manager.active = (
                 'search_all' if id_ != 'grl-tracker-source' else '')
 


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