diff options
author | Tomeu Vizoso <tomeu@sugarlabs.org> | 2009-02-20 14:44:24 (GMT) |
---|---|---|
committer | Tomeu Vizoso <tomeu@sugarlabs.org> | 2009-02-20 14:44:24 (GMT) |
commit | d5d8a5338a4f214a799bf437e207bce6fce80599 (patch) | |
tree | e7014d6fa1896a2604576fe9eb968375b485b6d7 /src/jarabe/desktop | |
parent | 3c0eca8f13bf6413577c78824037152ac37b0dbd (diff) |
Fix sorting of favorite icons by installation_time #387
Diffstat (limited to 'src/jarabe/desktop')
-rw-r--r-- | src/jarabe/desktop/favoriteslayout.py | 9 | ||||
-rw-r--r-- | src/jarabe/desktop/favoritesview.py | 2 |
2 files changed, 1 insertions, 10 deletions
diff --git a/src/jarabe/desktop/favoriteslayout.py b/src/jarabe/desktop/favoriteslayout.py index 010b344..4e00387 100644 --- a/src/jarabe/desktop/favoriteslayout.py +++ b/src/jarabe/desktop/favoriteslayout.py @@ -251,15 +251,6 @@ class RingLayout(FavoritesLayout): if child not in self._locked_children] return children_in_ring - def _update_icon_sizes(self): - # XXX: THIS METHOD IS NEVER CALLED - children_in_ring = self._get_children_in_ring() - radius_, icon_size = \ - self._calculate_radius_and_icon_size(len(children_in_ring)) - - for child in children_in_ring: - child.item.props.size = icon_size - def do_allocate(self, x, y, width, height, req_width, req_height, origin_changed): children_in_ring = self._get_children_in_ring() diff --git a/src/jarabe/desktop/favoritesview.py b/src/jarabe/desktop/favoritesview.py index 8ceaeeb..b126b65 100644 --- a/src/jarabe/desktop/favoritesview.py +++ b/src/jarabe/desktop/favoritesview.py @@ -565,7 +565,7 @@ class ActivityIcon(CanvasIcon): version = property(get_version, None) def _get_installation_time(self): - return self._activity_info.installation_time + return self._activity_info.get_installation_time() installation_time = property(_get_installation_time, None) def _get_fixed_position(self): |