Ticket #1427: sugar-1427.patch

File sugar-1427.patch, 1.0 KB (added by alsroot, 13 years ago)
  • src/jarabe/desktop/activitieslist.py

    From 35f840046357ec0f134d98db4747db6a9358be08 Mon Sep 17 00:00:00 2001
    From: Aleksey Lim <alsroot@member.fsf.org>
    Date: Fri, 25 Sep 2009 07:03:17 +0000
    Subject: Do no fail on system activities in Home view #1427
    
    ---
     src/jarabe/desktop/activitieslist.py |    4 ++--
     1 files changed, 2 insertions(+), 2 deletions(-)
    
    diff --git a/src/jarabe/desktop/activitieslist.py b/src/jarabe/desktop/activitieslist.py
    index 28fe729..87f2af0 100644
    a b class ActivityListPalette(ActivityPalette): 
    411411            self.menu.append(menu_item)
    412412            menu_item.show()
    413413
    414         if not os.access(activity_info.get_path(), os.W_OK):
    415             menu_item.props.sensitive = False
     414            if not os.access(activity_info.get_path(), os.W_OK):
     415                menu_item.props.sensitive = False
    416416
    417417        registry = bundleregistry.get_registry()
    418418        self._activity_changed_sid = registry.connect('bundle_changed',