Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu@sugarlabs.org>2009-05-13 19:09:47 (GMT)
committer Tomeu Vizoso <tomeu@sugarlabs.org>2009-05-13 19:09:47 (GMT)
commit91b743d702a41ca4b747664561dc42c7af20e0ae (patch)
tree99a84feb2be273825454b579801de095aeb78e38
parent658dcc126679e9e091d717679c0521557f2e6d4b (diff)
DisableCanvasBox.sort for now
-rw-r--r--src/jarabe/desktop/favoritesview.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/jarabe/desktop/favoritesview.py b/src/jarabe/desktop/favoritesview.py
index 74a6e20..18cbd9a 100644
--- a/src/jarabe/desktop/favoritesview.py
+++ b/src/jarabe/desktop/favoritesview.py
@@ -291,10 +291,8 @@ class FavoritesView(hippo.Canvas):
self._layout = LAYOUT_MAP[layout]()
self._box.set_layout(self._layout)
- #TODO: compatibility hack while sort() gets added to the hippo python
- # bindings
- if hasattr(self._box, 'sort'):
- self._box.sort(self._layout.compare_activities)
+ # TODO: Enable again when we support callbacks
+ #self._box.sort(self._layout.compare_activities)
for icon in self._box.get_children():
if icon not in [self._my_icon, self._current_activity]: