Ticket #3403: 0001-Revert-Temporary-solution-to-SL-3403-SL-3561.patch

File 0001-Revert-Temporary-solution-to-SL-3403-SL-3561.patch, 1.6 KB (added by manuq, 12 years ago)

Revert workaround for Read

  • readdialog.py

    From efee1e17a422bd77ec1f02576bd58838f9be96d4 Mon Sep 17 00:00:00 2001
    From: =?UTF-8?q?Manuel=20Qui=C3=B1ones?= <manuq@laptop.org>
    Date: Wed, 20 Jun 2012 11:56:01 -0300
    Subject: [PATCH Read] Revert "Temporary solution to SL #3403" 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 reverts commit 0c4072cd9667222df883684ae26364c973c90773.  The
    style of the bookmarks screen was fixed in the theme, sugar-artwork
    commit 435294bf412220b8980884078035d6da87c2d1ac.
    
    Signed-off-by: Manuel Quiñones <manuq@laptop.org>
    ---
     readdialog.py |    6 +-----
     1 file changed, 1 insertion(+), 5 deletions(-)
    
    diff --git a/readdialog.py b/readdialog.py
    index e4081ef..b6366bf 100644
    a b class BaseReadDialog(Gtk.Window): 
    3535
    3636        self.toolbar = Gtk.Toolbar()
    3737        label = Gtk.Label()
    38         label.set_markup('<b><span foreground="#ffffff">  %s</span></b>' %
    39                 dialog_title)
     38        label.set_markup('<b>  %s</b>' % dialog_title)
    4039        label.set_alignment(0, 0.5)
    4140        tool_item = Gtk.ToolItem()
    4241        tool_item.add(label)
    class BaseReadDialog(Gtk.Window): 
    8281
    8382        self.modify_bg(Gtk.StateType.NORMAL,
    8483                            style.COLOR_WHITE.get_gdk_color())
    85         self.toolbar.modify_bg(Gtk.StateType.NORMAL,
    86                             style.COLOR_BLACK.get_gdk_color())
    87 
    8884
    8985        if self._canvas is not None:
    9086            self._canvas.modify_bg(Gtk.StateType.NORMAL,