Ticket #1247: sugar-1247.2.patch

File sugar-1247.2.patch, 1.7 KB (added by alsroot, 12 years ago)
  • src/jarabe/desktop/activitieslist.py

    From 569bf1d6f3474a961417e0fdf7f0fb1b92ea933a Mon Sep 17 00:00:00 2001
    From: Aleksey Lim <alsroot@member.fsf.org>
    Date: Mon, 7 Sep 2009 10:16:03 +0000
    Subject: Show selecting status of favorite check box in journal list view even if "start" is prelighted #1247
    
    ---
     src/jarabe/desktop/activitieslist.py |    3 +--
     src/jarabe/journal/listview.py       |    3 +--
     2 files changed, 2 insertions(+), 4 deletions(-)
    
    diff --git a/src/jarabe/desktop/activitieslist.py b/src/jarabe/desktop/activitieslist.py
    index 66e2870..624c48b 100644
    a b class ActivitiesTreeView(gtk.TreeView): 
    125125            color = XoColor(client.get_string('/desktop/sugar/user/color'))
    126126            cell.props.xo_color = color
    127127        else:
    128             cell.props.stroke_color = style.COLOR_BUTTON_GREY.get_svg()
    129             cell.props.fill_color = style.COLOR_WHITE.get_svg()
     128            cell.props.xo_color = None
    130129
    131130    def __favorite_clicked_cb(self, cell, path):
    132131        row = self.get_model()[path]
  • src/jarabe/journal/listview.py

    diff --git a/src/jarabe/journal/listview.py b/src/jarabe/journal/listview.py
    index badeb24..9d69419 100644
    a b class BaseListView(gtk.Bin): 
    258258            color = XoColor(client.get_string('/desktop/sugar/user/color'))
    259259            cell.props.xo_color = color
    260260        else:
    261             cell.props.stroke_color = style.COLOR_BUTTON_GREY.get_svg()
    262             cell.props.fill_color = style.COLOR_WHITE.get_svg()
     261            cell.props.xo_color = None
    263262
    264263    def __favorite_clicked_cb(self, cell, path):
    265264        row = self._model[path]