Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar

This commit is contained in:
Dan Williams 2007-05-11 18:41:39 -04:00
commit f13a49b08e
2 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,6 @@
VERSION=0.63 VERSION=0.63
DATE=`date +%Y%m%d` DATE=`date +%Y%m%d`
RELEASE=2.77 RELEASE=2.78
TARBALL=sugar-$VERSION-$RELEASE.${DATE}git.tar.bz2 TARBALL=sugar-$VERSION-$RELEASE.${DATE}git.tar.bz2
rm sugar-$VERSION.tar.bz2 rm sugar-$VERSION.tar.bz2

View File

@ -113,8 +113,9 @@ class SpreadBox(hippo.CanvasBox, hippo.CanvasItem):
self._layout_item(item) self._layout_item(item)
def remove_item(self, item): def remove_item(self, item):
info = item.get_data('item-info') if self._grid:
info.remove_weight(self._grid) info = item.get_data('item-info')
info.remove_weight(self._grid)
self.remove(item) self.remove(item)