[gnome-music] widgets: Checkbutton appearance patch on AlbumWidget



commit 8ea61f6f032ea8b2e397b539a4d77e30668a3d38
Author: Saiful B. Khan <saifulbkhan gmail com>
Date:   Mon Feb 1 23:53:09 2016 +0530

    widgets: Checkbutton appearance patch on AlbumWidget
    
    The Album view which suffered the same problem of overlaid small
    checkbuttons have now been fixed by removing the 'view' class
    (removal does not affect the list's appearance in any way) from
    the MainViewList object which contains renderred song elements.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=760170

 gnomemusic/widgets.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gnomemusic/widgets.py b/gnomemusic/widgets.py
index a86220e..03673c9 100644
--- a/gnomemusic/widgets.py
+++ b/gnomemusic/widgets.py
@@ -140,6 +140,7 @@ class AlbumWidget(Gtk.EventBox):
         self._add_list_renderers()
         self.get_style_context().add_class('view')
         self.get_style_context().add_class('content-view')
+        self.view.get_generic_view().get_style_context().remove_class('view')
         self.show_all()
 
     @log


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