Actually pass buttons to the gtk file picker

This commit is contained in:
Marco Pesenti Gritti 2007-03-16 10:48:40 +01:00
parent b45c810ca1
commit 71b0a5dc56
2 changed files with 4 additions and 4 deletions

View File

@ -5,6 +5,6 @@ from sugar.graphics import units
class FileChooserDialog(gtk.FileChooserDialog): class FileChooserDialog(gtk.FileChooserDialog):
def __init__(self, title=None, parent=None, def __init__(self, title=None, parent=None,
action=gtk.FILE_CHOOSER_ACTION_OPEN, buttons=None): action=gtk.FILE_CHOOSER_ACTION_OPEN, buttons=None):
gtk.FileChooserDialog.__init__(self) gtk.FileChooserDialog.__init__(self, title, parent, action, buttons)
self.resize(units.points_to_pixels(7 * 40), self.set_default_size(units.points_to_pixels(7 * 40),
units.points_to_pixels(7 * 30)) units.points_to_pixels(7 * 30))

View File

@ -1,6 +1,6 @@
VERSION=0.63 VERSION=0.63
DATE=`date +%Y%m%d` DATE=`date +%Y%m%d`
RELEASE=2.49 RELEASE=2.52
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