fbeaf5fb66
This is temporary, gtk needs to be fixed.
11 lines
360 B
Python
11 lines
360 B
Python
import gtk
|
|
|
|
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))
|