Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco 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)
commit71b0a5dc56aa3884af1c25043230143696bb74ec (patch)
tree0bdb2de26e58e26626c6dd51439d857c543178d4
parentb45c810ca1263f797b387548fffa8ed4ee738490 (diff)
Actually pass buttons to the gtk file picker
-rw-r--r--sugar/graphics/filechooser.py6
-rwxr-xr-xtools/build-snapshot.sh2
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