diff --git a/sugar/graphics/filechooser.py b/sugar/graphics/filechooser.py index 8ebda652..19641262 100644 --- a/sugar/graphics/filechooser.py +++ b/sugar/graphics/filechooser.py @@ -5,6 +5,6 @@ from sugar.graphics import units class FileChooserDialog(gtk.FileChooserDialog): def __init__(self, title=None, parent=None, action=gtk.FILE_CHOOSER_ACTION_OPEN, buttons=None): - gtk.FileChooserDialog.__init__(self) - self.resize(units.points_to_pixels(7 * 40), - units.points_to_pixels(7 * 30)) + gtk.FileChooserDialog.__init__(self, title, parent, action, buttons) + self.set_default_size(units.points_to_pixels(7 * 40), + units.points_to_pixels(7 * 30)) diff --git a/tools/build-snapshot.sh b/tools/build-snapshot.sh index 13aaf82c..cf904bf4 100755 --- a/tools/build-snapshot.sh +++ b/tools/build-snapshot.sh @@ -1,6 +1,6 @@ VERSION=0.63 DATE=`date +%Y%m%d` -RELEASE=2.49 +RELEASE=2.52 TARBALL=sugar-$VERSION-$RELEASE.${DATE}git.tar.bz2 rm sugar-$VERSION.tar.bz2