[accerciser/gnome-3-32] Fix background color of relations



commit cca8d533a856e5f557c8c8dfc5ca1c776d4c2cf6
Author: Samuel Thibault <samuel thibault ens-lyon org>
Date:   Fri May 17 15:07:04 2019 +0200

    Fix background color of relations
    
    (cherry picked from commit 664f2c7c08b2d61947f0e2fac90a47caffee3bb7)

 plugins/interface_view.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/plugins/interface_view.py b/plugins/interface_view.py
index 7a65364..bad2a80 100644
--- a/plugins/interface_view.py
+++ b/plugins/interface_view.py
@@ -318,7 +318,7 @@ class _SectionAccessible(_InterfaceSection):
     # preset the different bg colors
     style = self.relations_view.get_style_context()
     self.header_bg = style.get_background_color(gtk.StateFlags.NORMAL).to_string()
-    self.relation_bg = style.get_color(gtk.StateFlags.NORMAL).to_string()
+    self.relation_bg = style.get_background_color(gtk.StateFlags.NORMAL).to_string()
 
     selection = self.relations_view.get_selection()
     selection.set_select_function(self._relationSelectFunc, None)


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