Ticket #3561: 0002-Theme-ScrolledWindow-frame-SL-3561.patch

File 0002-Theme-ScrolledWindow-frame-SL-3561.patch, 1.2 KB (added by manuq, 12 years ago)
  • gtk3/theme/gtk-widgets.css.em

    From d22b70d1ffe7332c3b29891c38fc9e72cd39be00 Mon Sep 17 00:00:00 2001
    From: =?UTF-8?q?Manuel=20Qui=C3=B1ones?= <manuq@laptop.org>
    Date: Tue, 12 Jun 2012 23:42:24 -0300
    Subject: [PATCH sugar-artwork 2/2] Theme ScrolledWindow frame - SL #3561
    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 a border (the frame) visible around a ScrolledWindow, when
    it is set via ScrolledWindow.set_shadow_type(Gtk.ShadowType).  If it's
    not set, the result is the same as without this patch.
    
    Signed-off-by: Manuel Quiñones <manuq@laptop.org>
    ---
     gtk3/theme/gtk-widgets.css.em |   10 ++++++++++
     1 file changed, 10 insertions(+)
    
    diff --git a/gtk3/theme/gtk-widgets.css.em b/gtk3/theme/gtk-widgets.css.em
    index f31b64e..2a5e34a 100644
    a b GtkToggleButton.button:active GtkLabel { 
    252252    color: @black;
    253253}
    254254
     255/* Frames */
     256
     257GtkScrolledWindow.frame {
     258    border-style: solid;
     259    border-color: @selection_grey;
     260    border-width: $(thickness)px;
     261    border-radius: 0;
     262    padding: 0;
     263}
     264
    255265/* Combo boxes */
    256266
    257267GtkComboBox * {