Blob Blame History Raw
From 45fa3ec7c26a5476576cde46cf33b8ed7f8ccae9 Mon Sep 17 00:00:00 2001
From: Matej Habrnal <mhabrnal@redhat.com>
Date: Mon, 27 Apr 2015 10:33:20 +0200
Subject: [PATCH] Let the theme handle the colour in the problems list

It didn't work well with the dark theme so we had to use own colour but
now the default colour works as expected in all themes and our colour
causes problems.

Related to rhbz#1193656

Signed-off-by: Matej Habrnal <mhabrnal@redhat.com>
---
 src/gnome_abrt/views.py | 13 +------------
 1 file changed, 1 insertion(+), 12 deletions(-)

diff --git a/src/gnome_abrt/views.py b/src/gnome_abrt/views.py
index 2a576de..d3e2c76 100644
--- a/src/gnome_abrt/views.py
+++ b/src/gnome_abrt/views.py
@@ -417,22 +417,11 @@ class OopsWindow(Gtk.ApplicationWindow):
 
         #pylint: disable=E1120
         css_prv = Gtk.CssProvider.new()
-        css_prv.load_from_data("GtkViewport {\n"
-                               "  background-color : @theme_bg_color;\n"
-                               "}\n"
-                               "GtkListBox {\n"
-                               "  background-color : #e7e7e7;\n"
-                               "}\n"
-                               "GtkListBoxRow {\n"
+        css_prv.load_from_data("GtkListBoxRow {\n"
                                "  padding          : 12px;\n"
-                               "  background-color : #e7e7e7;\n"
                                "  border-width     : 0px 0px 2px 0px;\n"
-                               "  border-color     : #efefef;\n"
                                "  border-style     : outset;\n"
                                "}\n"
-                               "GtkListBoxRow:selected {\n"
-                               "  background-color : #4a90d9;\n"
-                               "}\n"
                                ".oops-reason {\n"
                                "  font-size        : 120%;\n"
                                "  font-weight      : bold;\n"
-- 
2.1.0