Ticket #3956: 0001-Get-back-grey-border-to-the-frame-that-contains-the-.patch

File 0001-Get-back-grey-border-to-the-frame-that-contains-the-.patch, 1.2 KB (added by manuq, 11 years ago)

Artwork patch to get back the border in preview box.

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

    From c1f82afb8f7c2396c80a3bd89d6cd71e078c0bcf Mon Sep 17 00:00:00 2001
    From: =?UTF-8?q?Manuel=20Qui=C3=B1ones?= <manuq@laptop.org>
    Date: Fri, 26 Oct 2012 16:56:34 -0300
    Subject: [PATCH artwork] Get back grey border to the frame that contains the
     preview image in Journal Details view - SL #3941
    MIME-Version: 1.0
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: 8bit
    Mail-Followup-To: <sugar-devel@lists.sugarlabs.org>
    
    Now done using a custom CSS class, previusly was done in the code of
    hippocanvas.  See the changes in _create_preview in
    jarabe/journal/expandedentry.py in shell commit d9fbf9db.
    
    Signed-off-by: Manuel Quiñones <manuq@laptop.org>
    ---
     gtk3/theme/gtk-widgets.css.em | 6 ++++++
     1 file changed, 6 insertions(+)
    
    diff --git a/gtk3/theme/gtk-widgets.css.em b/gtk3/theme/gtk-widgets.css.em
    index 0e073d4..1e147ce 100644
    a b GtkScrolledWindow.frame { 
    295295    padding: $(default_padding)px;
    296296}
    297297
     298GtkFrame.frame.journal-preview-box {
     299    border-style: solid;
     300    border-color: @button_grey;
     301    border-width: $(thickness)px;
     302}
     303
    298304/* Combo boxes */
    299305
    300306GtkComboBox {