diff options
author | Marco Pesenti Gritti <mpg@redhat.com> | 2007-03-16 09:48:40 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <mpg@redhat.com> | 2007-03-16 09:48:40 (GMT) |
commit | 71b0a5dc56aa3884af1c25043230143696bb74ec (patch) | |
tree | 0bdb2de26e58e26626c6dd51439d857c543178d4 | |
parent | b45c810ca1263f797b387548fffa8ed4ee738490 (diff) |
Actually pass buttons to the gtk file picker
-rw-r--r-- | sugar/graphics/filechooser.py | 6 | ||||
-rwxr-xr-x | tools/build-snapshot.sh | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sugar/graphics/filechooser.py b/sugar/graphics/filechooser.py index 8ebda65..1964126 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 13aaf82..cf904bf 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 |