Ticket #3962: 0001-Set-background-color-to-GtkTreeView-SL-3962.patch

File 0001-Set-background-color-to-GtkTreeView-SL-3962.patch, 1.1 KB (added by manuq, 7 years ago)

Candidate patch.

  • gtk3/theme/gtk-widgets.css.em

    From 99500c05753d2772c7f31dd3576a064e5f997f00 Mon Sep 17 00:00:00 2001
    From: =?UTF-8?q?Manuel=20Qui=C3=B1ones?= <manuq@laptop.org>
    Date: Wed, 26 Sep 2012 16:54:42 -0300
    Subject: [PATCH sugar-artwork] Set background color to GtkTreeView - SL #3962
    MIME-Version: 1.0
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: 8bit
    Mail-Followup-To: <sugar-devel@lists.sugarlabs.org>
    
    This makes the treeview header get the same style as in GTK+2.  The
    background is the same color as the header button, so looks a
    rectagular area.  And a white round border is visible when the button
    is active.
    
    Signed-off-by: Manuel Quiñones <manuq@laptop.org>
    ---
     gtk3/theme/gtk-widgets.css.em | 4 ++++
     1 file changed, 4 insertions(+)
    
    diff --git a/gtk3/theme/gtk-widgets.css.em b/gtk3/theme/gtk-widgets.css.em
    index 062acbe..8421c1c 100644
    a b GtkToggleButton.button:active { 
    214214    color: @black;
    215215}
    216216
     217GtkTreeView {
     218    background-color: @button_grey;
     219}
     220
    217221GtkTreeView row:nth-child(even) {
    218222    background-color: @row_even;
    219223}