[gnome-music] searchbar: fixes a pango critical warning



commit dc8dbd8ce7b0d88bc4b13ac7d50fd54d32fe13e8
Author: Marinus Schraal <fosero gmail com>
Date:   Fri Feb 12 11:21:00 2016 -0200

    searchbar: fixes a pango critical warning
    
    https://bugzilla.gnome.org/show_bug.cgi?id=761941

 gnomemusic/searchbar.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnomemusic/searchbar.py b/gnomemusic/searchbar.py
index c3ab3ce..9f0fe48 100644
--- a/gnomemusic/searchbar.py
+++ b/gnomemusic/searchbar.py
@@ -87,8 +87,8 @@ class BaseManager:
             # No need to set the tag there
             if (selected_value[BaseModelColumns.ID] != 'search_all' and
                     selected_value[BaseModelColumns.ID] != 'grl-tracker-source'):
-                self.entry.add_tag(self.tag)
                 self.tag.set_label(selected_value[BaseModelColumns.NAME])
+                self.entry.add_tag(self.tag)
             else:
                 self.entry.remove_tag(self.tag)
 


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