* src/Exporter.py: Fix EXPAND/FILL state of the chooser widget.

* src/DbPrompter.py (SaveAsDbPrompter): Remove class.


svn: r3271
This commit is contained in:
Alex Roitman
2004-07-13 13:47:37 +00:00
parent b0ee937576
commit 4d0e990880
3 changed files with 9 additions and 111 deletions

View File

@@ -315,6 +315,11 @@ class Exporter:
self.chooser = gtk.FileChooserWidget(gtk.FILE_CHOOSER_ACTION_SAVE)
p.append_item("",self.chooser,"")
# Dirty hack to enable proper EXPAND and FILL properties of the chooser
parent = self.chooser.get_parent()
parent.set_child_packing(self.chooser,1,1,0,gtk.PACK_START)
gradnparent = parent.get_parent()
gradnparent.set_child_packing(parent,1,1,0,gtk.PACK_START)
p.connect('prepare',self.suggest_filename)
return p