Actually pass buttons to the gtk file picker
This commit is contained in:
parent
b45c810ca1
commit
71b0a5dc56
@ -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))
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user