Ticket #3956: 0002-Journal-details-view-add-CSS-class-to-the-preview-bo.patch

File 0002-Journal-details-view-add-CSS-class-to-the-preview-bo.patch, 1.1 KB (added by manuq, 12 years ago)

Shell patch to get back the border in the preview box.

  • src/jarabe/journal/expandedentry.py

    From 1f160f624abec6cf741291e5a5b5e1d124158467 Mon Sep 17 00:00:00 2001
    From: =?UTF-8?q?Manuel=20Qui=C3=B1ones?= <manuq@laptop.org>
    Date: Fri, 26 Oct 2012 16:54:29 -0300
    Subject: [PATCH shell 2/2] Journal details view: add CSS class to the preview
     box in order to style it - SL #3956
    MIME-Version: 1.0
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: 8bit
    Mail-Followup-To: <sugar-devel@lists.sugarlabs.org>
    
    Signed-off-by: Manuel Quiñones <manuq@laptop.org>
    ---
     src/jarabe/journal/expandedentry.py | 2 ++
     1 file changed, 2 insertions(+)
    
    diff --git a/src/jarabe/journal/expandedentry.py b/src/jarabe/journal/expandedentry.py
    index 19e8144..bf34632 100644
    a b class ExpandedEntry(Gtk.EventBox): 
    109109
    110110        # First body column
    111111        self._preview_box = Gtk.Frame()
     112        style_context = self._preview_box.get_style_context()
     113        style_context.add_class('journal-preview-box')
    112114        first_column.pack_start(self._preview_box, False, True, 0)
    113115
    114116        self._technical_box = Gtk.VBox()