Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWalter Bender <walter.bender@gmail.com>2011-07-11 17:59:06 (GMT)
committer Walter Bender <walter.bender@gmail.com>2011-07-11 17:59:06 (GMT)
commit358459cf6f602a886defda76320e125387811ccf (patch)
tree57982d5a1720ceda0c1287c7eafcc1125c3007f2
parent2de3071183a20cc1fcfe53dc1ef325cdc4e95fe0 (diff)
missed a few references to hippo's _box
-rw-r--r--src/jarabe/desktop/favoritesview.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/jarabe/desktop/favoritesview.py b/src/jarabe/desktop/favoritesview.py
index f5797d8..a4af37a 100644
--- a/src/jarabe/desktop/favoritesview.py
+++ b/src/jarabe/desktop/favoritesview.py
@@ -1,5 +1,7 @@
# Copyright (C) 2006-2007 Red Hat, Inc.
# Copyright (C) 2008 One Laptop Per Child
+# Copyright (C) 2010 Tomeu Vizoso
+# Copyright (C) 2011 Walter Bender
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -274,7 +276,7 @@ class FavoritesView(FavoritesContainer):
self._add_activity(activity_info)
def _find_activity_icon(self, bundle_id, version):
- for icon in self._box.get_children():
+ for icon in self.get_children():
if isinstance(icon, ActivityIcon) and \
icon.bundle_id == bundle_id and icon.version == version:
return icon
@@ -285,7 +287,7 @@ class FavoritesView(FavoritesContainer):
activity_info.get_activity_version())
if icon is not None:
self._layout.remove(icon)
- self._box.remove(icon)
+ self.remove(icon)
def __activity_changed_cb(self, activity_registry, activity_info):
if activity_info.get_bundle_id() == 'org.laptop.JournalActivity':