2008-03-09 Douglas S. Blank <dblank@cs.brynmawr.edu>

* src/ReportBase/_WebReportDialog.py:
	* src/ReportBase/_ReportDialog.py:
	* src/ReportBase/_GraphvizReportDialog.py:
	* src/ReportBase/_DocReportDialog.py:
	* src/ReportBase/_BareReportDialog.py:
	0001814: Applied patch to move print options below option tabs



svn: r10240
This commit is contained in:
Doug Blank
2008-03-09 19:39:56 +00:00
parent 1be88088cb
commit 6ab09e3d39
6 changed files with 67 additions and 52 deletions

View File

@@ -49,6 +49,7 @@ import BaseDoc
import Config
from _Constants import CATEGORY_GRAPHVIZ
from _ReportDialog import ReportDialog
from _FileEntry import FileEntry
from _PaperMenu import PaperFrame
from PluginUtils import NumberOption, EnumeratedListOption, TextOption
@@ -853,21 +854,20 @@ class GraphvizReportDialog(ReportDialog):
def setup_format_frame(self):
"""Set up the format frame of the dialog."""
self.print_report = gtk.CheckButton (_("Open with application"))
self.tbl.attach(self.print_report,2,4,self.col,self.col+1,
yoptions=gtk.SHRINK)
self.col += 1
self.format_menu = GraphvizFormatComboBox()
self.format_menu.set(self.options.handler.get_format_name())
self.format_menu.connect('changed',self.doc_type_changed)
label = gtk.Label("%s:" % _("Output Format"))
label.set_alignment(0.0,0.5)
self.tbl.attach(label,1,2,self.col,self.col+1,gtk.SHRINK|gtk.FILL)
self.tbl.attach(self.format_menu,2,4,self.col,self.col+1,
self.tbl.attach(label,1,2,self.row,self.row+1,gtk.SHRINK|gtk.FILL)
self.tbl.attach(self.format_menu,2,4,self.row,self.row+1,
yoptions=gtk.SHRINK)
self.col += 1
self.row += 1
self.print_report = gtk.CheckButton (_("Open with application"))
self.tbl.attach(self.print_report,2,4,self.row,self.row+1,
yoptions=gtk.SHRINK)
self.row += 1
ext = self.format_menu.get_ext()
if ext == None: